Skip to content

Outbox prisma adapter #969

Outbox prisma adapter

Outbox prisma adapter #969

Triggered via pull request January 24, 2025 09:30
Status Failure
Total duration 1m 1s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
linting
Type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; metadata: {}; timestamp: string; type: "entity.created"; }; retryCount: number; created: Date; }' does not satisfy the expected type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; type: "entity.created"; metadata: {}; timestamp: string; }; retryCount: number; created: Date; }' does not satisfy the expected type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Argument of type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; type: "entity.created"; metadata: {}; timestamp: string; }; retryCount: number; created: Date; }' is not assignable to parameter of type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; type: "entity.created"; metadata: {}; timestamp: string; }; retryCount: number; created: Date; }' does not satisfy the expected type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Argument of type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; metadata: {}; timestamp: string; type: "entity.created"; }; retryCount: number; created: Date; }' is not assignable to parameter of type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Argument of type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; type: "entity.created"; metadata: {}; timestamp: string; }; retryCount: number; created: Date; }' is not assignable to parameter of type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Argument of type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; metadata: {}; timestamp: string; type: "entity.created"; }; retryCount: number; created: Date; }' is not assignable to parameter of type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Argument of type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; type: "entity.created"; metadata: {}; timestamp: string; }; retryCount: number; created: Date; }' is not assignable to parameter of type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Argument of type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; metadata: {}; timestamp: string; type: "entity.created"; }; retryCount: number; created: Date; }' is not assignable to parameter of type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
Argument of type '{ id: string; status: "CREATED"; event: { id: string; payload: { message: string; }; type: "entity.created"; metadata: {}; timestamp: string; }; retryCount: number; created: Date; }' is not assignable to parameter of type 'OutboxEntry<{ consumerSchema: ZodObject<{ id: ZodString; timestamp: ZodString; type: ZodLiteral<"entity.created">; payload: ZodObject<{ message: ZodString; }, "strip", ZodTypeAny, { ...; }, { ...; }>; metadata: ZodObject<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>; publisherSchema: ZodObject<...>; }>'.
linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636