Skip to content

Commit

Permalink
refactor: export domain entity types
Browse files Browse the repository at this point in the history
  • Loading branch information
boan-anbo committed Nov 27, 2023
1 parent 885ce43 commit a847f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cantos/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {UserStory} from "@src/stories/stories.ts";
import {StoryScript} from "@src/stories/story-types.ts";
import {DomainDef, DomainObjectsDef, UserDomain} from "@src/stories/interfaces.ts";
import {DomainDef, DomainObjectsDef, UserDomain, DomainEntity, DomainEvent, DomainCommand} from "@src/stories/interfaces.ts";
// import and export entrance as Acts or A
import * as entrance from "./entrance.ts";
import {CommonScences, CommonTest, customizeCommonTests} from "./commons.ts";
Expand All @@ -14,7 +14,7 @@ export {entrance as Cantos, entrance as C};


// Export types for story
export type {StoryScript, UserStory, DomainObjectsDef, DomainDef, UserDomain}
export type {StoryScript, UserStory, DomainObjectsDef, DomainDef, UserDomain, DomainEntity, DomainEvent, DomainCommand}

// export Common Test helpers
export {CommonScences as CS, CommonTest as CT, CommonScences, CommonTest, customizeCommonTests}
Expand Down

0 comments on commit a847f52

Please sign in to comment.