From a09f97bf92575b8b5f2f6b023e62297047f093f8 Mon Sep 17 00:00:00 2001 From: DominikBB Date: Tue, 23 Apr 2024 11:51:37 +0200 Subject: [PATCH] changing declaration files to ts to quickly include them in the build process --- src/types/{Aggregate.d.ts => Aggregate.ts} | 0 src/types/{BaseEvent.d.ts => BaseEvent.ts} | 0 src/types/{CloudEventV1.d.ts => CloudEventV1.ts} | 0 src/types/{Command.d.ts => Command.ts} | 0 src/types/{CommandHandler.d.ts => CommandHandler.ts} | 0 src/types/{CommandHandlerEnum.d.ts => CommandHandlerEnum.ts} | 0 src/types/{EventHandler.d.ts => EventHandler.ts} | 0 src/types/{EventHandlerEnum.d.ts => EventHandlerEnum.ts} | 0 src/types/{GlobalProjection.d.ts => GlobalProjection.ts} | 0 src/types/{LittleEsEvent.d.ts => LittleEsEvent.ts} | 0 .../{LittleEsEventMetadata.d.ts => LittleEsEventMetadata.ts} | 0 src/types/{NamedProjection.d.ts => NamedProjection.ts} | 0 src/types/{PersistanceHandler.d.ts => PersistanceHandler.ts} | 0 src/types/{PersistedAggregate.d.ts => PersistedAggregate.ts} | 0 src/types/{PublishingHandler.d.ts => PublishingHandler.ts} | 0 src/types/{Snapshot.d.ts => Snapshot.ts} | 0 tsconfig.json | 2 +- 17 files changed, 1 insertion(+), 1 deletion(-) rename src/types/{Aggregate.d.ts => Aggregate.ts} (100%) rename src/types/{BaseEvent.d.ts => BaseEvent.ts} (100%) rename src/types/{CloudEventV1.d.ts => CloudEventV1.ts} (100%) rename src/types/{Command.d.ts => Command.ts} (100%) rename src/types/{CommandHandler.d.ts => CommandHandler.ts} (100%) rename src/types/{CommandHandlerEnum.d.ts => CommandHandlerEnum.ts} (100%) rename src/types/{EventHandler.d.ts => EventHandler.ts} (100%) rename src/types/{EventHandlerEnum.d.ts => EventHandlerEnum.ts} (100%) rename src/types/{GlobalProjection.d.ts => GlobalProjection.ts} (100%) rename src/types/{LittleEsEvent.d.ts => LittleEsEvent.ts} (100%) rename src/types/{LittleEsEventMetadata.d.ts => LittleEsEventMetadata.ts} (100%) rename src/types/{NamedProjection.d.ts => NamedProjection.ts} (100%) rename src/types/{PersistanceHandler.d.ts => PersistanceHandler.ts} (100%) rename src/types/{PersistedAggregate.d.ts => PersistedAggregate.ts} (100%) rename src/types/{PublishingHandler.d.ts => PublishingHandler.ts} (100%) rename src/types/{Snapshot.d.ts => Snapshot.ts} (100%) diff --git a/src/types/Aggregate.d.ts b/src/types/Aggregate.ts similarity index 100% rename from src/types/Aggregate.d.ts rename to src/types/Aggregate.ts diff --git a/src/types/BaseEvent.d.ts b/src/types/BaseEvent.ts similarity index 100% rename from src/types/BaseEvent.d.ts rename to src/types/BaseEvent.ts diff --git a/src/types/CloudEventV1.d.ts b/src/types/CloudEventV1.ts similarity index 100% rename from src/types/CloudEventV1.d.ts rename to src/types/CloudEventV1.ts diff --git a/src/types/Command.d.ts b/src/types/Command.ts similarity index 100% rename from src/types/Command.d.ts rename to src/types/Command.ts diff --git a/src/types/CommandHandler.d.ts b/src/types/CommandHandler.ts similarity index 100% rename from src/types/CommandHandler.d.ts rename to src/types/CommandHandler.ts diff --git a/src/types/CommandHandlerEnum.d.ts b/src/types/CommandHandlerEnum.ts similarity index 100% rename from src/types/CommandHandlerEnum.d.ts rename to src/types/CommandHandlerEnum.ts diff --git a/src/types/EventHandler.d.ts b/src/types/EventHandler.ts similarity index 100% rename from src/types/EventHandler.d.ts rename to src/types/EventHandler.ts diff --git a/src/types/EventHandlerEnum.d.ts b/src/types/EventHandlerEnum.ts similarity index 100% rename from src/types/EventHandlerEnum.d.ts rename to src/types/EventHandlerEnum.ts diff --git a/src/types/GlobalProjection.d.ts b/src/types/GlobalProjection.ts similarity index 100% rename from src/types/GlobalProjection.d.ts rename to src/types/GlobalProjection.ts diff --git a/src/types/LittleEsEvent.d.ts b/src/types/LittleEsEvent.ts similarity index 100% rename from src/types/LittleEsEvent.d.ts rename to src/types/LittleEsEvent.ts diff --git a/src/types/LittleEsEventMetadata.d.ts b/src/types/LittleEsEventMetadata.ts similarity index 100% rename from src/types/LittleEsEventMetadata.d.ts rename to src/types/LittleEsEventMetadata.ts diff --git a/src/types/NamedProjection.d.ts b/src/types/NamedProjection.ts similarity index 100% rename from src/types/NamedProjection.d.ts rename to src/types/NamedProjection.ts diff --git a/src/types/PersistanceHandler.d.ts b/src/types/PersistanceHandler.ts similarity index 100% rename from src/types/PersistanceHandler.d.ts rename to src/types/PersistanceHandler.ts diff --git a/src/types/PersistedAggregate.d.ts b/src/types/PersistedAggregate.ts similarity index 100% rename from src/types/PersistedAggregate.d.ts rename to src/types/PersistedAggregate.ts diff --git a/src/types/PublishingHandler.d.ts b/src/types/PublishingHandler.ts similarity index 100% rename from src/types/PublishingHandler.d.ts rename to src/types/PublishingHandler.ts diff --git a/src/types/Snapshot.d.ts b/src/types/Snapshot.ts similarity index 100% rename from src/types/Snapshot.d.ts rename to src/types/Snapshot.ts diff --git a/tsconfig.json b/tsconfig.json index e2bb74c..cdff36b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -41,7 +41,7 @@ "types": [], "typeRoots": ["node_modules/@types", "src/types"] }, - "include": ["src/**/*.ts"], + "include": ["src/**/*.ts", "src/types/**/*.d.ts"], "exclude": ["node_modules/**"], "compileOnSave": false }