@artinstack/migrator 0.1.1 → 0.1.3
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 +65 -8
- package/dist/{bundle-DYPSKSQH.d.ts → bundle-DfM_jKbq.d.ts} +1 -1
- package/dist/chunk-2PNSVE5Y.js +67 -0
- package/dist/chunk-2PNSVE5Y.js.map +1 -0
- package/dist/{chunk-5QEF5O5T.js → chunk-3YJFSTYR.js} +2 -2
- package/dist/chunk-3YJFSTYR.js.map +1 -0
- package/dist/{chunk-LKNIQQJO.js → chunk-HH7666MQ.js} +13 -65
- package/dist/chunk-HH7666MQ.js.map +1 -0
- package/dist/{chunk-JKDRTL24.js → chunk-HI7JHWZU.js} +1 -1
- package/dist/chunk-HI7JHWZU.js.map +1 -0
- package/dist/chunk-QEXTXHFG.js +2444 -0
- package/dist/chunk-QEXTXHFG.js.map +1 -0
- package/dist/cli/index.js +23 -8
- package/dist/cli/index.js.map +1 -1
- package/dist/{index-CtRzFhUw.d.ts → index-D88mjcF5.d.ts} +1 -1
- package/dist/index.d.ts +219 -4
- package/dist/index.js +26 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/index.js +15 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/normalizer/index.d.ts +65 -65
- package/dist/normalizer/index.js +2 -2
- package/dist/sinks/index.d.ts +2 -2
- package/dist/sinks/index.js +3 -2
- package/package.json +5 -1
- package/dist/chunk-5QEF5O5T.js.map +0 -1
- package/dist/chunk-FXXKLYO5.js +0 -1076
- package/dist/chunk-FXXKLYO5.js.map +0 -1
- package/dist/chunk-JKDRTL24.js.map +0 -1
- package/dist/chunk-LKNIQQJO.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as MigrationCursor, b as EntityKey, E as EntityBundle, P as PortfolioMediaLink, V as ValidationResult } from '../bundle-
|
|
2
|
-
export { A as AdapterContext, B as BundleCounts, c as EntityType, M as MigrationAdapter, a as MigrationPlatform, N as NormalizedAsset, e as NormalizedAssetExif, f as NormalizedCategory, g as NormalizedEntity, h as NormalizedPage, i as NormalizedPortfolio, j as NormalizedPost, k as NormalizedTag, l as PublishStatus, S as SourceMetadata, m as ValidationIssue, n as bundleCounts, o as collectEntities, p as emptyBundle, q as entityKey } from '../bundle-
|
|
1
|
+
import { d as MigrationCursor, b as EntityKey, E as EntityBundle, P as PortfolioMediaLink, V as ValidationResult } from '../bundle-DfM_jKbq.js';
|
|
2
|
+
export { A as AdapterContext, B as BundleCounts, c as EntityType, M as MigrationAdapter, a as MigrationPlatform, N as NormalizedAsset, e as NormalizedAssetExif, f as NormalizedCategory, g as NormalizedEntity, h as NormalizedPage, i as NormalizedPortfolio, j as NormalizedPost, k as NormalizedTag, l as PublishStatus, S as SourceMetadata, m as ValidationIssue, n as bundleCounts, o as collectEntities, p as emptyBundle, q as entityKey } from '../bundle-DfM_jKbq.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/** Portable entity state for resume / idempotency (not Directus field names). */
|
|
@@ -22,19 +22,19 @@ declare function shouldProcessEntity(key: EntityKey, entities: TrackedEntity[]):
|
|
|
22
22
|
declare function buildPortfolioMediaLinks(bundle: EntityBundle): PortfolioMediaLink[];
|
|
23
23
|
|
|
24
24
|
declare const sourceMetadataSchema: z.ZodObject<{
|
|
25
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
25
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
26
26
|
id: z.ZodString;
|
|
27
27
|
url: z.ZodOptional<z.ZodString>;
|
|
28
28
|
path: z.ZodOptional<z.ZodString>;
|
|
29
29
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
31
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
32
32
|
id: string;
|
|
33
33
|
url?: string | undefined;
|
|
34
34
|
path?: string | undefined;
|
|
35
35
|
exportedAt?: string | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
37
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
38
38
|
id: string;
|
|
39
39
|
url?: string | undefined;
|
|
40
40
|
path?: string | undefined;
|
|
@@ -43,19 +43,19 @@ declare const sourceMetadataSchema: z.ZodObject<{
|
|
|
43
43
|
declare const normalizedPostSchema: z.ZodObject<{
|
|
44
44
|
type: z.ZodLiteral<"post">;
|
|
45
45
|
source: z.ZodObject<{
|
|
46
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
46
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
47
47
|
id: z.ZodString;
|
|
48
48
|
url: z.ZodOptional<z.ZodString>;
|
|
49
49
|
path: z.ZodOptional<z.ZodString>;
|
|
50
50
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
52
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
53
53
|
id: string;
|
|
54
54
|
url?: string | undefined;
|
|
55
55
|
path?: string | undefined;
|
|
56
56
|
exportedAt?: string | undefined;
|
|
57
57
|
}, {
|
|
58
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
58
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
59
59
|
id: string;
|
|
60
60
|
url?: string | undefined;
|
|
61
61
|
path?: string | undefined;
|
|
@@ -78,7 +78,7 @@ declare const normalizedPostSchema: z.ZodObject<{
|
|
|
78
78
|
type: "post";
|
|
79
79
|
status: "draft" | "published" | "archived";
|
|
80
80
|
source: {
|
|
81
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
81
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
82
82
|
id: string;
|
|
83
83
|
url?: string | undefined;
|
|
84
84
|
path?: string | undefined;
|
|
@@ -100,7 +100,7 @@ declare const normalizedPostSchema: z.ZodObject<{
|
|
|
100
100
|
type: "post";
|
|
101
101
|
status: "draft" | "published" | "archived";
|
|
102
102
|
source: {
|
|
103
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
103
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
104
104
|
id: string;
|
|
105
105
|
url?: string | undefined;
|
|
106
106
|
path?: string | undefined;
|
|
@@ -122,19 +122,19 @@ declare const normalizedPostSchema: z.ZodObject<{
|
|
|
122
122
|
declare const normalizedPageSchema: z.ZodObject<{
|
|
123
123
|
type: z.ZodLiteral<"page">;
|
|
124
124
|
source: z.ZodObject<{
|
|
125
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
125
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
126
126
|
id: z.ZodString;
|
|
127
127
|
url: z.ZodOptional<z.ZodString>;
|
|
128
128
|
path: z.ZodOptional<z.ZodString>;
|
|
129
129
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
131
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
132
132
|
id: string;
|
|
133
133
|
url?: string | undefined;
|
|
134
134
|
path?: string | undefined;
|
|
135
135
|
exportedAt?: string | undefined;
|
|
136
136
|
}, {
|
|
137
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
137
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
138
138
|
id: string;
|
|
139
139
|
url?: string | undefined;
|
|
140
140
|
path?: string | undefined;
|
|
@@ -153,7 +153,7 @@ declare const normalizedPageSchema: z.ZodObject<{
|
|
|
153
153
|
type: "page";
|
|
154
154
|
status: "draft" | "published" | "archived";
|
|
155
155
|
source: {
|
|
156
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
156
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
157
157
|
id: string;
|
|
158
158
|
url?: string | undefined;
|
|
159
159
|
path?: string | undefined;
|
|
@@ -171,7 +171,7 @@ declare const normalizedPageSchema: z.ZodObject<{
|
|
|
171
171
|
type: "page";
|
|
172
172
|
status: "draft" | "published" | "archived";
|
|
173
173
|
source: {
|
|
174
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
174
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
175
175
|
id: string;
|
|
176
176
|
url?: string | undefined;
|
|
177
177
|
path?: string | undefined;
|
|
@@ -205,19 +205,19 @@ declare const normalizedAssetExifSchema: z.ZodObject<{
|
|
|
205
205
|
declare const normalizedAssetSchema: z.ZodObject<{
|
|
206
206
|
type: z.ZodLiteral<"asset">;
|
|
207
207
|
source: z.ZodObject<{
|
|
208
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
208
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
209
209
|
id: z.ZodString;
|
|
210
210
|
url: z.ZodOptional<z.ZodString>;
|
|
211
211
|
path: z.ZodOptional<z.ZodString>;
|
|
212
212
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
214
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
215
215
|
id: string;
|
|
216
216
|
url?: string | undefined;
|
|
217
217
|
path?: string | undefined;
|
|
218
218
|
exportedAt?: string | undefined;
|
|
219
219
|
}, {
|
|
220
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
220
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
221
221
|
id: string;
|
|
222
222
|
url?: string | undefined;
|
|
223
223
|
path?: string | undefined;
|
|
@@ -251,7 +251,7 @@ declare const normalizedAssetSchema: z.ZodObject<{
|
|
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
|
252
252
|
type: "asset";
|
|
253
253
|
source: {
|
|
254
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
254
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
255
255
|
id: string;
|
|
256
256
|
url?: string | undefined;
|
|
257
257
|
path?: string | undefined;
|
|
@@ -275,7 +275,7 @@ declare const normalizedAssetSchema: z.ZodObject<{
|
|
|
275
275
|
}, {
|
|
276
276
|
type: "asset";
|
|
277
277
|
source: {
|
|
278
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
278
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
279
279
|
id: string;
|
|
280
280
|
url?: string | undefined;
|
|
281
281
|
path?: string | undefined;
|
|
@@ -300,19 +300,19 @@ declare const normalizedAssetSchema: z.ZodObject<{
|
|
|
300
300
|
declare const normalizedPortfolioSchema: z.ZodObject<{
|
|
301
301
|
type: z.ZodLiteral<"portfolio">;
|
|
302
302
|
source: z.ZodObject<{
|
|
303
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
303
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
304
304
|
id: z.ZodString;
|
|
305
305
|
url: z.ZodOptional<z.ZodString>;
|
|
306
306
|
path: z.ZodOptional<z.ZodString>;
|
|
307
307
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
309
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
310
310
|
id: string;
|
|
311
311
|
url?: string | undefined;
|
|
312
312
|
path?: string | undefined;
|
|
313
313
|
exportedAt?: string | undefined;
|
|
314
314
|
}, {
|
|
315
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
315
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
316
316
|
id: string;
|
|
317
317
|
url?: string | undefined;
|
|
318
318
|
path?: string | undefined;
|
|
@@ -326,7 +326,7 @@ declare const normalizedPortfolioSchema: z.ZodObject<{
|
|
|
326
326
|
}, "strip", z.ZodTypeAny, {
|
|
327
327
|
type: "portfolio";
|
|
328
328
|
source: {
|
|
329
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
329
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
330
330
|
id: string;
|
|
331
331
|
url?: string | undefined;
|
|
332
332
|
path?: string | undefined;
|
|
@@ -340,7 +340,7 @@ declare const normalizedPortfolioSchema: z.ZodObject<{
|
|
|
340
340
|
}, {
|
|
341
341
|
type: "portfolio";
|
|
342
342
|
source: {
|
|
343
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
343
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
344
344
|
id: string;
|
|
345
345
|
url?: string | undefined;
|
|
346
346
|
path?: string | undefined;
|
|
@@ -355,19 +355,19 @@ declare const normalizedPortfolioSchema: z.ZodObject<{
|
|
|
355
355
|
declare const normalizedCategorySchema: z.ZodObject<{
|
|
356
356
|
type: z.ZodLiteral<"category">;
|
|
357
357
|
source: z.ZodObject<{
|
|
358
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
358
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
359
359
|
id: z.ZodString;
|
|
360
360
|
url: z.ZodOptional<z.ZodString>;
|
|
361
361
|
path: z.ZodOptional<z.ZodString>;
|
|
362
362
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
363
363
|
}, "strip", z.ZodTypeAny, {
|
|
364
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
364
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
365
365
|
id: string;
|
|
366
366
|
url?: string | undefined;
|
|
367
367
|
path?: string | undefined;
|
|
368
368
|
exportedAt?: string | undefined;
|
|
369
369
|
}, {
|
|
370
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
370
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
371
371
|
id: string;
|
|
372
372
|
url?: string | undefined;
|
|
373
373
|
path?: string | undefined;
|
|
@@ -379,7 +379,7 @@ declare const normalizedCategorySchema: z.ZodObject<{
|
|
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
|
380
380
|
type: "category";
|
|
381
381
|
source: {
|
|
382
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
382
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
383
383
|
id: string;
|
|
384
384
|
url?: string | undefined;
|
|
385
385
|
path?: string | undefined;
|
|
@@ -391,7 +391,7 @@ declare const normalizedCategorySchema: z.ZodObject<{
|
|
|
391
391
|
}, {
|
|
392
392
|
type: "category";
|
|
393
393
|
source: {
|
|
394
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
394
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
395
395
|
id: string;
|
|
396
396
|
url?: string | undefined;
|
|
397
397
|
path?: string | undefined;
|
|
@@ -404,19 +404,19 @@ declare const normalizedCategorySchema: z.ZodObject<{
|
|
|
404
404
|
declare const normalizedTagSchema: z.ZodObject<{
|
|
405
405
|
type: z.ZodLiteral<"tag">;
|
|
406
406
|
source: z.ZodObject<{
|
|
407
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
407
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
408
408
|
id: z.ZodString;
|
|
409
409
|
url: z.ZodOptional<z.ZodString>;
|
|
410
410
|
path: z.ZodOptional<z.ZodString>;
|
|
411
411
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
413
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
414
414
|
id: string;
|
|
415
415
|
url?: string | undefined;
|
|
416
416
|
path?: string | undefined;
|
|
417
417
|
exportedAt?: string | undefined;
|
|
418
418
|
}, {
|
|
419
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
419
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
420
420
|
id: string;
|
|
421
421
|
url?: string | undefined;
|
|
422
422
|
path?: string | undefined;
|
|
@@ -428,7 +428,7 @@ declare const normalizedTagSchema: z.ZodObject<{
|
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
429
|
type: "tag";
|
|
430
430
|
source: {
|
|
431
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
431
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
432
432
|
id: string;
|
|
433
433
|
url?: string | undefined;
|
|
434
434
|
path?: string | undefined;
|
|
@@ -440,7 +440,7 @@ declare const normalizedTagSchema: z.ZodObject<{
|
|
|
440
440
|
}, {
|
|
441
441
|
type: "tag";
|
|
442
442
|
source: {
|
|
443
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
443
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
444
444
|
id: string;
|
|
445
445
|
url?: string | undefined;
|
|
446
446
|
path?: string | undefined;
|
|
@@ -453,19 +453,19 @@ declare const normalizedTagSchema: z.ZodObject<{
|
|
|
453
453
|
declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
454
454
|
type: z.ZodLiteral<"post">;
|
|
455
455
|
source: z.ZodObject<{
|
|
456
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
456
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
457
457
|
id: z.ZodString;
|
|
458
458
|
url: z.ZodOptional<z.ZodString>;
|
|
459
459
|
path: z.ZodOptional<z.ZodString>;
|
|
460
460
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
461
461
|
}, "strip", z.ZodTypeAny, {
|
|
462
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
462
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
463
463
|
id: string;
|
|
464
464
|
url?: string | undefined;
|
|
465
465
|
path?: string | undefined;
|
|
466
466
|
exportedAt?: string | undefined;
|
|
467
467
|
}, {
|
|
468
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
468
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
469
469
|
id: string;
|
|
470
470
|
url?: string | undefined;
|
|
471
471
|
path?: string | undefined;
|
|
@@ -488,7 +488,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
488
488
|
type: "post";
|
|
489
489
|
status: "draft" | "published" | "archived";
|
|
490
490
|
source: {
|
|
491
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
491
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
492
492
|
id: string;
|
|
493
493
|
url?: string | undefined;
|
|
494
494
|
path?: string | undefined;
|
|
@@ -510,7 +510,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
510
510
|
type: "post";
|
|
511
511
|
status: "draft" | "published" | "archived";
|
|
512
512
|
source: {
|
|
513
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
513
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
514
514
|
id: string;
|
|
515
515
|
url?: string | undefined;
|
|
516
516
|
path?: string | undefined;
|
|
@@ -531,19 +531,19 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
531
531
|
}>, z.ZodObject<{
|
|
532
532
|
type: z.ZodLiteral<"page">;
|
|
533
533
|
source: z.ZodObject<{
|
|
534
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
534
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
535
535
|
id: z.ZodString;
|
|
536
536
|
url: z.ZodOptional<z.ZodString>;
|
|
537
537
|
path: z.ZodOptional<z.ZodString>;
|
|
538
538
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
539
539
|
}, "strip", z.ZodTypeAny, {
|
|
540
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
540
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
541
541
|
id: string;
|
|
542
542
|
url?: string | undefined;
|
|
543
543
|
path?: string | undefined;
|
|
544
544
|
exportedAt?: string | undefined;
|
|
545
545
|
}, {
|
|
546
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
546
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
547
547
|
id: string;
|
|
548
548
|
url?: string | undefined;
|
|
549
549
|
path?: string | undefined;
|
|
@@ -562,7 +562,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
562
562
|
type: "page";
|
|
563
563
|
status: "draft" | "published" | "archived";
|
|
564
564
|
source: {
|
|
565
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
565
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
566
566
|
id: string;
|
|
567
567
|
url?: string | undefined;
|
|
568
568
|
path?: string | undefined;
|
|
@@ -580,7 +580,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
580
580
|
type: "page";
|
|
581
581
|
status: "draft" | "published" | "archived";
|
|
582
582
|
source: {
|
|
583
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
583
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
584
584
|
id: string;
|
|
585
585
|
url?: string | undefined;
|
|
586
586
|
path?: string | undefined;
|
|
@@ -597,19 +597,19 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
597
597
|
}>, z.ZodObject<{
|
|
598
598
|
type: z.ZodLiteral<"asset">;
|
|
599
599
|
source: z.ZodObject<{
|
|
600
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
600
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
601
601
|
id: z.ZodString;
|
|
602
602
|
url: z.ZodOptional<z.ZodString>;
|
|
603
603
|
path: z.ZodOptional<z.ZodString>;
|
|
604
604
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
605
605
|
}, "strip", z.ZodTypeAny, {
|
|
606
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
606
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
607
607
|
id: string;
|
|
608
608
|
url?: string | undefined;
|
|
609
609
|
path?: string | undefined;
|
|
610
610
|
exportedAt?: string | undefined;
|
|
611
611
|
}, {
|
|
612
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
612
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
613
613
|
id: string;
|
|
614
614
|
url?: string | undefined;
|
|
615
615
|
path?: string | undefined;
|
|
@@ -643,7 +643,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
643
643
|
}, "strip", z.ZodTypeAny, {
|
|
644
644
|
type: "asset";
|
|
645
645
|
source: {
|
|
646
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
646
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
647
647
|
id: string;
|
|
648
648
|
url?: string | undefined;
|
|
649
649
|
path?: string | undefined;
|
|
@@ -667,7 +667,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
667
667
|
}, {
|
|
668
668
|
type: "asset";
|
|
669
669
|
source: {
|
|
670
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
670
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
671
671
|
id: string;
|
|
672
672
|
url?: string | undefined;
|
|
673
673
|
path?: string | undefined;
|
|
@@ -691,19 +691,19 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
691
691
|
}>, z.ZodObject<{
|
|
692
692
|
type: z.ZodLiteral<"portfolio">;
|
|
693
693
|
source: z.ZodObject<{
|
|
694
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
694
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
695
695
|
id: z.ZodString;
|
|
696
696
|
url: z.ZodOptional<z.ZodString>;
|
|
697
697
|
path: z.ZodOptional<z.ZodString>;
|
|
698
698
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
699
699
|
}, "strip", z.ZodTypeAny, {
|
|
700
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
700
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
701
701
|
id: string;
|
|
702
702
|
url?: string | undefined;
|
|
703
703
|
path?: string | undefined;
|
|
704
704
|
exportedAt?: string | undefined;
|
|
705
705
|
}, {
|
|
706
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
706
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
707
707
|
id: string;
|
|
708
708
|
url?: string | undefined;
|
|
709
709
|
path?: string | undefined;
|
|
@@ -717,7 +717,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
717
717
|
}, "strip", z.ZodTypeAny, {
|
|
718
718
|
type: "portfolio";
|
|
719
719
|
source: {
|
|
720
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
720
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
721
721
|
id: string;
|
|
722
722
|
url?: string | undefined;
|
|
723
723
|
path?: string | undefined;
|
|
@@ -731,7 +731,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
731
731
|
}, {
|
|
732
732
|
type: "portfolio";
|
|
733
733
|
source: {
|
|
734
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
734
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
735
735
|
id: string;
|
|
736
736
|
url?: string | undefined;
|
|
737
737
|
path?: string | undefined;
|
|
@@ -745,19 +745,19 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
745
745
|
}>, z.ZodObject<{
|
|
746
746
|
type: z.ZodLiteral<"category">;
|
|
747
747
|
source: z.ZodObject<{
|
|
748
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
748
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
749
749
|
id: z.ZodString;
|
|
750
750
|
url: z.ZodOptional<z.ZodString>;
|
|
751
751
|
path: z.ZodOptional<z.ZodString>;
|
|
752
752
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
753
753
|
}, "strip", z.ZodTypeAny, {
|
|
754
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
754
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
755
755
|
id: string;
|
|
756
756
|
url?: string | undefined;
|
|
757
757
|
path?: string | undefined;
|
|
758
758
|
exportedAt?: string | undefined;
|
|
759
759
|
}, {
|
|
760
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
760
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
761
761
|
id: string;
|
|
762
762
|
url?: string | undefined;
|
|
763
763
|
path?: string | undefined;
|
|
@@ -769,7 +769,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
769
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
770
|
type: "category";
|
|
771
771
|
source: {
|
|
772
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
772
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
773
773
|
id: string;
|
|
774
774
|
url?: string | undefined;
|
|
775
775
|
path?: string | undefined;
|
|
@@ -781,7 +781,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
781
781
|
}, {
|
|
782
782
|
type: "category";
|
|
783
783
|
source: {
|
|
784
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
784
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
785
785
|
id: string;
|
|
786
786
|
url?: string | undefined;
|
|
787
787
|
path?: string | undefined;
|
|
@@ -793,19 +793,19 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
793
793
|
}>, z.ZodObject<{
|
|
794
794
|
type: z.ZodLiteral<"tag">;
|
|
795
795
|
source: z.ZodObject<{
|
|
796
|
-
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace"]>;
|
|
796
|
+
platform: z.ZodEnum<["wordpress", "smugmug", "squarespace", "wix"]>;
|
|
797
797
|
id: z.ZodString;
|
|
798
798
|
url: z.ZodOptional<z.ZodString>;
|
|
799
799
|
path: z.ZodOptional<z.ZodString>;
|
|
800
800
|
exportedAt: z.ZodOptional<z.ZodString>;
|
|
801
801
|
}, "strip", z.ZodTypeAny, {
|
|
802
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
802
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
803
803
|
id: string;
|
|
804
804
|
url?: string | undefined;
|
|
805
805
|
path?: string | undefined;
|
|
806
806
|
exportedAt?: string | undefined;
|
|
807
807
|
}, {
|
|
808
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
808
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
809
809
|
id: string;
|
|
810
810
|
url?: string | undefined;
|
|
811
811
|
path?: string | undefined;
|
|
@@ -817,7 +817,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
817
817
|
}, "strip", z.ZodTypeAny, {
|
|
818
818
|
type: "tag";
|
|
819
819
|
source: {
|
|
820
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
820
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
821
821
|
id: string;
|
|
822
822
|
url?: string | undefined;
|
|
823
823
|
path?: string | undefined;
|
|
@@ -829,7 +829,7 @@ declare const normalizedEntitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
829
829
|
}, {
|
|
830
830
|
type: "tag";
|
|
831
831
|
source: {
|
|
832
|
-
platform: "wordpress" | "smugmug" | "squarespace";
|
|
832
|
+
platform: "wordpress" | "smugmug" | "squarespace" | "wix";
|
|
833
833
|
id: string;
|
|
834
834
|
url?: string | undefined;
|
|
835
835
|
path?: string | undefined;
|
package/dist/normalizer/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
validateNormalizedPortfolio,
|
|
16
16
|
validateNormalizedPost,
|
|
17
17
|
validateNormalizedTag
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-3YJFSTYR.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPortfolioMediaLinks,
|
|
21
21
|
bundleCounts,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
entityKey,
|
|
25
25
|
isTerminalState,
|
|
26
26
|
shouldProcessEntity
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-HI7JHWZU.js";
|
|
28
28
|
export {
|
|
29
29
|
buildPortfolioMediaLinks,
|
|
30
30
|
bundleCounts,
|
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-D88mjcF5.js';
|
|
2
|
+
import '../bundle-DfM_jKbq.js';
|
|
3
3
|
import 'node:stream';
|
package/dist/sinks/index.js
CHANGED
|
@@ -19,8 +19,9 @@ import {
|
|
|
19
19
|
runMigrationFromBundle,
|
|
20
20
|
staleUrlsFromEstimate,
|
|
21
21
|
writeFilesystemExport
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-HH7666MQ.js";
|
|
23
|
+
import "../chunk-HI7JHWZU.js";
|
|
24
|
+
import "../chunk-2PNSVE5Y.js";
|
|
24
25
|
export {
|
|
25
26
|
FALLBACK_ASSET_BYTES,
|
|
26
27
|
FilesystemMigrationSink,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artinstack/migrator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Stateless content normalizer and migration framework — WordPress, SmugMug, Squarespace → platform-agnostic schema",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ArtInStack",
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
"./sinks": {
|
|
43
43
|
"types": "./dist/sinks/index.d.ts",
|
|
44
44
|
"import": "./dist/sinks/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./lib": {
|
|
47
|
+
"types": "./dist/lib/index.d.ts",
|
|
48
|
+
"import": "./dist/lib/index.js"
|
|
45
49
|
}
|
|
46
50
|
},
|
|
47
51
|
"bin": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/normalizer/validate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport type { ValidationIssue, ValidationResult } from \"./types.js\";\n\nconst migrationPlatformSchema = z.enum([\"wordpress\", \"smugmug\", \"squarespace\"]);\nconst publishStatusSchema = z.enum([\"draft\", \"published\", \"archived\"]);\n\nexport const sourceMetadataSchema = z.object({\n platform: migrationPlatformSchema,\n id: z.string().min(1),\n url: z.string().optional(),\n path: z.string().optional(),\n exportedAt: z.string().optional(),\n});\n\nexport const normalizedPostSchema = z.object({\n type: z.literal(\"post\"),\n source: sourceMetadataSchema,\n sourceId: z.string().min(1),\n title: z.string().min(1),\n slug: z.string().min(1),\n excerpt: z.string().optional(),\n contentHtml: z.string(),\n publishedAt: z.string().optional(),\n status: publishStatusSchema,\n categorySlugs: z.array(z.string().min(1)).optional(),\n tagSlugs: z.array(z.string().min(1)).optional(),\n sourceFeaturedMediaId: z.string().optional(),\n featuredAssetSourceId: z.string().optional(),\n seoTitle: z.string().optional(),\n seoDescription: z.string().optional(),\n});\n\nexport const normalizedPageSchema = z.object({\n type: z.literal(\"page\"),\n source: sourceMetadataSchema,\n sourceId: z.string().min(1),\n title: z.string().min(1),\n slug: z.string().min(1),\n contentHtml: z.string(),\n contentCss: z.string().optional(),\n isHomePage: z.boolean().optional(),\n status: publishStatusSchema,\n seoTitle: z.string().optional(),\n seoDescription: z.string().optional(),\n});\n\nexport const normalizedAssetExifSchema = z.object({\n iso: z.number().optional(),\n aperture: z.number().optional(),\n shutter: z.string().optional(),\n focalLength: z.number().optional(),\n});\n\nexport const normalizedAssetSchema = z.object({\n type: z.literal(\"asset\"),\n source: sourceMetadataSchema,\n sourceId: z.string().min(1),\n sourceUrl: z.string().min(1),\n filename: z.string().min(1),\n mimeType: z.string().optional(),\n caption: z.string().optional(),\n altText: z.string().optional(),\n keywords: z.array(z.string()).optional(),\n exif: normalizedAssetExifSchema.optional(),\n portfolioSourceId: z.string().optional(),\n sort: z.number().optional(),\n});\n\nexport const normalizedPortfolioSchema = z.object({\n type: z.literal(\"portfolio\"),\n source: sourceMetadataSchema,\n sourceId: z.string().min(1),\n title: z.string().min(1),\n slug: z.string().min(1),\n description: z.string().optional(),\n parentSourceId: z.string().optional(),\n});\n\nexport const normalizedCategorySchema = z.object({\n type: z.literal(\"category\"),\n source: sourceMetadataSchema,\n sourceId: z.string().min(1),\n name: z.string().min(1),\n slug: z.string().min(1),\n});\n\nexport const normalizedTagSchema = z.object({\n type: z.literal(\"tag\"),\n source: sourceMetadataSchema,\n sourceId: z.string().min(1),\n name: z.string().min(1),\n slug: z.string().min(1),\n});\n\nexport const normalizedEntitySchema = z.discriminatedUnion(\"type\", [\n normalizedPostSchema,\n normalizedPageSchema,\n normalizedAssetSchema,\n normalizedPortfolioSchema,\n normalizedCategorySchema,\n normalizedTagSchema,\n]);\n\nfunction zodIssuesToValidationIssues(issues: z.ZodIssue[]): ValidationIssue[] {\n return issues.map((issue) => ({\n code: issue.code,\n message: issue.message,\n path: issue.path.length > 0 ? issue.path.join(\".\") : undefined,\n }));\n}\n\nfunction parseToValidationResult(schema: z.ZodTypeAny, value: unknown): ValidationResult {\n const result = schema.safeParse(value);\n if (result.success) {\n return { ok: true, issues: [] };\n }\n return { ok: false, issues: zodIssuesToValidationIssues(result.error.issues) };\n}\n\n/** Opt-in structural check for a normalized post DTO (no cross-entity FK validation). */\nexport function validateNormalizedPost(post: unknown): ValidationResult {\n return parseToValidationResult(normalizedPostSchema, post);\n}\n\n/** Opt-in structural check for a normalized page DTO (no cross-entity FK validation). */\nexport function validateNormalizedPage(page: unknown): ValidationResult {\n return parseToValidationResult(normalizedPageSchema, page);\n}\n\n/** Opt-in structural check for a normalized asset DTO. */\nexport function validateNormalizedAsset(asset: unknown): ValidationResult {\n return parseToValidationResult(normalizedAssetSchema, asset);\n}\n\n/** Opt-in structural check for a normalized portfolio DTO. */\nexport function validateNormalizedPortfolio(portfolio: unknown): ValidationResult {\n return parseToValidationResult(normalizedPortfolioSchema, portfolio);\n}\n\n/** Opt-in structural check for a normalized category DTO. */\nexport function validateNormalizedCategory(category: unknown): ValidationResult {\n return parseToValidationResult(normalizedCategorySchema, category);\n}\n\n/** Opt-in structural check for a normalized tag DTO. */\nexport function validateNormalizedTag(tag: unknown): ValidationResult {\n return parseToValidationResult(normalizedTagSchema, tag);\n}\n\n/** Opt-in structural check for any normalized entity discriminated by `type`. */\nexport function validateNormalizedEntity(entity: unknown): ValidationResult {\n return parseToValidationResult(normalizedEntitySchema, entity);\n}\n"],"mappings":";AAAA,SAAS,SAAS;AAIlB,IAAM,0BAA0B,EAAE,KAAK,CAAC,aAAa,WAAW,aAAa,CAAC;AAC9E,IAAM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