@maioradv/cms-basic-lib 1.7.0 → 1.7.2
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 +4 -4
- package/dist/apitokens/graphql.js +38 -38
- package/dist/bundles/graphql.js +75 -75
- package/dist/collections/graphql.js +80 -80
- package/dist/collections/types.d.ts +1 -0
- package/dist/configs/graphql.js +69 -69
- package/dist/images/graphql.js +26 -26
- package/dist/languages/graphql.js +35 -35
- package/dist/popups/graphql.js +37 -37
- package/dist/productAttributes/graphql.js +72 -72
- package/dist/products/graphql.js +69 -69
- package/dist/reservations/graphql.js +66 -66
- package/dist/reservations/types.d.ts +3 -1
- package/dist/reservations/types.js +2 -0
- package/dist/roles/graphql.js +48 -48
- package/dist/settings/graphql.js +33 -33
- package/package.json +30 -30
- package/dist/configs/services/ti-delizio.config.d.ts +0 -25
- package/dist/configs/services/ti-delizio.config.js +0 -9
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Maior Basic CMS Api - Library JS/TS
|
|
2
|
-
|
|
3
|
-
```bash
|
|
4
|
-
yarn add @maioradv/cms-basic-lib
|
|
1
|
+
# Maior Basic CMS Api - Library JS/TS
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
yarn add @maioradv/cms-basic-lib
|
|
5
5
|
```
|
|
@@ -5,54 +5,54 @@ exports.ApiTokensResolvers = {
|
|
|
5
5
|
query: {
|
|
6
6
|
apiTokens: {
|
|
7
7
|
name: 'apiTokens',
|
|
8
|
-
query: `query ApiTokenList($limit: Int, $after: Int, $before: Int, $sorting: String){
|
|
9
|
-
apiTokens(limit: $limit, after: $after, before: $before, sorting: $sorting){
|
|
10
|
-
edges {
|
|
11
|
-
node {
|
|
12
|
-
id
|
|
13
|
-
}
|
|
14
|
-
cursor
|
|
15
|
-
}
|
|
16
|
-
nodes {
|
|
17
|
-
id
|
|
18
|
-
name
|
|
19
|
-
uuid
|
|
20
|
-
permissions
|
|
21
|
-
readOnly
|
|
22
|
-
createdAt
|
|
23
|
-
updatedAt
|
|
24
|
-
}
|
|
25
|
-
meta {
|
|
26
|
-
startCursor
|
|
27
|
-
endCursor
|
|
28
|
-
hasNextPage
|
|
29
|
-
hasPreviousPage
|
|
30
|
-
}
|
|
31
|
-
}
|
|
8
|
+
query: `query ApiTokenList($limit: Int, $after: Int, $before: Int, $sorting: String){
|
|
9
|
+
apiTokens(limit: $limit, after: $after, before: $before, sorting: $sorting){
|
|
10
|
+
edges {
|
|
11
|
+
node {
|
|
12
|
+
id
|
|
13
|
+
}
|
|
14
|
+
cursor
|
|
15
|
+
}
|
|
16
|
+
nodes {
|
|
17
|
+
id
|
|
18
|
+
name
|
|
19
|
+
uuid
|
|
20
|
+
permissions
|
|
21
|
+
readOnly
|
|
22
|
+
createdAt
|
|
23
|
+
updatedAt
|
|
24
|
+
}
|
|
25
|
+
meta {
|
|
26
|
+
startCursor
|
|
27
|
+
endCursor
|
|
28
|
+
hasNextPage
|
|
29
|
+
hasPreviousPage
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
32
|
}`,
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
mutation: {
|
|
36
36
|
removeApiTokens: {
|
|
37
37
|
name: 'removeApiTokens',
|
|
38
|
-
query: `mutation ApiTokenDelete($id: [Int!]!){
|
|
39
|
-
removeApiTokens(id: $id) {
|
|
40
|
-
count
|
|
41
|
-
}
|
|
38
|
+
query: `mutation ApiTokenDelete($id: [Int!]!){
|
|
39
|
+
removeApiTokens(id: $id) {
|
|
40
|
+
count
|
|
41
|
+
}
|
|
42
42
|
}`,
|
|
43
43
|
},
|
|
44
44
|
syncPermissionsApiTokens: {
|
|
45
45
|
name: 'syncPermissionsApiTokens',
|
|
46
|
-
query: `mutation ApiTokenSyncPermissions {
|
|
47
|
-
syncPermissionsApiTokens {
|
|
48
|
-
id
|
|
49
|
-
name
|
|
50
|
-
uuid
|
|
51
|
-
permissions
|
|
52
|
-
readOnly
|
|
53
|
-
createdAt
|
|
54
|
-
updatedAt
|
|
55
|
-
}
|
|
46
|
+
query: `mutation ApiTokenSyncPermissions {
|
|
47
|
+
syncPermissionsApiTokens {
|
|
48
|
+
id
|
|
49
|
+
name
|
|
50
|
+
uuid
|
|
51
|
+
permissions
|
|
52
|
+
readOnly
|
|
53
|
+
createdAt
|
|
54
|
+
updatedAt
|
|
55
|
+
}
|
|
56
56
|
}`,
|
|
57
57
|
},
|
|
58
58
|
}
|
package/dist/bundles/graphql.js
CHANGED
|
@@ -5,91 +5,91 @@ exports.BundlesResolvers = {
|
|
|
5
5
|
query: {
|
|
6
6
|
bundles: {
|
|
7
7
|
name: 'bundles',
|
|
8
|
-
query: `query BundleList($limit: Int, $after: Int, $before: Int, $collectionId: Int, $sorting: String){
|
|
9
|
-
bundles(limit: $limit, after: $after, before: $before, collectionId: $collectionId, sorting: $sorting){
|
|
10
|
-
edges {
|
|
11
|
-
node {
|
|
12
|
-
id
|
|
13
|
-
}
|
|
14
|
-
cursor
|
|
15
|
-
}
|
|
16
|
-
nodes {
|
|
17
|
-
id
|
|
18
|
-
slug
|
|
19
|
-
title
|
|
20
|
-
subtitle
|
|
21
|
-
description
|
|
22
|
-
tags
|
|
23
|
-
BundleVariant {
|
|
24
|
-
id
|
|
25
|
-
title
|
|
26
|
-
subtitle
|
|
27
|
-
description
|
|
28
|
-
translations {
|
|
29
|
-
key
|
|
30
|
-
locale
|
|
31
|
-
value
|
|
32
|
-
}
|
|
33
|
-
metafields {
|
|
34
|
-
key
|
|
35
|
-
value
|
|
36
|
-
}
|
|
37
|
-
price
|
|
38
|
-
fullPrice
|
|
39
|
-
bundleId
|
|
40
|
-
published
|
|
41
|
-
createdAt
|
|
42
|
-
updatedAt
|
|
43
|
-
}
|
|
44
|
-
BundleProduct {
|
|
45
|
-
bundleId
|
|
46
|
-
productId
|
|
47
|
-
position
|
|
48
|
-
createdAt
|
|
49
|
-
updatedAt
|
|
50
|
-
}
|
|
51
|
-
translations {
|
|
52
|
-
key
|
|
53
|
-
locale
|
|
54
|
-
value
|
|
55
|
-
}
|
|
56
|
-
metafields {
|
|
57
|
-
key
|
|
58
|
-
value
|
|
59
|
-
}
|
|
60
|
-
published
|
|
61
|
-
createdAt
|
|
62
|
-
updatedAt
|
|
63
|
-
}
|
|
64
|
-
meta {
|
|
65
|
-
startCursor
|
|
66
|
-
endCursor
|
|
67
|
-
hasNextPage
|
|
68
|
-
hasPreviousPage
|
|
69
|
-
}
|
|
70
|
-
}
|
|
8
|
+
query: `query BundleList($limit: Int, $after: Int, $before: Int, $collectionId: Int, $sorting: String){
|
|
9
|
+
bundles(limit: $limit, after: $after, before: $before, collectionId: $collectionId, sorting: $sorting){
|
|
10
|
+
edges {
|
|
11
|
+
node {
|
|
12
|
+
id
|
|
13
|
+
}
|
|
14
|
+
cursor
|
|
15
|
+
}
|
|
16
|
+
nodes {
|
|
17
|
+
id
|
|
18
|
+
slug
|
|
19
|
+
title
|
|
20
|
+
subtitle
|
|
21
|
+
description
|
|
22
|
+
tags
|
|
23
|
+
BundleVariant {
|
|
24
|
+
id
|
|
25
|
+
title
|
|
26
|
+
subtitle
|
|
27
|
+
description
|
|
28
|
+
translations {
|
|
29
|
+
key
|
|
30
|
+
locale
|
|
31
|
+
value
|
|
32
|
+
}
|
|
33
|
+
metafields {
|
|
34
|
+
key
|
|
35
|
+
value
|
|
36
|
+
}
|
|
37
|
+
price
|
|
38
|
+
fullPrice
|
|
39
|
+
bundleId
|
|
40
|
+
published
|
|
41
|
+
createdAt
|
|
42
|
+
updatedAt
|
|
43
|
+
}
|
|
44
|
+
BundleProduct {
|
|
45
|
+
bundleId
|
|
46
|
+
productId
|
|
47
|
+
position
|
|
48
|
+
createdAt
|
|
49
|
+
updatedAt
|
|
50
|
+
}
|
|
51
|
+
translations {
|
|
52
|
+
key
|
|
53
|
+
locale
|
|
54
|
+
value
|
|
55
|
+
}
|
|
56
|
+
metafields {
|
|
57
|
+
key
|
|
58
|
+
value
|
|
59
|
+
}
|
|
60
|
+
published
|
|
61
|
+
createdAt
|
|
62
|
+
updatedAt
|
|
63
|
+
}
|
|
64
|
+
meta {
|
|
65
|
+
startCursor
|
|
66
|
+
endCursor
|
|
67
|
+
hasNextPage
|
|
68
|
+
hasPreviousPage
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
71
|
}`,
|
|
72
72
|
},
|
|
73
73
|
},
|
|
74
74
|
mutation: {
|
|
75
75
|
removeBundles: {
|
|
76
76
|
name: 'removeBundles',
|
|
77
|
-
query: `mutation BundleDelete($id: [Int!]!){
|
|
78
|
-
removeBundles(id: $id) {
|
|
79
|
-
count
|
|
80
|
-
}
|
|
77
|
+
query: `mutation BundleDelete($id: [Int!]!){
|
|
78
|
+
removeBundles(id: $id) {
|
|
79
|
+
count
|
|
80
|
+
}
|
|
81
81
|
}`,
|
|
82
82
|
},
|
|
83
83
|
updateManyBundleProducts: {
|
|
84
84
|
name: 'updateManyBundleProducts',
|
|
85
|
-
query: `mutation BundleProductsUpdate($bundleId: Int!, $updateList:[UpdateManyBundleProductsListDto!]!) {
|
|
86
|
-
updateManyBundleProducts(bundleId:$bundleId,updateList:$updateList){
|
|
87
|
-
bundleId
|
|
88
|
-
productId
|
|
89
|
-
position
|
|
90
|
-
createdAt
|
|
91
|
-
updatedAt
|
|
92
|
-
}
|
|
85
|
+
query: `mutation BundleProductsUpdate($bundleId: Int!, $updateList:[UpdateManyBundleProductsListDto!]!) {
|
|
86
|
+
updateManyBundleProducts(bundleId:$bundleId,updateList:$updateList){
|
|
87
|
+
bundleId
|
|
88
|
+
productId
|
|
89
|
+
position
|
|
90
|
+
createdAt
|
|
91
|
+
updatedAt
|
|
92
|
+
}
|
|
93
93
|
}`
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -5,104 +5,104 @@ exports.CollectionsResolvers = {
|
|
|
5
5
|
query: {
|
|
6
6
|
collections: {
|
|
7
7
|
name: 'collections',
|
|
8
|
-
query: `query CollectionList($limit: Int, $after: Int, $before: Int, $sorting: String){
|
|
9
|
-
collections(limit: $limit, after: $after, before: $before, sorting: $sorting){
|
|
10
|
-
edges {
|
|
11
|
-
node {
|
|
12
|
-
id
|
|
13
|
-
}
|
|
14
|
-
cursor
|
|
15
|
-
}
|
|
16
|
-
nodes {
|
|
17
|
-
id
|
|
18
|
-
slug
|
|
19
|
-
title
|
|
20
|
-
subtitle
|
|
21
|
-
description
|
|
22
|
-
translations {
|
|
23
|
-
key
|
|
24
|
-
locale
|
|
25
|
-
value
|
|
26
|
-
}
|
|
27
|
-
metafields {
|
|
28
|
-
key
|
|
29
|
-
value
|
|
30
|
-
}
|
|
31
|
-
published
|
|
32
|
-
position
|
|
33
|
-
allowChildren
|
|
34
|
-
parentId
|
|
35
|
-
createdAt
|
|
36
|
-
updatedAt
|
|
37
|
-
}
|
|
38
|
-
meta {
|
|
39
|
-
startCursor
|
|
40
|
-
endCursor
|
|
41
|
-
hasNextPage
|
|
42
|
-
hasPreviousPage
|
|
43
|
-
}
|
|
44
|
-
}
|
|
8
|
+
query: `query CollectionList($limit: Int, $after: Int, $before: Int, $sorting: String){
|
|
9
|
+
collections(limit: $limit, after: $after, before: $before, sorting: $sorting){
|
|
10
|
+
edges {
|
|
11
|
+
node {
|
|
12
|
+
id
|
|
13
|
+
}
|
|
14
|
+
cursor
|
|
15
|
+
}
|
|
16
|
+
nodes {
|
|
17
|
+
id
|
|
18
|
+
slug
|
|
19
|
+
title
|
|
20
|
+
subtitle
|
|
21
|
+
description
|
|
22
|
+
translations {
|
|
23
|
+
key
|
|
24
|
+
locale
|
|
25
|
+
value
|
|
26
|
+
}
|
|
27
|
+
metafields {
|
|
28
|
+
key
|
|
29
|
+
value
|
|
30
|
+
}
|
|
31
|
+
published
|
|
32
|
+
position
|
|
33
|
+
allowChildren
|
|
34
|
+
parentId
|
|
35
|
+
createdAt
|
|
36
|
+
updatedAt
|
|
37
|
+
}
|
|
38
|
+
meta {
|
|
39
|
+
startCursor
|
|
40
|
+
endCursor
|
|
41
|
+
hasNextPage
|
|
42
|
+
hasPreviousPage
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
45
|
}`,
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
48
|
mutation: {
|
|
49
49
|
updateCollectionBundles: {
|
|
50
50
|
name: 'updateCollectionBundles',
|
|
51
|
-
query: `mutation CollectionUpdateBundles($collectionId: Int!, $updateList:[UpdateCollectionBundlesListDto!]!){
|
|
52
|
-
updateCollectionBundles(collectionId:$collectionId,updateList:$updateList){
|
|
53
|
-
collectionId
|
|
54
|
-
bundleId
|
|
55
|
-
position
|
|
56
|
-
createdAt
|
|
57
|
-
updatedAt
|
|
58
|
-
}
|
|
51
|
+
query: `mutation CollectionUpdateBundles($collectionId: Int!, $updateList:[UpdateCollectionBundlesListDto!]!){
|
|
52
|
+
updateCollectionBundles(collectionId:$collectionId,updateList:$updateList){
|
|
53
|
+
collectionId
|
|
54
|
+
bundleId
|
|
55
|
+
position
|
|
56
|
+
createdAt
|
|
57
|
+
updatedAt
|
|
58
|
+
}
|
|
59
59
|
}`,
|
|
60
60
|
},
|
|
61
61
|
updateCollectionProducts: {
|
|
62
62
|
name: 'updateCollectionProducts',
|
|
63
|
-
query: `mutation CollectionUpdateProducts($collectionId: Int!, $updateList:[UpdateCollectionProductsListDto!]!){
|
|
64
|
-
updateCollectionProducts(collectionId:$collectionId,updateList:$updateList){
|
|
65
|
-
collectionId
|
|
66
|
-
productId
|
|
67
|
-
position
|
|
68
|
-
createdAt
|
|
69
|
-
updatedAt
|
|
70
|
-
}
|
|
63
|
+
query: `mutation CollectionUpdateProducts($collectionId: Int!, $updateList:[UpdateCollectionProductsListDto!]!){
|
|
64
|
+
updateCollectionProducts(collectionId:$collectionId,updateList:$updateList){
|
|
65
|
+
collectionId
|
|
66
|
+
productId
|
|
67
|
+
position
|
|
68
|
+
createdAt
|
|
69
|
+
updatedAt
|
|
70
|
+
}
|
|
71
71
|
}`,
|
|
72
72
|
},
|
|
73
73
|
updateManyCollections: {
|
|
74
74
|
name: 'updateManyCollections',
|
|
75
|
-
query: `mutation CollectionsUpdate($updateList:[UpdateManyCollectionsListDto!]!) {
|
|
76
|
-
updateManyCollections(updateList:$updateList){
|
|
77
|
-
id
|
|
78
|
-
slug
|
|
79
|
-
title
|
|
80
|
-
subtitle
|
|
81
|
-
description
|
|
82
|
-
translations {
|
|
83
|
-
key
|
|
84
|
-
locale
|
|
85
|
-
value
|
|
86
|
-
}
|
|
87
|
-
metafields {
|
|
88
|
-
key
|
|
89
|
-
value
|
|
90
|
-
}
|
|
91
|
-
published
|
|
92
|
-
position
|
|
93
|
-
allowChildren
|
|
94
|
-
parentId
|
|
95
|
-
createdAt
|
|
96
|
-
updatedAt
|
|
97
|
-
}
|
|
75
|
+
query: `mutation CollectionsUpdate($updateList:[UpdateManyCollectionsListDto!]!) {
|
|
76
|
+
updateManyCollections(updateList:$updateList){
|
|
77
|
+
id
|
|
78
|
+
slug
|
|
79
|
+
title
|
|
80
|
+
subtitle
|
|
81
|
+
description
|
|
82
|
+
translations {
|
|
83
|
+
key
|
|
84
|
+
locale
|
|
85
|
+
value
|
|
86
|
+
}
|
|
87
|
+
metafields {
|
|
88
|
+
key
|
|
89
|
+
value
|
|
90
|
+
}
|
|
91
|
+
published
|
|
92
|
+
position
|
|
93
|
+
allowChildren
|
|
94
|
+
parentId
|
|
95
|
+
createdAt
|
|
96
|
+
updatedAt
|
|
97
|
+
}
|
|
98
98
|
}`
|
|
99
99
|
},
|
|
100
100
|
removeCollections: {
|
|
101
101
|
name: 'removeCollections',
|
|
102
|
-
query: `mutation CollectionDelete($id: [Int!]!){
|
|
103
|
-
removeCollections(id: $id) {
|
|
104
|
-
count
|
|
105
|
-
}
|
|
102
|
+
query: `mutation CollectionDelete($id: [Int!]!){
|
|
103
|
+
removeCollections(id: $id) {
|
|
104
|
+
count
|
|
105
|
+
}
|
|
106
106
|
}`,
|
|
107
107
|
},
|
|
108
108
|
}
|
|
@@ -71,6 +71,7 @@ export type QueryCollectionProductsDto = Omit<QueryParamsDto<SortingParamsDto<{}
|
|
|
71
71
|
excludeAttributes?: NumberClause;
|
|
72
72
|
search?: StringClause;
|
|
73
73
|
published?: BooleanClause;
|
|
74
|
+
hasImages?: BooleanClause;
|
|
74
75
|
}>>, 'sorting'>;
|
|
75
76
|
export type FindAllCollectionBundlesDto = WithRelation<BundleCollection, 'Bundle', WithRelations<Bundle, {
|
|
76
77
|
BundleVariant: BundleVariant[];
|
package/dist/configs/graphql.js
CHANGED
|
@@ -5,89 +5,89 @@ exports.ConfigsResolvers = {
|
|
|
5
5
|
query: {
|
|
6
6
|
configs: {
|
|
7
7
|
name: 'configs',
|
|
8
|
-
query: `query ConfigList($limit: Int, $after: Int, $before: Int, $sorting: String){
|
|
9
|
-
configs(limit: $limit, after: $after, before: $before, sorting: $sorting){
|
|
10
|
-
edges {
|
|
11
|
-
node {
|
|
12
|
-
id
|
|
13
|
-
}
|
|
14
|
-
cursor
|
|
15
|
-
}
|
|
16
|
-
nodes {
|
|
17
|
-
id
|
|
18
|
-
name
|
|
19
|
-
value
|
|
20
|
-
customValue
|
|
21
|
-
description
|
|
22
|
-
translations {
|
|
23
|
-
key
|
|
24
|
-
locale
|
|
25
|
-
value
|
|
26
|
-
}
|
|
27
|
-
createdAt
|
|
28
|
-
updatedAt
|
|
29
|
-
}
|
|
30
|
-
meta {
|
|
31
|
-
startCursor
|
|
32
|
-
endCursor
|
|
33
|
-
hasNextPage
|
|
34
|
-
hasPreviousPage
|
|
35
|
-
}
|
|
36
|
-
}
|
|
8
|
+
query: `query ConfigList($limit: Int, $after: Int, $before: Int, $sorting: String){
|
|
9
|
+
configs(limit: $limit, after: $after, before: $before, sorting: $sorting){
|
|
10
|
+
edges {
|
|
11
|
+
node {
|
|
12
|
+
id
|
|
13
|
+
}
|
|
14
|
+
cursor
|
|
15
|
+
}
|
|
16
|
+
nodes {
|
|
17
|
+
id
|
|
18
|
+
name
|
|
19
|
+
value
|
|
20
|
+
customValue
|
|
21
|
+
description
|
|
22
|
+
translations {
|
|
23
|
+
key
|
|
24
|
+
locale
|
|
25
|
+
value
|
|
26
|
+
}
|
|
27
|
+
createdAt
|
|
28
|
+
updatedAt
|
|
29
|
+
}
|
|
30
|
+
meta {
|
|
31
|
+
startCursor
|
|
32
|
+
endCursor
|
|
33
|
+
hasNextPage
|
|
34
|
+
hasPreviousPage
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
37
|
}`,
|
|
38
38
|
},
|
|
39
39
|
TiDelizioConfig: {
|
|
40
40
|
name: 'TiDelizioConfig',
|
|
41
|
-
query: `query {
|
|
42
|
-
TiDelizioConfig {
|
|
43
|
-
allowGoogleAnalytics
|
|
44
|
-
allowMetaPixel
|
|
45
|
-
allowGoogleTagManager
|
|
46
|
-
allowAdvancedMenu
|
|
47
|
-
allowDiscounts
|
|
48
|
-
allowBundles
|
|
49
|
-
allowLocalization
|
|
50
|
-
allowPopup
|
|
51
|
-
allowProductVideo
|
|
52
|
-
allowCustomProductModal
|
|
53
|
-
allowCustomTheme
|
|
54
|
-
allowLinks
|
|
55
|
-
allowReservations
|
|
56
|
-
maxMenuCollectionNumber
|
|
57
|
-
maxProductImageNumber
|
|
58
|
-
maxProductsCollectionNumber
|
|
59
|
-
maxAdditionalLanguages
|
|
60
|
-
plan
|
|
61
|
-
}
|
|
41
|
+
query: `query {
|
|
42
|
+
TiDelizioConfig {
|
|
43
|
+
allowGoogleAnalytics
|
|
44
|
+
allowMetaPixel
|
|
45
|
+
allowGoogleTagManager
|
|
46
|
+
allowAdvancedMenu
|
|
47
|
+
allowDiscounts
|
|
48
|
+
allowBundles
|
|
49
|
+
allowLocalization
|
|
50
|
+
allowPopup
|
|
51
|
+
allowProductVideo
|
|
52
|
+
allowCustomProductModal
|
|
53
|
+
allowCustomTheme
|
|
54
|
+
allowLinks
|
|
55
|
+
allowReservations
|
|
56
|
+
maxMenuCollectionNumber
|
|
57
|
+
maxProductImageNumber
|
|
58
|
+
maxProductsCollectionNumber
|
|
59
|
+
maxAdditionalLanguages
|
|
60
|
+
plan
|
|
61
|
+
}
|
|
62
62
|
}`
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
mutation: {
|
|
66
66
|
removeConfigs: {
|
|
67
67
|
name: 'removeConfigs',
|
|
68
|
-
query: `mutation ConfigDelete($id: [Int!]!){
|
|
69
|
-
removeConfigs(id: $id) {
|
|
70
|
-
count
|
|
71
|
-
}
|
|
68
|
+
query: `mutation ConfigDelete($id: [Int!]!){
|
|
69
|
+
removeConfigs(id: $id) {
|
|
70
|
+
count
|
|
71
|
+
}
|
|
72
72
|
}`,
|
|
73
73
|
},
|
|
74
74
|
initTiDelizioConfig: {
|
|
75
75
|
name: 'initTiDelizioConfig',
|
|
76
|
-
query: `mutation ConfigInitTiDelizio($plan: TiDelizioPlan!, $config: TiDelizioConfigDto){
|
|
77
|
-
initTiDelizioConfig(plan: $plan, config: $config) {
|
|
78
|
-
id
|
|
79
|
-
name
|
|
80
|
-
value
|
|
81
|
-
customValue
|
|
82
|
-
description
|
|
83
|
-
translations {
|
|
84
|
-
key
|
|
85
|
-
locale
|
|
86
|
-
value
|
|
87
|
-
}
|
|
88
|
-
createdAt
|
|
89
|
-
updatedAt
|
|
90
|
-
}
|
|
76
|
+
query: `mutation ConfigInitTiDelizio($plan: TiDelizioPlan!, $config: TiDelizioConfigDto){
|
|
77
|
+
initTiDelizioConfig(plan: $plan, config: $config) {
|
|
78
|
+
id
|
|
79
|
+
name
|
|
80
|
+
value
|
|
81
|
+
customValue
|
|
82
|
+
description
|
|
83
|
+
translations {
|
|
84
|
+
key
|
|
85
|
+
locale
|
|
86
|
+
value
|
|
87
|
+
}
|
|
88
|
+
createdAt
|
|
89
|
+
updatedAt
|
|
90
|
+
}
|
|
91
91
|
}`,
|
|
92
92
|
},
|
|
93
93
|
}
|
package/dist/images/graphql.js
CHANGED
|
@@ -5,32 +5,32 @@ exports.ImagesResolvers = {
|
|
|
5
5
|
query: {
|
|
6
6
|
images: {
|
|
7
7
|
name: 'images',
|
|
8
|
-
query: `query ImageList($limit: Int, $after: Int, $before: Int, $sorting: String){
|
|
9
|
-
images(limit: $limit, after: $after, before: $before, sorting: $sorting){
|
|
10
|
-
edges {
|
|
11
|
-
node {
|
|
12
|
-
id
|
|
13
|
-
}
|
|
14
|
-
cursor
|
|
15
|
-
}
|
|
16
|
-
nodes {
|
|
17
|
-
id
|
|
18
|
-
checksum
|
|
19
|
-
mimeType
|
|
20
|
-
size
|
|
21
|
-
height
|
|
22
|
-
width
|
|
23
|
-
src
|
|
24
|
-
createdAt
|
|
25
|
-
updatedAt
|
|
26
|
-
}
|
|
27
|
-
meta {
|
|
28
|
-
startCursor
|
|
29
|
-
endCursor
|
|
30
|
-
hasNextPage
|
|
31
|
-
hasPreviousPage
|
|
32
|
-
}
|
|
33
|
-
}
|
|
8
|
+
query: `query ImageList($limit: Int, $after: Int, $before: Int, $sorting: String){
|
|
9
|
+
images(limit: $limit, after: $after, before: $before, sorting: $sorting){
|
|
10
|
+
edges {
|
|
11
|
+
node {
|
|
12
|
+
id
|
|
13
|
+
}
|
|
14
|
+
cursor
|
|
15
|
+
}
|
|
16
|
+
nodes {
|
|
17
|
+
id
|
|
18
|
+
checksum
|
|
19
|
+
mimeType
|
|
20
|
+
size
|
|
21
|
+
height
|
|
22
|
+
width
|
|
23
|
+
src
|
|
24
|
+
createdAt
|
|
25
|
+
updatedAt
|
|
26
|
+
}
|
|
27
|
+
meta {
|
|
28
|
+
startCursor
|
|
29
|
+
endCursor
|
|
30
|
+
hasNextPage
|
|
31
|
+
hasPreviousPage
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
34
|
}`,
|
|
35
35
|
},
|
|
36
36
|
},
|