@ts-ghost/core-api
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -236,2 +236,11 @@ 'use strict'; | ||
endpoint: zod.z.literal("admin") | ||
}), | ||
zod.z.object({ | ||
resource: zod.z.literal("settings"), | ||
key: zod.z.string().regex(/[0-9a-f]{24}:[0-9a-f]{64}/, { | ||
message: "'key' must have the following format {A}:{B}, where A is 24 hex characters and B is 64 hex characters" | ||
}), | ||
version: apiVersionsSchema, | ||
url: zod.z.string().url(), | ||
endpoint: zod.z.literal("admin") | ||
}) | ||
@@ -1021,5 +1030,2 @@ ]); | ||
} | ||
getOutputFields() { | ||
return this.config.output.keyof().options; | ||
} | ||
getURL() { | ||
@@ -1026,0 +1032,0 @@ return this._URL; |
@@ -236,2 +236,11 @@ 'use strict'; | ||
endpoint: zod.z.literal("admin") | ||
}), | ||
zod.z.object({ | ||
resource: zod.z.literal("settings"), | ||
key: zod.z.string().regex(/[0-9a-f]{24}:[0-9a-f]{64}/, { | ||
message: "'key' must have the following format {A}:{B}, where A is 24 hex characters and B is 64 hex characters" | ||
}), | ||
version: apiVersionsSchema, | ||
url: zod.z.string().url(), | ||
endpoint: zod.z.literal("admin") | ||
}) | ||
@@ -1021,5 +1030,2 @@ ]); | ||
} | ||
getOutputFields() { | ||
return this.config.output.keyof().options; | ||
} | ||
getURL() { | ||
@@ -1026,0 +1032,0 @@ return this._URL; |
@@ -19,3 +19,3 @@ { | ||
}, | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"main": "./dist/index.js", | ||
@@ -29,15 +29,15 @@ "module": "./dist/index.mjs", | ||
"@ts-ghost/tsconfig": "*", | ||
"@types/node": "^18.15.11", | ||
"eslint": "^8.37.0", | ||
"@types/node": "^18.15.13", | ||
"eslint": "^8.39.0", | ||
"tsup": "^6.7.0", | ||
"typescript": "5.0.4", | ||
"vite": "^4.2.1", | ||
"vite": "^4.3.1", | ||
"vite-tsconfig-paths": "^4.0.7", | ||
"vitest": "^0.29.8", | ||
"vitest": "^0.30.1", | ||
"vitest-fetch-mock": "^0.2.2" | ||
}, | ||
"dependencies": { | ||
"@vitest/coverage-c8": "^0.29.8", | ||
"@vitest/coverage-c8": "^0.30.1", | ||
"cross-fetch": "^3.1.5", | ||
"jose": "^4.13.1", | ||
"jose": "^4.14.1", | ||
"zod": "^3.21.4" | ||
@@ -44,0 +44,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
7448
475348
+ Added@vitest/coverage-c8@0.30.1(transitive)
- Removed@vitest/coverage-c8@0.29.8(transitive)
Updated@vitest/coverage-c8@^0.30.1
Updatedjose@^4.14.1