Skip to content

Commit

Permalink
fix: fix build in building-blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
meysamhadeli committed Dec 19, 2023
1 parent b2623f4 commit 69beaee
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { OpenTelemetryOptions } from './open-telemetry';
export declare class OpenTelemetryOptions {
jaegerEndpoint: string;
zipkinEndpoint: string;
serviceName: string;
}
export declare class OpenTelemetryOptionsBuilder {
private _options;
get jaegerEndpoint(): string;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions src/building-blocks/open-telemetry/open-telemetry.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import { Tracer } from '@opentelemetry/sdk-trace-node';
import { OpenTelemetryOptionsBuilder } from './open-telemetry-options-builder';
export declare class OpenTelemetryOptions {
jaegerEndpoint: string;
zipkinEndpoint: string;
serviceName: string;
}
export interface IOpenTelemetryTracer {
createTracer(openTelemetryOptionsBuilder?: (openTelemetryOptionsBuilder?: OpenTelemetryOptionsBuilder) => void): Promise<Tracer>;
}
Expand Down
5 changes: 1 addition & 4 deletions src/building-blocks/open-telemetry/open-telemetry.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/building-blocks/open-telemetry/open-telemetry.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions src/building-blocks/rabbitmq/rabbitmq-connection.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import { RabbitmqOptionsBuilder } from './rabbitmq-options-builder';
import * as amqp from 'amqplib';
export declare class RabbitmqOptions {
host: string;
port: number;
username: string;
password: string;
}
export interface IRabbitMQConnection {
createConnection(rabbitmqOptionsBuilder?: (rabbitmqOptionsBuilder?: RabbitmqOptionsBuilder) => void): Promise<amqp.Connection>;
getChannel(): Promise<amqp.Channel>;
Expand Down
5 changes: 1 addition & 4 deletions src/building-blocks/rabbitmq/rabbitmq-connection.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/building-blocks/rabbitmq/rabbitmq-connection.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion src/building-blocks/rabbitmq/rabbitmq-options-builder.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { RabbitmqOptions } from './rabbitmq-connection';
export declare class RabbitmqOptions {
host: string;
port: number;
username: string;
password: string;
}
export declare class RabbitmqOptionsBuilder {
private _options;
get host(): string;
Expand Down
8 changes: 5 additions & 3 deletions src/building-blocks/rabbitmq/rabbitmq-options-builder.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'reflect-metadata';
import { StartedTestContainer } from 'testcontainers';
import { RabbitmqOptions } from "../../../rabbitmq/rabbitmq-connection";
import { RabbitmqOptions } from "../../../rabbitmq/rabbitmq-options-builder";
export declare const rabbitMqContainerStart: () => Promise<[
RabbitmqOptions,
StartedTestContainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'reflect-metadata';
import { GenericContainer, StartedTestContainer } from 'testcontainers';
import { container } from 'tsyringe';
import { Logger } from '../../../logging/logger';
import {RabbitmqOptions} from "../../../rabbitmq/rabbitmq-connection";
import {RabbitmqOptions} from "../../../rabbitmq/rabbitmq-options-builder";

interface RabbitmqContainerOptions {
host: string;
Expand Down
2 changes: 1 addition & 1 deletion src/building-blocks/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit 69beaee

Please sign in to comment.