diff --git a/projects/api/deno.json b/projects/api/deno.json index 54095b6..74c30b9 100644 --- a/projects/api/deno.json +++ b/projects/api/deno.json @@ -1,7 +1,7 @@ { "name": "@trakt/api", "exports": "./mod.ts", - "version": "0.5.1", + "version": "0.5.2", "imports": { "@anatine/zod-openapi": "npm:@anatine/zod-openapi@^2.2.6", "@std/testing": "jsr:@std/testing@^1.0.5", @@ -32,4 +32,4 @@ "publish": "deno task build:types && deno publish", "publish:check": "deno task build:types && deno publish --dry-run --allow-dirty" } -} +} \ No newline at end of file diff --git a/projects/api/src/contracts/_internal/response/smartListItemResponseSchema.ts b/projects/api/src/contracts/_internal/response/smartListItemResponseSchema.ts index e8ab531..da6e0eb 100644 --- a/projects/api/src/contracts/_internal/response/smartListItemResponseSchema.ts +++ b/projects/api/src/contracts/_internal/response/smartListItemResponseSchema.ts @@ -1,11 +1,11 @@ -import { listedMovieResponseSchema } from './listedMovieResponseSchema.ts'; -import { listedShowResponseSchema } from './listedShowResponseSchema.ts'; +import { movieResponseSchema } from './movieResponseSchema.ts'; +import { showResponseSchema } from './showResponseSchema.ts'; import { z } from '../z.ts'; /** Zod schema for the smart list item response. */ export const smartListItemResponseSchema = z.object({ rank: z.number().int(), type: z.string(), - movie: listedMovieResponseSchema.nullish(), - show: listedShowResponseSchema.nullish(), + movie: movieResponseSchema.nullish(), + show: showResponseSchema.nullish(), });