@artinstack/migrator 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ import { N as NormalizedPost, a as NormalizedPage, b as NormalizedAsset, c as NormalizedPortfolio, d as NormalizedCategory, e as NormalizedTag, f as NormalizedEntity } from './types-DWOP8Dcy.js';
2
+
3
+ interface EntityBundle {
4
+ posts: NormalizedPost[];
5
+ pages: NormalizedPage[];
6
+ media: NormalizedAsset[];
7
+ portfolios: NormalizedPortfolio[];
8
+ categories: NormalizedCategory[];
9
+ tags: NormalizedTag[];
10
+ }
11
+ declare function emptyBundle(): EntityBundle;
12
+ declare function collectEntities(entities: AsyncIterable<NormalizedEntity>): Promise<EntityBundle>;
13
+ interface BundleCounts {
14
+ posts: number;
15
+ pages: number;
16
+ assets: number;
17
+ portfolios: number;
18
+ categories: number;
19
+ tags: number;
20
+ }
21
+ declare function bundleCounts(bundle: EntityBundle): BundleCounts;
22
+
23
+ export { type BundleCounts as B, type EntityBundle as E, bundleCounts as b, collectEntities as c, emptyBundle as e };