|
1 | | -import type { Constructor } from "../utils/types"; |
2 | 1 | import { InMemoryEntity } from "./in_memory"; |
3 | | -import { type Defaultable } from "./mixins/DefaultableMixin"; |
4 | | -import { type HasConsistencyChecks } from "./mixins/HasConsistencyChecksMixin"; |
5 | | -import { type HasMetadata } from "./mixins/HasMetadataMixin"; |
6 | | -import { type NamedEntity } from "./mixins/NamedEntityMixin"; |
7 | | -type DefaultableBase = typeof InMemoryEntity & Constructor<Defaultable>; |
8 | | -type NamedBase = typeof InMemoryEntity & Constructor<NamedEntity>; |
9 | | -type NamedDefaultableBase = typeof InMemoryEntity & Constructor<Defaultable> & Constructor<NamedEntity>; |
10 | | -type HasMetadataNamedDefaultableBase = typeof InMemoryEntity & Constructor<Defaultable> & Constructor<NamedEntity> & Constructor<HasMetadata>; |
11 | | -type HasConsistencyChecksHasMetadataNamedDefaultableInMemoryEntityBase = typeof HasMetadataNamedDefaultableInMemoryEntity & Constructor<HasConsistencyChecks>; |
| 2 | +import { type DefaultableInMemoryEntityConstructor } from "./mixins/DefaultableMixin"; |
| 3 | +import { type HasConsistencyChecksInMemoryEntityConstructor } from "./mixins/HasConsistencyChecksMixin"; |
| 4 | +import { type HasMetadataInMemoryEntityConstructor } from "./mixins/HasMetadataMixin"; |
| 5 | +import { type NamedInMemoryEntityConstructor } from "./mixins/NamedEntityMixin"; |
| 6 | +type DefaultableBase = typeof InMemoryEntity & DefaultableInMemoryEntityConstructor; |
| 7 | +type NamedBase = typeof InMemoryEntity & NamedInMemoryEntityConstructor; |
| 8 | +type NamedDefaultableBase = typeof InMemoryEntity & DefaultableInMemoryEntityConstructor & NamedInMemoryEntityConstructor; |
| 9 | +type HasMetadataNamedDefaultableBase = typeof InMemoryEntity & DefaultableInMemoryEntityConstructor & NamedInMemoryEntityConstructor & HasMetadataInMemoryEntityConstructor; |
| 10 | +type HasConsistencyChecksHasMetadataNamedDefaultableInMemoryEntityBase = typeof InMemoryEntity & DefaultableInMemoryEntityConstructor & NamedInMemoryEntityConstructor & HasConsistencyChecksInMemoryEntityConstructor; |
12 | 11 | declare const DefaultableInMemoryEntity_base: DefaultableBase; |
13 | 12 | export declare class DefaultableInMemoryEntity extends DefaultableInMemoryEntity_base { |
14 | 13 | } |
|
0 commit comments