@unchainedshop/api 2.8.14 → 2.8.16

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.
@@ -1,8 +1,19 @@
1
1
  export default [
2
2
  /* GraphQL */ `
3
+ enum ExternalLinkTarget {
4
+ """
5
+ Open on new tab
6
+ """
7
+ BLANK
8
+ """
9
+ Open in own Iframe
10
+ """
11
+ SELF
12
+ }
3
13
  type Link @cacheControl(maxAge: 180) {
4
14
  href: String
5
15
  title: String
16
+ target: ExternalLinkTarget
6
17
  }
7
18
 
8
19
  type AdminUiConfigCustomEntityInterface {
@@ -1 +1 @@
1
- {"version":3,"file":"shop.js","sourceRoot":"","sources":["../../../src/schema/types/shop.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0Bb;CACF,CAAC"}
1
+ {"version":3,"file":"shop.js","sourceRoot":"","sources":["../../../src/schema/types/shop.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCb;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchainedshop/api",
3
- "version": "2.8.14",
3
+ "version": "2.8.16",
4
4
  "main": "lib/api-index.js",
5
5
  "exports": {
6
6
  ".": "./lib/api-index.js",
@@ -47,25 +47,25 @@
47
47
  "express": "^4.18.2"
48
48
  },
49
49
  "dependencies": {
50
- "@metamask/eth-sig-util": "^7.0.1",
51
- "@unchainedshop/core": "^2.8.14",
52
- "@unchainedshop/events": "^2.8.14",
53
- "@unchainedshop/logger": "^2.8.14",
54
- "@unchainedshop/roles": "^2.8.14",
55
- "@unchainedshop/utils": "^2.8.14",
50
+ "@metamask/eth-sig-util": "^7.0.2",
51
+ "@unchainedshop/core": "^2.8.16",
52
+ "@unchainedshop/events": "^2.8.16",
53
+ "@unchainedshop/logger": "^2.8.16",
54
+ "@unchainedshop/roles": "^2.8.16",
55
+ "@unchainedshop/utils": "^2.8.16",
56
56
  "accounting": "0.4.1",
57
57
  "dataloader": "^2.2.2",
58
58
  "graphql-scalars": "^1.23.0",
59
59
  "graphql-upload": "^16.0.2",
60
60
  "locale": "0.1.0",
61
61
  "lodash.isnumber": "3.0.3",
62
- "lru-cache": "^10.2.0"
62
+ "lru-cache": "^10.2.2"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@types/graphql-upload": "^16.0.7",
66
66
  "@types/locale": "^0.1.4",
67
- "@types/node": "^20.12.7",
68
- "@unchainedshop/types": "^2.8.14",
67
+ "@types/node": "^20.12.11",
68
+ "@unchainedshop/types": "^2.8.16",
69
69
  "express": "^4.19.2",
70
70
  "jest": "^29.7.0",
71
71
  "ts-jest": "^29.1.2",
@@ -1,8 +1,19 @@
1
1
  export default [
2
2
  /* GraphQL */ `
3
+ enum ExternalLinkTarget {
4
+ """
5
+ Open on new tab
6
+ """
7
+ BLANK
8
+ """
9
+ Open in own Iframe
10
+ """
11
+ SELF
12
+ }
3
13
  type Link @cacheControl(maxAge: 180) {
4
14
  href: String
5
15
  title: String
16
+ target: ExternalLinkTarget
6
17
  }
7
18
 
8
19
  type AdminUiConfigCustomEntityInterface {