@artinstack/migrator 0.1.0 → 0.1.1
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.
- package/README.md +1 -1
- package/dist/{bundle-BfZqiKV_.d.ts → bundle-DYPSKSQH.d.ts} +1 -1
- package/dist/chunk-5QEF5O5T.js +147 -0
- package/dist/chunk-5QEF5O5T.js.map +1 -0
- package/dist/{index-DQNzrygx.d.ts → index-CtRzFhUw.d.ts} +1 -1
- package/dist/index.d.ts +57 -5
- package/dist/index.js +106 -1
- package/dist/index.js.map +1 -1
- package/dist/normalizer/index.d.ts +837 -3
- package/dist/normalizer/index.js +35 -2
- package/dist/sinks/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-2RWAXT6O.js +0 -1
- package/dist/chunk-2RWAXT6O.js.map +0 -1
package/dist/normalizer/index.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
normalizedAssetExifSchema,
|
|
3
|
+
normalizedAssetSchema,
|
|
4
|
+
normalizedCategorySchema,
|
|
5
|
+
normalizedEntitySchema,
|
|
6
|
+
normalizedPageSchema,
|
|
7
|
+
normalizedPortfolioSchema,
|
|
8
|
+
normalizedPostSchema,
|
|
9
|
+
normalizedTagSchema,
|
|
10
|
+
sourceMetadataSchema,
|
|
11
|
+
validateNormalizedAsset,
|
|
12
|
+
validateNormalizedCategory,
|
|
13
|
+
validateNormalizedEntity,
|
|
14
|
+
validateNormalizedPage,
|
|
15
|
+
validateNormalizedPortfolio,
|
|
16
|
+
validateNormalizedPost,
|
|
17
|
+
validateNormalizedTag
|
|
18
|
+
} from "../chunk-5QEF5O5T.js";
|
|
2
19
|
import {
|
|
3
20
|
buildPortfolioMediaLinks,
|
|
4
21
|
bundleCounts,
|
|
@@ -15,6 +32,22 @@ export {
|
|
|
15
32
|
emptyBundle,
|
|
16
33
|
entityKey,
|
|
17
34
|
isTerminalState,
|
|
18
|
-
|
|
35
|
+
normalizedAssetExifSchema,
|
|
36
|
+
normalizedAssetSchema,
|
|
37
|
+
normalizedCategorySchema,
|
|
38
|
+
normalizedEntitySchema,
|
|
39
|
+
normalizedPageSchema,
|
|
40
|
+
normalizedPortfolioSchema,
|
|
41
|
+
normalizedPostSchema,
|
|
42
|
+
normalizedTagSchema,
|
|
43
|
+
shouldProcessEntity,
|
|
44
|
+
sourceMetadataSchema,
|
|
45
|
+
validateNormalizedAsset,
|
|
46
|
+
validateNormalizedCategory,
|
|
47
|
+
validateNormalizedEntity,
|
|
48
|
+
validateNormalizedPage,
|
|
49
|
+
validateNormalizedPortfolio,
|
|
50
|
+
validateNormalizedPost,
|
|
51
|
+
validateNormalizedTag
|
|
19
52
|
};
|
|
20
53
|
//# sourceMappingURL=index.js.map
|
package/dist/sinks/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as ConflictReport, D as DryRunOptions, a as DryRunResult, F as FALLBACK_ASSET_BYTES, b as FilesystemMigrationSink, M as MIGRATION_WRITE_STAGES, c as MigrationRedirect, d as MigrationReport, e as MigrationRunMode, f as MigrationRunOptions, g as MigrationRunResult, h as MigrationSink, i as MigrationWriteStage, j as RewriteInlineImagesOptions, k as RewriteInlineImagesResult, S as StorageEstimate, U as UploadAssetInput, l as UploadAssetResult, W as WriteFilesystemOptions, n as analyzeConflicts, o as buildMigrationReport, p as buildRedirectMap, q as bundleToCombinedJson, r as createFilesystemMigrationSink, s as detectRedirectLoops, t as emptyConflictReport, u as estimateStorage, v as hasBlockingConflicts, w as hasWarnings, x as portfolioMediaMatchesBundle, y as rewriteInlineImages, z as runDryRun, A as runMigration, B as runMigrationFromBundle, E as staleUrlsFromEstimate, G as writeFilesystemExport } from '../index-
|
|
2
|
-
import '../bundle-
|
|
1
|
+
export { C as ConflictReport, D as DryRunOptions, a as DryRunResult, F as FALLBACK_ASSET_BYTES, b as FilesystemMigrationSink, M as MIGRATION_WRITE_STAGES, c as MigrationRedirect, d as MigrationReport, e as MigrationRunMode, f as MigrationRunOptions, g as MigrationRunResult, h as MigrationSink, i as MigrationWriteStage, j as RewriteInlineImagesOptions, k as RewriteInlineImagesResult, S as StorageEstimate, U as UploadAssetInput, l as UploadAssetResult, W as WriteFilesystemOptions, n as analyzeConflicts, o as buildMigrationReport, p as buildRedirectMap, q as bundleToCombinedJson, r as createFilesystemMigrationSink, s as detectRedirectLoops, t as emptyConflictReport, u as estimateStorage, v as hasBlockingConflicts, w as hasWarnings, x as portfolioMediaMatchesBundle, y as rewriteInlineImages, z as runDryRun, A as runMigration, B as runMigrationFromBundle, E as staleUrlsFromEstimate, G as writeFilesystemExport } from '../index-CtRzFhUw.js';
|
|
2
|
+
import '../bundle-DYPSKSQH.js';
|
|
3
3
|
import 'node:stream';
|
package/package.json
CHANGED
package/dist/chunk-2RWAXT6O.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-2RWAXT6O.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|