Skip to content

Commit 8517d67

Browse files
cursoragentgeclos
andcommitted
fix: resolve Biome import/export ordering in queue-redpanda
Co-authored-by: Gerard <gerard@latitude.so>
1 parent ee7ec15 commit 8517d67

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

packages/platform/queue-redpanda/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Effect } from "effect"
22
import { Kafka, logLevel } from "kafkajs"
3-
import { KafkaClientError } from "./types.ts"
43
import type { KafkaConfig } from "./types.ts"
4+
import { KafkaClientError } from "./types.ts"
55

66
export const createKafkaClient = (config: KafkaConfig): Kafka => {
77
const kafkaConfig: import("kafkajs").KafkaConfig = {

packages/platform/queue-redpanda/src/index.ts

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
11
import { Effect, Layer } from "effect"
2-
import { type RedpandaEventsPublisherConfig, createRedpandaEventsPublisherEffect } from "./producer.ts"
2+
import { createRedpandaEventsPublisherEffect, type RedpandaEventsPublisherConfig } from "./producer.ts"
33
import { RedpandaQueueAdapterTag } from "./types.ts"
44

55
export { createKafkaClient, createKafkaClientEffect } from "./client.ts"
6-
7-
export { Topics } from "./topics.ts"
8-
export type { TopicName } from "./topics.ts"
9-
6+
export { loadKafkaConfig } from "./config.ts"
7+
export type { EventHandler, RedpandaEventsConsumerConfig } from "./consumer.ts"
8+
export { createRedpandaEventsConsumer, DomainEventSchema, EventEnvelopeSchema } from "./consumer.ts"
109
export {
1110
createRedpandaEventsPublisher,
1211
createRedpandaEventsPublisherEffect,
1312
RedpandaProducerError,
1413
} from "./producer.ts"
15-
16-
export { loadKafkaConfig } from "./config.ts"
17-
18-
export { KafkaClientError, RedpandaQueueAdapterTag, redpandaQueueAdapter } from "./types.ts"
19-
14+
export type { TopicName } from "./topics.ts"
15+
export { Topics } from "./topics.ts"
2016
export type { KafkaConfig } from "./types.ts"
21-
22-
export { createRedpandaEventsConsumer, DomainEventSchema, EventEnvelopeSchema } from "./consumer.ts"
23-
24-
export type { RedpandaEventsConsumerConfig, EventHandler } from "./consumer.ts"
17+
export { KafkaClientError, RedpandaQueueAdapterTag, redpandaQueueAdapter } from "./types.ts"
2518

2619
/**
2720
* Live layer for Redpanda events publisher

0 commit comments

Comments
 (0)