@ts-ghost/core-api
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -83,3 +83,3 @@ 'use strict'; | ||
]); | ||
var apiVersionsSchema = zod.z.enum(["v5.0", "v2", "v3", "v4", "canary"]).default("v5.0"); | ||
var apiVersionsSchema = zod.z.string().regex(/^v5\.\d+/).default("v5.0"); | ||
var contentAPICredentialsSchema = zod.z.discriminatedUnion("resource", [ | ||
@@ -86,0 +86,0 @@ zod.z.object({ |
@@ -83,3 +83,3 @@ 'use strict'; | ||
]); | ||
var apiVersionsSchema = zod.z.enum(["v5.0", "v2", "v3", "v4", "canary"]).default("v5.0"); | ||
var apiVersionsSchema = zod.z.string().regex(/^v5\.\d+/).default("v5.0"); | ||
var contentAPICredentialsSchema = zod.z.discriminatedUnion("resource", [ | ||
@@ -86,0 +86,0 @@ zod.z.object({ |
@@ -19,3 +19,3 @@ { | ||
}, | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"main": "./dist/index.js", | ||
@@ -22,0 +22,0 @@ "module": "./dist/index.mjs", |
@@ -30,2 +30,7 @@ <br/> | ||
### Compatible Ghost versions. | ||
This client is only compatible with Ghost versions 5.x for now. | ||
- Ghost 5^ | ||
## QueryBuilder | ||
@@ -32,0 +37,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
409
405705