@tryghost/admin-api-schema 2.14.1 → 2.17.0

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.
@@ -25,6 +25,9 @@
25
25
  "maxLength": 191,
26
26
  "pattern": "^([^,]|$)"
27
27
  },
28
+ "avatar_image": {
29
+ "strip": true
30
+ },
28
31
  "note": {
29
32
  "type": "string",
30
33
  "minLength": 0,
@@ -45,6 +48,9 @@
45
48
  "products": {
46
49
  "$ref": "members.canary#/definitions/member-products"
47
50
  },
51
+ "tiers": {
52
+ "$ref": "members.canary#/definitions/member-products"
53
+ },
48
54
  "newsletters": {
49
55
  "$ref": "members.canary#/definitions/member-newsletters"
50
56
  },
@@ -20,6 +20,9 @@
20
20
  "maxLength": 191,
21
21
  "pattern": "^([^,]|$)"
22
22
  },
23
+ "avatar_image": {
24
+ "strip": true
25
+ },
23
26
  "note": {
24
27
  "type": ["string", "null"],
25
28
  "minLength": 0,
@@ -48,6 +48,9 @@
48
48
  "products": {
49
49
  "$ref": "#/definitions/member-products"
50
50
  },
51
+ "tiers": {
52
+ "$ref": "#/definitions/member-products"
53
+ },
51
54
  "newsletters": {
52
55
  "$ref": "#/definitions/member-newsletters"
53
56
  },
@@ -191,7 +191,7 @@
191
191
  "frontmatter": {
192
192
  "strip": true
193
193
  },
194
- "newsletter_id": {
194
+ "newsletter": {
195
195
  "strip": true
196
196
  }
197
197
  }
@@ -9,12 +9,15 @@
9
9
  "type": "object",
10
10
  "additionalProperties": false,
11
11
  "properties": {
12
+ "id": {
13
+ "strip": true
14
+ },
12
15
  "name": {
13
16
  "type": "string",
14
17
  "maxLength": 191
15
18
  },
16
19
  "description": {
17
- "type": "string",
20
+ "type": ["string", "null"],
18
21
  "maxLength": 191
19
22
  },
20
23
  "slug": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/admin-api-schema",
3
- "version": "2.14.1",
3
+ "version": "2.17.0",
4
4
  "repository": "https://github.com/TryGhost/SDK/tree/master/packages/admin-api-schema",
5
5
  "author": "Ghost Foundation",
6
6
  "license": "MIT",
@@ -22,11 +22,11 @@
22
22
  "c8": "7.11.2",
23
23
  "mocha": "10.0.0",
24
24
  "should": "13.2.3",
25
- "sinon": "13.0.2"
25
+ "sinon": "14.0.0"
26
26
  },
27
27
  "dependencies": {
28
28
  "@tryghost/errors": "^1.0.0",
29
29
  "lodash": "^4.17.11"
30
30
  },
31
- "gitHead": "0a30384f3d568a43bfe0cee5fcf7e21c17a17842"
31
+ "gitHead": "dd641499aeaaae6f491cc55e0f37be400f300a3c"
32
32
  }