@tryghost/admin-api-schema 2.12.0 → 2.14.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.
package/lib/canary/members.json
CHANGED
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
"products": {
|
|
49
49
|
"$ref": "#/definitions/member-products"
|
|
50
50
|
},
|
|
51
|
+
"newsletters": {
|
|
52
|
+
"$ref": "#/definitions/member-newsletters"
|
|
53
|
+
},
|
|
51
54
|
"email_count": {
|
|
52
55
|
"strip": true
|
|
53
56
|
},
|
|
@@ -108,6 +111,35 @@
|
|
|
108
111
|
]
|
|
109
112
|
}
|
|
110
113
|
},
|
|
114
|
+
"member-newsletters": {
|
|
115
|
+
"description": "Newsletters of the member",
|
|
116
|
+
"type": "array",
|
|
117
|
+
"items": {
|
|
118
|
+
"anyOf": [
|
|
119
|
+
{
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {
|
|
122
|
+
"id": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"maxLength": 24
|
|
125
|
+
},
|
|
126
|
+
"name": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"maxLength": 191
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"anyOf": [
|
|
132
|
+
{ "required": ["id"] },
|
|
133
|
+
{ "required": ["name"] }
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "string",
|
|
138
|
+
"maxLength": 191
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
111
143
|
"member-labels": {
|
|
112
144
|
"description": "Labels of the member",
|
|
113
145
|
"type": "array",
|
package/lib/canary/posts.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/admin-api-schema",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"repository": "https://github.com/TryGhost/SDK/tree/master/packages/admin-api-schema",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"sinon": "9.2.4"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@tryghost/errors": "^0.
|
|
27
|
+
"@tryghost/errors": "^1.0.0",
|
|
28
28
|
"lodash": "^4.17.11"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "dbf4ab41a6964422987a68c4327336692a54527f"
|
|
31
31
|
}
|