@replohq/canopy-sdk 0.5.0 → 0.6.0
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/_vendor/replo-utils/lib/geometry.d.ts +18 -0
- package/_vendor/replo-utils/lib/geometry.mjs +9 -0
- package/_vendor/schemas/agentTools/customIntegrations/loaders/product.mjs +1 -1
- package/_vendor/schemas/errors.d.ts +1 -1
- package/_vendor/schemas/errors.mjs +6 -2
- package/_vendor/schemas/generated/selectMode.d.ts +8 -2
- package/_vendor/schemas/objectType.mjs +1 -1
- package/_vendor/schemas/registry.d.ts +187 -9
- package/_vendor/schemas/selectMode.d.ts +41 -2
- package/_vendor/schemas/selectMode.mjs +12 -3
- package/{chunk-77XUQJHY.mjs → chunk-ZLOHRRSZ.mjs} +96 -1
- package/editor/ClientErrorBoundary.d.ts +6 -3
- package/editor/ClientErrorBoundary.js +18 -5
- package/editor/ClientErrorBoundary.js.map +2 -2
- package/editor/NextErrorReporter.d.ts +1 -0
- package/editor/NextErrorReporter.js +63 -0
- package/editor/NextErrorReporter.js.map +7 -0
- package/editor/select-mode/hooks/useSelectModeController.js +2 -1
- package/editor/select-mode/hooks/useSelectModeController.js.map +2 -2
- package/editor/select-mode/hooks/useSelectionInteractions.d.ts +3 -3
- package/editor/select-mode/hooks/useSelectionInteractions.js +54 -16
- package/editor/select-mode/hooks/useSelectionInteractions.js.map +2 -2
- package/editor/select-mode/interactions/selectionGeometry.d.ts +37 -12
- package/editor/select-mode/interactions/selectionGeometry.js +52 -24
- package/editor/select-mode/interactions/selectionGeometry.js.map +2 -2
- package/editor/select-mode/selectionFrame.d.ts +26 -7
- package/editor/select-mode/selectionFrame.js +58 -34
- package/editor/select-mode/selectionFrame.js.map +2 -2
- package/editor/select-mode/symbolicate.js +32 -1
- package/editor/select-mode/symbolicate.js.map +2 -2
- package/package.json +1 -1
- package/providers/replo-provider.js +11 -7
- package/providers/replo-provider.js.map +2 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type GeometryRect = {
|
|
2
|
+
left: number;
|
|
3
|
+
right: number;
|
|
4
|
+
top: number;
|
|
5
|
+
bottom: number;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Whether two axis-aligned rects overlap. `tolerance` expands the test
|
|
9
|
+
* rect on every side, so rects that fall a few pixels short of touching
|
|
10
|
+
* (sub-pixel rendering, borders) still count as intersecting.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isIntersecting(targetRect: GeometryRect, destinationRect: GeometryRect, { tolerance }?: {
|
|
13
|
+
tolerance?: number;
|
|
14
|
+
}): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether `targetRect` wholly contains `testRect`.
|
|
17
|
+
*/
|
|
18
|
+
export declare function isRectEnclosing(targetRect: GeometryRect, testRect: GeometryRect): boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// ../replo-utils/lib/geometry.ts
|
|
2
|
+
function isIntersecting(targetRect, destinationRect, { tolerance = 0 } = {}) {
|
|
3
|
+
return targetRect.left <= destinationRect.right + tolerance && targetRect.right >= destinationRect.left - tolerance && targetRect.top <= destinationRect.bottom + tolerance && targetRect.bottom >= destinationRect.top - tolerance;
|
|
4
|
+
}
|
|
5
|
+
function isRectEnclosing(targetRect, testRect) {
|
|
6
|
+
return targetRect.left <= testRect.left && targetRect.right >= testRect.right && targetRect.top <= testRect.top && targetRect.bottom >= testRect.bottom;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { isIntersecting, isRectEnclosing };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { priceSchema, metafieldSchema, imageSchema, selectedOptionSchema, mediaSchema, productOptionSchema, productSchema } from '../../../../../chunk-
|
|
1
|
+
import { priceSchema, metafieldSchema, imageSchema, selectedOptionSchema, mediaSchema, productOptionSchema, productSchema } from '../../../../../chunk-ZLOHRRSZ.mjs';
|
|
2
2
|
import { sellingPlanGroupSchema } from '../../../../../chunk-4TZVNC3W.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
@@ -66,7 +66,7 @@ export declare class ReploHTTPError extends ReploError {
|
|
|
66
66
|
userFacingDetails: ErrorUserFacingDetails;
|
|
67
67
|
statusCode: number;
|
|
68
68
|
details?: object;
|
|
69
|
-
constructor(config: {
|
|
69
|
+
constructor(config: ReploErrorConfig & {
|
|
70
70
|
statusCode: number;
|
|
71
71
|
userFacingDetails: ErrorUserFacingDetails;
|
|
72
72
|
details?: object;
|
|
@@ -654,8 +654,12 @@ var ReploHTTPError = class extends ReploError {
|
|
|
654
654
|
details;
|
|
655
655
|
constructor(config) {
|
|
656
656
|
super({
|
|
657
|
-
|
|
658
|
-
|
|
657
|
+
...config,
|
|
658
|
+
message: config.message ?? config.userFacingDetails.message,
|
|
659
|
+
additionalData: {
|
|
660
|
+
...config.additionalData,
|
|
661
|
+
statusCode: config.statusCode
|
|
662
|
+
}
|
|
659
663
|
});
|
|
660
664
|
this.statusCode = config.statusCode;
|
|
661
665
|
this.userFacingDetails = config.userFacingDetails;
|
|
@@ -25,6 +25,10 @@ export type SelectModeBoundingRect = {
|
|
|
25
25
|
width: number;
|
|
26
26
|
height: number;
|
|
27
27
|
};
|
|
28
|
+
export type SelectModeSelectionRect = {
|
|
29
|
+
id: string;
|
|
30
|
+
rect: SelectModeBoundingRect;
|
|
31
|
+
};
|
|
28
32
|
export type SelectedElement = {
|
|
29
33
|
kind: "react-element";
|
|
30
34
|
selector: string;
|
|
@@ -61,7 +65,8 @@ export type SelectModeSelection = {
|
|
|
61
65
|
items: SelectableData[];
|
|
62
66
|
} | {
|
|
63
67
|
type: "drag";
|
|
64
|
-
|
|
68
|
+
dragRect: SelectModeBoundingRect;
|
|
69
|
+
selectionRects: SelectModeSelectionRect[];
|
|
65
70
|
};
|
|
66
71
|
export type SelectModeParentMessage = {
|
|
67
72
|
type: "replo:select:setDisplayMode";
|
|
@@ -87,7 +92,8 @@ export type SelectModeIframeMessage = {
|
|
|
87
92
|
rect: SelectModeBoundingRect;
|
|
88
93
|
} | {
|
|
89
94
|
type: "replo:select:dragRectUpdated";
|
|
90
|
-
|
|
95
|
+
dragRect: SelectModeBoundingRect | null;
|
|
96
|
+
selectionRects: SelectModeSelectionRect[];
|
|
91
97
|
} | {
|
|
92
98
|
type: "replo:select:areaSelected";
|
|
93
99
|
rect: SelectModeBoundingRect;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { assetSchema, collectionSchema, customerIoBroadcastSchema, customerIoCampaignSchema, customerIoSegmentSchema, externalVideoSchema, getObjectTypeDefinition, imageSchema, integrationSchema, intelligemsExperienceSchema, levantaAffiliateLinkSchema, levantaProductSchema, looxReviewSchema, mediaImageSchema, mediaSchema, metafieldSchema, okendoReviewSchema, optionValueSchema, optionValueSwatchSchema, opusClipSchema, opusCollectionSchema, opusProjectSchema, pageSchema, planSchema, previewImageSchema, priceSchema, productOptionSchema, productSchema, registryItemSchema, segmentSourceSchema, selectedOptionSchema, transformReploProductToCanonical, variantSchema, videoSchema, videoSourceSchema, vwoCampaignSchema } from '../../chunk-
|
|
1
|
+
export { assetSchema, collectionSchema, customerIoBroadcastSchema, customerIoCampaignSchema, customerIoSegmentSchema, externalVideoSchema, getObjectTypeDefinition, imageSchema, integrationSchema, intelligemsExperienceSchema, levantaAffiliateLinkSchema, levantaProductSchema, looxReviewSchema, mediaImageSchema, mediaSchema, metafieldSchema, okendoReviewSchema, optionValueSchema, optionValueSwatchSchema, opusClipSchema, opusCollectionSchema, opusProjectSchema, pageSchema, planSchema, previewImageSchema, priceSchema, productOptionSchema, productSchema, registryItemSchema, segmentSourceSchema, selectedOptionSchema, transformReploProductToCanonical, variantSchema, videoSchema, videoSourceSchema, vwoCampaignSchema } from '../../chunk-ZLOHRRSZ.mjs';
|
|
2
2
|
import '../../chunk-4TZVNC3W.mjs';
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/**
|
|
3
|
-
* Schemas for the registry
|
|
4
|
-
*
|
|
5
|
-
* Postgres + R2.
|
|
6
|
-
*
|
|
7
|
-
* NOTE: Not to be confused with `schemas/registryItem.ts`, which is the
|
|
8
|
-
* legacy editor-side catalog shape used by the agent-browser/home tabs and
|
|
9
|
-
* is unrelated to the registry Worker.
|
|
3
|
+
* Schemas for the Bedrock registry — the persistent registry of
|
|
4
|
+
* project-authored items (templates, skills, etc.) served by
|
|
5
|
+
* `apps/bedrock-api` and backed by Postgres + R2.
|
|
10
6
|
*
|
|
11
7
|
* Per the "PG = searchable + listing display only" rule:
|
|
12
8
|
* - Top-level row columns hold identity/search/preview fields.
|
|
@@ -14,8 +10,8 @@ import { z } from "zod";
|
|
|
14
10
|
* aren't covered by standard columns. Types with no metadata store `null`.
|
|
15
11
|
* - Detailed content (full file trees, npm dependencies) lives in the R2
|
|
16
12
|
* `.registry.json` doc, not the PG row.
|
|
17
|
-
* - Preview imagery is referenced by external URL via `previewUrls
|
|
18
|
-
* registry
|
|
13
|
+
* - Preview imagery is referenced by external URL via `previewUrls`; the
|
|
14
|
+
* registry does not host preview blobs.
|
|
19
15
|
*/
|
|
20
16
|
export declare const registryItemTypeSchema: z.ZodEnum<{
|
|
21
17
|
product: "product";
|
|
@@ -26,6 +22,13 @@ export declare const registryItemTypeSchema: z.ZodEnum<{
|
|
|
26
22
|
skill: "skill";
|
|
27
23
|
branding: "branding";
|
|
28
24
|
}>;
|
|
25
|
+
export declare const registryItemVisibilitySchema: z.ZodEnum<{
|
|
26
|
+
public: "public";
|
|
27
|
+
unlisted: "unlisted";
|
|
28
|
+
}>;
|
|
29
|
+
export declare const registrySlugSchema: z.ZodString;
|
|
30
|
+
export declare const registryItemIdSchema: z.ZodString;
|
|
31
|
+
export declare const registryContentFilesSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
29
32
|
export declare const registryItemSourceIdentitySchema: z.ZodObject<{
|
|
30
33
|
sourceType: z.ZodString;
|
|
31
34
|
sourceKey: z.ZodString;
|
|
@@ -318,6 +321,74 @@ export declare const registryItemDetailSchema: z.ZodObject<{
|
|
|
318
321
|
updatedAt: z.ZodString;
|
|
319
322
|
previewHtml: z.ZodNullable<z.ZodString>;
|
|
320
323
|
}, z.core.$strip>;
|
|
324
|
+
export declare const registryItemPreviewResultSchema: z.ZodObject<{
|
|
325
|
+
item: z.ZodObject<{
|
|
326
|
+
id: z.ZodString;
|
|
327
|
+
slug: z.ZodString;
|
|
328
|
+
name: z.ZodString;
|
|
329
|
+
type: z.ZodEnum<{
|
|
330
|
+
product: "product";
|
|
331
|
+
plan: "plan";
|
|
332
|
+
site: "site";
|
|
333
|
+
page: "page";
|
|
334
|
+
section: "section";
|
|
335
|
+
skill: "skill";
|
|
336
|
+
branding: "branding";
|
|
337
|
+
}>;
|
|
338
|
+
metadata: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
339
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
340
|
+
brandDomain: z.ZodOptional<z.ZodString>;
|
|
341
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
343
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
344
|
+
brandDomain: z.ZodOptional<z.ZodString>;
|
|
345
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
347
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
348
|
+
brandDomain: z.ZodOptional<z.ZodString>;
|
|
349
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
350
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
351
|
+
command: z.ZodOptional<z.ZodString>;
|
|
352
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
353
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
354
|
+
palette: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
355
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
356
|
+
faviconUrl: z.ZodOptional<z.ZodString>;
|
|
357
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
358
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
359
|
+
provider: z.ZodString;
|
|
360
|
+
providerDisplayName: z.ZodString;
|
|
361
|
+
providerProductId: z.ZodString;
|
|
362
|
+
productType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
363
|
+
productTypeName: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
364
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
365
|
+
defaultVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
366
|
+
capabilities: z.ZodObject<{
|
|
367
|
+
mockupGeneration: z.ZodBoolean;
|
|
368
|
+
fileUpload: z.ZodBoolean;
|
|
369
|
+
productCreation: z.ZodBoolean;
|
|
370
|
+
orderFulfillment: z.ZodBoolean;
|
|
371
|
+
variantEditing: z.ZodBoolean;
|
|
372
|
+
}, z.core.$strict>;
|
|
373
|
+
techniques: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
374
|
+
colors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
375
|
+
sizes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
376
|
+
}, z.core.$strict>]>>;
|
|
377
|
+
sourceType: z.ZodNullable<z.ZodString>;
|
|
378
|
+
sourceKey: z.ZodNullable<z.ZodString>;
|
|
379
|
+
shortLink: z.ZodNullable<z.ZodString>;
|
|
380
|
+
description: z.ZodNullable<z.ZodString>;
|
|
381
|
+
visibility: z.ZodString;
|
|
382
|
+
tags: z.ZodArray<z.ZodString>;
|
|
383
|
+
category: z.ZodNullable<z.ZodString>;
|
|
384
|
+
previewUrls: z.ZodArray<z.ZodString>;
|
|
385
|
+
createdAt: z.ZodString;
|
|
386
|
+
updatedAt: z.ZodString;
|
|
387
|
+
previewHtml: z.ZodNullable<z.ZodString>;
|
|
388
|
+
projectId: z.ZodNull;
|
|
389
|
+
createdBy: z.ZodNull;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
}, z.core.$strip>;
|
|
321
392
|
export declare const registryItemContentSchema: z.ZodObject<{
|
|
322
393
|
meta: z.ZodObject<{
|
|
323
394
|
id: z.ZodString;
|
|
@@ -337,3 +408,110 @@ export declare const registryItemContentSchema: z.ZodObject<{
|
|
|
337
408
|
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
338
409
|
dependencies: z.ZodArray<z.ZodString>;
|
|
339
410
|
}, z.core.$strip>;
|
|
411
|
+
export declare const publicSkillSchema: z.ZodObject<{
|
|
412
|
+
object: z.ZodLiteral<"skill">;
|
|
413
|
+
id: z.ZodString;
|
|
414
|
+
slug: z.ZodString;
|
|
415
|
+
name: z.ZodString;
|
|
416
|
+
description: z.ZodNullable<z.ZodString>;
|
|
417
|
+
command: z.ZodNullable<z.ZodString>;
|
|
418
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
419
|
+
tags: z.ZodArray<z.ZodString>;
|
|
420
|
+
category: z.ZodNullable<z.ZodString>;
|
|
421
|
+
visibility: z.ZodString;
|
|
422
|
+
createdAt: z.ZodString;
|
|
423
|
+
updatedAt: z.ZodString;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
export declare const publicSkillUpsertInputSchema: z.ZodObject<{
|
|
426
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
427
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
|
+
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
429
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
430
|
+
command: z.ZodOptional<z.ZodString>;
|
|
431
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
432
|
+
name: z.ZodString;
|
|
433
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
export declare const registryItemDocumentSchema: z.ZodObject<{
|
|
436
|
+
id: z.ZodString;
|
|
437
|
+
slug: z.ZodString;
|
|
438
|
+
name: z.ZodString;
|
|
439
|
+
type: z.ZodEnum<{
|
|
440
|
+
product: "product";
|
|
441
|
+
plan: "plan";
|
|
442
|
+
site: "site";
|
|
443
|
+
page: "page";
|
|
444
|
+
section: "section";
|
|
445
|
+
skill: "skill";
|
|
446
|
+
branding: "branding";
|
|
447
|
+
}>;
|
|
448
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
449
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
450
|
+
description: z.ZodNullable<z.ZodString>;
|
|
451
|
+
visibility: z.ZodString;
|
|
452
|
+
tags: z.ZodArray<z.ZodString>;
|
|
453
|
+
category: z.ZodNullable<z.ZodString>;
|
|
454
|
+
sourceType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
455
|
+
sourceKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
456
|
+
shortLink: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
457
|
+
previewUrls: z.ZodArray<z.ZodString>;
|
|
458
|
+
previewHtml: z.ZodNullable<z.ZodString>;
|
|
459
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
460
|
+
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
461
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
462
|
+
embeddingText: z.ZodString;
|
|
463
|
+
embedding: z.ZodArray<z.ZodNumber>;
|
|
464
|
+
createdAt: z.ZodString;
|
|
465
|
+
updatedAt: z.ZodString;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
export declare const registryCreateItemInputSchema: z.ZodObject<{
|
|
468
|
+
item: z.ZodObject<{
|
|
469
|
+
id: z.ZodString;
|
|
470
|
+
slug: z.ZodString;
|
|
471
|
+
name: z.ZodString;
|
|
472
|
+
type: z.ZodEnum<{
|
|
473
|
+
product: "product";
|
|
474
|
+
plan: "plan";
|
|
475
|
+
site: "site";
|
|
476
|
+
page: "page";
|
|
477
|
+
section: "section";
|
|
478
|
+
skill: "skill";
|
|
479
|
+
branding: "branding";
|
|
480
|
+
}>;
|
|
481
|
+
projectId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
482
|
+
createdBy: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
483
|
+
sourceType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
484
|
+
sourceKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
485
|
+
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
486
|
+
metadata: z.ZodDefault<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
487
|
+
visibility: z.ZodDefault<z.ZodEnum<{
|
|
488
|
+
public: "public";
|
|
489
|
+
unlisted: "unlisted";
|
|
490
|
+
}>>;
|
|
491
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
492
|
+
category: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
493
|
+
previewUrls: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
494
|
+
previewHtml: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
495
|
+
files: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
496
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
}, z.core.$strip>;
|
|
499
|
+
export declare const registryCreateItemOutputSchema: z.ZodObject<{
|
|
500
|
+
created: z.ZodObject<{
|
|
501
|
+
id: z.ZodString;
|
|
502
|
+
type: z.ZodEnum<{
|
|
503
|
+
product: "product";
|
|
504
|
+
plan: "plan";
|
|
505
|
+
site: "site";
|
|
506
|
+
page: "page";
|
|
507
|
+
section: "section";
|
|
508
|
+
skill: "skill";
|
|
509
|
+
branding: "branding";
|
|
510
|
+
}>;
|
|
511
|
+
slug: z.ZodString;
|
|
512
|
+
sourceType: z.ZodNullable<z.ZodString>;
|
|
513
|
+
sourceKey: z.ZodNullable<z.ZodString>;
|
|
514
|
+
url: z.ZodString;
|
|
515
|
+
shareUrl: z.ZodNullable<z.ZodString>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
}, z.core.$strip>;
|
|
@@ -30,6 +30,19 @@ export declare const selectModeBoundingRectSchema: z.ZodObject<{
|
|
|
30
30
|
width: z.ZodNumber;
|
|
31
31
|
height: z.ZodNumber;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
|
+
export declare const selectModeSelectionRectSchema: z.ZodObject<{
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
rect: z.ZodObject<{
|
|
36
|
+
x: z.ZodNumber;
|
|
37
|
+
y: z.ZodNumber;
|
|
38
|
+
left: z.ZodNumber;
|
|
39
|
+
top: z.ZodNumber;
|
|
40
|
+
right: z.ZodNumber;
|
|
41
|
+
bottom: z.ZodNumber;
|
|
42
|
+
width: z.ZodNumber;
|
|
43
|
+
height: z.ZodNumber;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
}, z.core.$strip>;
|
|
33
46
|
export type RectOffset = {
|
|
34
47
|
left: number;
|
|
35
48
|
top: number;
|
|
@@ -316,7 +329,7 @@ export declare const selectModeSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
316
329
|
}, z.core.$strip>], "kind">>;
|
|
317
330
|
}, z.core.$strip>, z.ZodObject<{
|
|
318
331
|
type: z.ZodLiteral<"drag">;
|
|
319
|
-
|
|
332
|
+
dragRect: z.ZodObject<{
|
|
320
333
|
x: z.ZodNumber;
|
|
321
334
|
y: z.ZodNumber;
|
|
322
335
|
left: z.ZodNumber;
|
|
@@ -326,6 +339,19 @@ export declare const selectModeSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
326
339
|
width: z.ZodNumber;
|
|
327
340
|
height: z.ZodNumber;
|
|
328
341
|
}, z.core.$strip>;
|
|
342
|
+
selectionRects: z.ZodArray<z.ZodObject<{
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
rect: z.ZodObject<{
|
|
345
|
+
x: z.ZodNumber;
|
|
346
|
+
y: z.ZodNumber;
|
|
347
|
+
left: z.ZodNumber;
|
|
348
|
+
top: z.ZodNumber;
|
|
349
|
+
right: z.ZodNumber;
|
|
350
|
+
bottom: z.ZodNumber;
|
|
351
|
+
width: z.ZodNumber;
|
|
352
|
+
height: z.ZodNumber;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
}, z.core.$strip>>;
|
|
329
355
|
}, z.core.$strip>], "type">;
|
|
330
356
|
export declare const selectModeParentMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
331
357
|
type: z.ZodLiteral<"replo:select:setDisplayMode">;
|
|
@@ -435,7 +461,7 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
435
461
|
}, z.core.$strip>;
|
|
436
462
|
}, z.core.$strip>, z.ZodObject<{
|
|
437
463
|
type: z.ZodLiteral<"replo:select:dragRectUpdated">;
|
|
438
|
-
|
|
464
|
+
dragRect: z.ZodNullable<z.ZodObject<{
|
|
439
465
|
x: z.ZodNumber;
|
|
440
466
|
y: z.ZodNumber;
|
|
441
467
|
left: z.ZodNumber;
|
|
@@ -445,6 +471,19 @@ export declare const selectModeIframeMessageSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
445
471
|
width: z.ZodNumber;
|
|
446
472
|
height: z.ZodNumber;
|
|
447
473
|
}, z.core.$strip>>;
|
|
474
|
+
selectionRects: z.ZodArray<z.ZodObject<{
|
|
475
|
+
id: z.ZodString;
|
|
476
|
+
rect: z.ZodObject<{
|
|
477
|
+
x: z.ZodNumber;
|
|
478
|
+
y: z.ZodNumber;
|
|
479
|
+
left: z.ZodNumber;
|
|
480
|
+
top: z.ZodNumber;
|
|
481
|
+
right: z.ZodNumber;
|
|
482
|
+
bottom: z.ZodNumber;
|
|
483
|
+
width: z.ZodNumber;
|
|
484
|
+
height: z.ZodNumber;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
}, z.core.$strip>>;
|
|
448
487
|
}, z.core.$strip>, z.ZodObject<{
|
|
449
488
|
type: z.ZodLiteral<"replo:select:areaSelected">;
|
|
450
489
|
rect: z.ZodObject<{
|
|
@@ -36,6 +36,10 @@ var selectModeBoundingRectSchema = z.object({
|
|
|
36
36
|
width: z.number(),
|
|
37
37
|
height: z.number()
|
|
38
38
|
}).describe("SelectModeBoundingRect");
|
|
39
|
+
var selectModeSelectionRectSchema = z.object({
|
|
40
|
+
id: z.string(),
|
|
41
|
+
rect: selectModeBoundingRectSchema
|
|
42
|
+
}).describe("SelectModeSelectionRect");
|
|
39
43
|
function transformRect({
|
|
40
44
|
rect,
|
|
41
45
|
offset
|
|
@@ -134,7 +138,11 @@ var selectModeSelectionSchema = z.discriminatedUnion("type", [
|
|
|
134
138
|
}),
|
|
135
139
|
z.object({
|
|
136
140
|
type: z.literal("drag"),
|
|
137
|
-
|
|
141
|
+
dragRect: selectModeBoundingRectSchema,
|
|
142
|
+
// Bounding boxes of the selectables the drag currently intersects,
|
|
143
|
+
// rendered as lighter highlights so the user can see what the drag
|
|
144
|
+
// will capture before they release.
|
|
145
|
+
selectionRects: z.array(selectModeSelectionRectSchema)
|
|
138
146
|
})
|
|
139
147
|
]).describe("SelectModeSelection");
|
|
140
148
|
var selectModeParentMessageSchema = z.discriminatedUnion("type", [
|
|
@@ -175,7 +183,8 @@ var selectModeIframeMessageSchema = z.discriminatedUnion("type", [
|
|
|
175
183
|
}),
|
|
176
184
|
z.object({
|
|
177
185
|
type: z.literal("replo:select:dragRectUpdated"),
|
|
178
|
-
|
|
186
|
+
dragRect: selectModeBoundingRectSchema.nullable(),
|
|
187
|
+
selectionRects: z.array(selectModeSelectionRectSchema)
|
|
179
188
|
}),
|
|
180
189
|
z.object({
|
|
181
190
|
type: z.literal("replo:select:areaSelected"),
|
|
@@ -184,4 +193,4 @@ var selectModeIframeMessageSchema = z.discriminatedUnion("type", [
|
|
|
184
193
|
})
|
|
185
194
|
]).describe("SelectModeIframeMessage");
|
|
186
195
|
|
|
187
|
-
export { SELECT_MODE_SELECTABLE_ATTRIBUTE, SELECT_MODE_SELECTABLE_PAYLOAD_ATTRIBUTE, displayModeSchema, getIframeOffset, readSelectablePayload, selectModeBoundingRectSchema, selectModeClickPositionSchema, selectModeIframeMessageSchema, selectModeParentMessageSchema, selectModeSelectionSchema, selectModeSelectionTypeSchema, selectModeSourceLocationSchema, selectModeTextMetricsSchema, selectableDataPayloadSchema, selectableDataSchema, selectablePlanDataSchema, selectablePlanPayloadSchema, selectedElementSchema, transformPoint, transformRect, transformSelectableData };
|
|
196
|
+
export { SELECT_MODE_SELECTABLE_ATTRIBUTE, SELECT_MODE_SELECTABLE_PAYLOAD_ATTRIBUTE, displayModeSchema, getIframeOffset, readSelectablePayload, selectModeBoundingRectSchema, selectModeClickPositionSchema, selectModeIframeMessageSchema, selectModeParentMessageSchema, selectModeSelectionRectSchema, selectModeSelectionSchema, selectModeSelectionTypeSchema, selectModeSourceLocationSchema, selectModeTextMetricsSchema, selectableDataPayloadSchema, selectableDataSchema, selectablePlanDataSchema, selectablePlanPayloadSchema, selectedElementSchema, transformPoint, transformRect, transformSelectableData };
|
|
@@ -2,6 +2,12 @@ import { sellingPlanGroupSchema } from './chunk-4TZVNC3W.mjs';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var registryItemTypeSchema = z.enum(["site", "page", "section", "skill", "plan", "branding", "product"]).describe("RegistryItemType");
|
|
5
|
+
var registryItemVisibilitySchema = z.enum(["public", "unlisted"]).describe("RegistryItemVisibility");
|
|
6
|
+
var registrySlugSchema = z.string().min(1).max(120).regex(/^[\da-z][\d_a-z-]*$/);
|
|
7
|
+
var registryItemIdSchema = z.string().uuid();
|
|
8
|
+
var registryContentFilesSchema = z.record(z.string().min(1), z.string()).refine((files) => Object.keys(files).length > 0, {
|
|
9
|
+
message: "Registry item content must include at least one file"
|
|
10
|
+
});
|
|
5
11
|
z.object({
|
|
6
12
|
sourceType: z.string().min(1).max(80),
|
|
7
13
|
sourceKey: z.string().min(1).max(512)
|
|
@@ -80,9 +86,15 @@ z.object({
|
|
|
80
86
|
z.object({
|
|
81
87
|
tags: z.array(z.string())
|
|
82
88
|
}).describe("RegistryItemTagsResult");
|
|
83
|
-
registryItemMetadataSchema.extend({
|
|
89
|
+
var registryItemDetailSchema = registryItemMetadataSchema.extend({
|
|
84
90
|
previewHtml: z.string().nullable()
|
|
85
91
|
}).describe("RegistryItemDetail");
|
|
92
|
+
z.object({
|
|
93
|
+
item: registryItemDetailSchema.extend({
|
|
94
|
+
projectId: z.null(),
|
|
95
|
+
createdBy: z.null()
|
|
96
|
+
})
|
|
97
|
+
}).describe("RegistryItemPreviewResult");
|
|
86
98
|
z.object({
|
|
87
99
|
meta: z.object({
|
|
88
100
|
id: z.string(),
|
|
@@ -94,6 +106,89 @@ z.object({
|
|
|
94
106
|
files: z.record(z.string(), z.string()),
|
|
95
107
|
dependencies: z.array(z.string())
|
|
96
108
|
}).describe("RegistryItemContent");
|
|
109
|
+
z.object({
|
|
110
|
+
object: z.literal("skill"),
|
|
111
|
+
id: z.string(),
|
|
112
|
+
slug: z.string(),
|
|
113
|
+
name: z.string(),
|
|
114
|
+
description: z.string().nullable(),
|
|
115
|
+
command: z.string().nullable(),
|
|
116
|
+
tagline: z.string().nullable(),
|
|
117
|
+
tags: z.array(z.string()),
|
|
118
|
+
category: z.string().nullable(),
|
|
119
|
+
visibility: z.string(),
|
|
120
|
+
createdAt: z.string(),
|
|
121
|
+
updatedAt: z.string()
|
|
122
|
+
}).describe("PublicSkill");
|
|
123
|
+
z.object({
|
|
124
|
+
name: z.string().min(1),
|
|
125
|
+
description: z.string().nullable().optional(),
|
|
126
|
+
// Spread from the stored metadata schema so the wire input cannot drift
|
|
127
|
+
// from what `RegistryItemMetadata` persists for skills.
|
|
128
|
+
...skillRegistryItemMetadataSchema.shape,
|
|
129
|
+
tags: z.array(z.string()).optional(),
|
|
130
|
+
category: z.string().nullable().optional(),
|
|
131
|
+
files: z.record(z.string().min(1), z.string()),
|
|
132
|
+
dependencies: z.array(z.string()).optional()
|
|
133
|
+
}).describe("PublicSkillUpsertInput");
|
|
134
|
+
z.object({
|
|
135
|
+
id: z.string().uuid(),
|
|
136
|
+
slug: z.string().min(1),
|
|
137
|
+
name: z.string().min(1),
|
|
138
|
+
type: registryItemTypeSchema,
|
|
139
|
+
projectId: z.string().min(1).nullable(),
|
|
140
|
+
createdBy: z.string().min(1).nullable(),
|
|
141
|
+
description: z.string().nullable(),
|
|
142
|
+
visibility: z.string(),
|
|
143
|
+
tags: z.array(z.string()),
|
|
144
|
+
category: z.string().nullable(),
|
|
145
|
+
sourceType: z.string().nullable().default(null),
|
|
146
|
+
sourceKey: z.string().nullable().default(null),
|
|
147
|
+
shortLink: z.string().nullable().default(null),
|
|
148
|
+
previewUrls: z.array(z.string()),
|
|
149
|
+
previewHtml: z.string().nullable(),
|
|
150
|
+
metadata: z.record(z.string(), z.unknown()).nullable(),
|
|
151
|
+
files: registryContentFilesSchema,
|
|
152
|
+
dependencies: z.array(z.string()),
|
|
153
|
+
embeddingText: z.string(),
|
|
154
|
+
embedding: z.array(z.number()),
|
|
155
|
+
createdAt: z.string().min(1),
|
|
156
|
+
updatedAt: z.string().min(1)
|
|
157
|
+
}).describe("RegistryItemDocument");
|
|
158
|
+
z.object({
|
|
159
|
+
item: z.object({
|
|
160
|
+
id: registryItemIdSchema,
|
|
161
|
+
slug: registrySlugSchema,
|
|
162
|
+
name: z.string().min(1),
|
|
163
|
+
type: registryItemTypeSchema,
|
|
164
|
+
projectId: z.string().min(1).nullable().default(null),
|
|
165
|
+
createdBy: z.string().min(1).nullable().default(null),
|
|
166
|
+
sourceType: z.string().min(1).max(80).nullable().default(null),
|
|
167
|
+
sourceKey: z.string().min(1).max(512).nullable().default(null),
|
|
168
|
+
description: z.string().nullable().default(null),
|
|
169
|
+
metadata: z.record(z.string(), z.unknown()).nullable().default(null),
|
|
170
|
+
visibility: registryItemVisibilitySchema.default("public"),
|
|
171
|
+
tags: z.array(z.string()).default([]),
|
|
172
|
+
category: z.string().nullable().default(null),
|
|
173
|
+
previewUrls: z.array(z.string()).default([]),
|
|
174
|
+
previewHtml: z.string().nullable().default(null),
|
|
175
|
+
files: registryContentFilesSchema,
|
|
176
|
+
dependencies: z.array(z.string()).default([])
|
|
177
|
+
})
|
|
178
|
+
}).describe("RegistryCreateItemInput");
|
|
179
|
+
z.object({
|
|
180
|
+
created: z.object({
|
|
181
|
+
id: registryItemIdSchema,
|
|
182
|
+
type: registryItemTypeSchema,
|
|
183
|
+
slug: registrySlugSchema,
|
|
184
|
+
sourceType: z.string().nullable(),
|
|
185
|
+
sourceKey: z.string().nullable(),
|
|
186
|
+
url: z.string().url().describe(
|
|
187
|
+
"Canonical public-facing URL for the new registry item. The skill returns this to the user immediately so they can share / preview without waiting on verification."
|
|
188
|
+
),
|
|
189
|
+
shareUrl: z.string().url().nullable()
|
|
190
|
+
})
|
|
191
|
+
}).describe("RegistryCreateItemOutput");
|
|
97
192
|
z.object({
|
|
98
193
|
appName: z.string(),
|
|
99
194
|
filepath: z.string(),
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
/**
|
|
3
|
-
* Client-side error boundary
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* NOTE (Max, 2026-06-10): Client-side error boundary. On a caught render error it
|
|
4
|
+
* (1) reports the error to the parent editor via postMessage (so it can get reported to Sentry)
|
|
5
|
+
* and (2) renders a neutral cover instead of going blank, so the preview never flashes the broken
|
|
6
|
+
* page while the agent fixes it. The editor decides what to show on top (loading
|
|
7
|
+
* vs. an actionable error screen); the embedder reloads the iframe once the error
|
|
8
|
+
* clears.
|
|
6
9
|
*/
|
|
7
10
|
export declare function ClientErrorBoundary({ children }: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,18 +3,27 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
class ErrorBoundary extends React.Component {
|
|
5
5
|
state = {
|
|
6
|
-
didCatch: false
|
|
7
|
-
error: null
|
|
6
|
+
didCatch: false
|
|
8
7
|
};
|
|
9
|
-
static getDerivedStateFromError(
|
|
10
|
-
return { didCatch: true
|
|
8
|
+
static getDerivedStateFromError() {
|
|
9
|
+
return { didCatch: true };
|
|
11
10
|
}
|
|
12
11
|
componentDidCatch(error, info) {
|
|
13
12
|
this.props.onError?.(error, info);
|
|
14
13
|
}
|
|
15
14
|
render() {
|
|
16
15
|
if (this.state.didCatch) {
|
|
17
|
-
return
|
|
16
|
+
return /* @__PURE__ */ jsx(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
style: {
|
|
20
|
+
position: "fixed",
|
|
21
|
+
inset: 0,
|
|
22
|
+
zIndex: 2147483646,
|
|
23
|
+
background: "#ffffff"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
);
|
|
18
27
|
}
|
|
19
28
|
return this.props.children;
|
|
20
29
|
}
|
|
@@ -25,6 +34,10 @@ function ClientErrorBoundary({ children }) {
|
|
|
25
34
|
const errorObj = error instanceof Error ? error : new Error(String(error));
|
|
26
35
|
window.parent.postMessage(
|
|
27
36
|
{
|
|
37
|
+
// TODO (Max, 2026-06-11, REPL-27851): When adding Sentry to miniapps, I'll ensure we listen to this message
|
|
38
|
+
// and send it to Sentry. I'm not a fan of having 2 separate post messages for reporting errors (the 'error' post message in NextErrorReporter, and this one).
|
|
39
|
+
// But there's no way for the NextErrorReporter to get the actual error object, so we'll
|
|
40
|
+
// need a separate postMessage (this one, with an updated name).
|
|
28
41
|
type: "replo-editor:client-error",
|
|
29
42
|
payload: {
|
|
30
43
|
pageRoute: window.location.pathname,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../editor/ClientErrorBoundary.tsx"],
|
|
4
|
-
"sourcesContent": ["\"use client\";\n\nimport * as React from \"react\";\n\ninterface ErrorBoundaryState {\n didCatch: boolean;\n
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["\"use client\";\n\nimport * as React from \"react\";\n\ninterface ErrorBoundaryState {\n didCatch: boolean;\n}\n\ntype ErrorBoundaryProps = React.PropsWithChildren<{\n onError?: (error: unknown, info: React.ErrorInfo) => void;\n}>;\n\nclass ErrorBoundary extends React.Component<\n ErrorBoundaryProps,\n ErrorBoundaryState\n> {\n state: ErrorBoundaryState = {\n didCatch: false,\n };\n\n static getDerivedStateFromError(): ErrorBoundaryState {\n return { didCatch: true };\n }\n\n componentDidCatch(error: unknown, info: React.ErrorInfo) {\n this.props.onError?.(error, info);\n }\n\n render() {\n if (this.state.didCatch) {\n /**\n * NOTE (Max, 2026-06-10): When there's any error that hits this Error boundary,\n * we render this neutral cover.\n * getDerivedStateFromError() runs in the render phase, before commit, so this cover\n * is what hits the DOM immediately when the error is caught.\n * The editor lays its own loading / error UI on top (driven by NextErrorReporter's\n * status postMessage).\n * This div has a plain light neutral color, close enough to the editor's\n * loading animation. If we returned null, it'd show a cover with the site's default color (e.g. black),\n * which makes the transition less smooth between canopy-sdk showing this cover, and the iframe embedder\n * receiving the post message telling it to show some loading animation.\n *\n * I'm really unsatisfied with this approach: there's no apparent flicker only because the editor's loading animation\n * when receiving the post message has the same color as this neutral cover... Alternative would be for\n * this error boundary to show the loading animation itself (instead of the embedder) but that's even more weird...\n */\n return (\n <div\n style={{\n position: \"fixed\",\n inset: 0,\n zIndex: 2147483646,\n background: \"#ffffff\",\n }}\n />\n );\n }\n return this.props.children;\n }\n}\n\n/**\n * NOTE (Max, 2026-06-10): Client-side error boundary. On a caught render error it\n * (1) reports the error to the parent editor via postMessage (so it can get reported to Sentry)\n * and (2) renders a neutral cover instead of going blank, so the preview never flashes the broken\n * page while the agent fixes it. The editor decides what to show on top (loading\n * vs. an actionable error screen); the embedder reloads the iframe once the error\n * clears.\n */\nexport function ClientErrorBoundary({ children }: React.PropsWithChildren) {\n const handleError = React.useCallback(\n (error: unknown, errorInfo: React.ErrorInfo) => {\n const errorObj =\n error instanceof Error ? error : new Error(String(error));\n window.parent.postMessage(\n {\n // TODO (Max, 2026-06-11, REPL-27851): When adding Sentry to miniapps, I'll ensure we listen to this message\n // and send it to Sentry. I'm not a fan of having 2 separate post messages for reporting errors (the 'error' post message in NextErrorReporter, and this one).\n // But there's no way for the NextErrorReporter to get the actual error object, so we'll\n // need a separate postMessage (this one, with an updated name).\n type: \"replo-editor:client-error\",\n payload: {\n pageRoute: window.location.pathname,\n error: {\n message: errorObj.message,\n stack: errorObj.stack,\n componentStack: errorInfo.componentStack,\n },\n },\n },\n \"*\",\n );\n },\n [],\n );\n\n return <ErrorBoundary onError={handleError}>{children}</ErrorBoundary>;\n}\n"],
|
|
5
|
+
"mappings": ";AA+CQ;AA7CR,YAAY,WAAW;AAUvB,MAAM,sBAAsB,MAAM,UAGhC;AAAA,EACA,QAA4B;AAAA,IAC1B,UAAU;AAAA,EACZ;AAAA,EAEA,OAAO,2BAA+C;AACpD,WAAO,EAAE,UAAU,KAAK;AAAA,EAC1B;AAAA,EAEA,kBAAkB,OAAgB,MAAuB;AACvD,SAAK,MAAM,UAAU,OAAO,IAAI;AAAA,EAClC;AAAA,EAEA,SAAS;AACP,QAAI,KAAK,MAAM,UAAU;AAiBvB,aACE;AAAA,QAAC;AAAA;AAAA,UACC,OAAO;AAAA,YACL,UAAU;AAAA,YACV,OAAO;AAAA,YACP,QAAQ;AAAA,YACR,YAAY;AAAA,UACd;AAAA;AAAA,MACF;AAAA,IAEJ;AACA,WAAO,KAAK,MAAM;AAAA,EACpB;AACF;AAUO,SAAS,oBAAoB,EAAE,SAAS,GAA4B;AACzE,QAAM,cAAc,MAAM;AAAA,IACxB,CAAC,OAAgB,cAA+B;AAC9C,YAAM,WACJ,iBAAiB,QAAQ,QAAQ,IAAI,MAAM,OAAO,KAAK,CAAC;AAC1D,aAAO,OAAO;AAAA,QACZ;AAAA;AAAA;AAAA;AAAA;AAAA,UAKE,MAAM;AAAA,UACN,SAAS;AAAA,YACP,WAAW,OAAO,SAAS;AAAA,YAC3B,OAAO;AAAA,cACL,SAAS,SAAS;AAAA,cAClB,OAAO,SAAS;AAAA,cAChB,gBAAgB,UAAU;AAAA,YAC5B;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,CAAC;AAAA,EACH;AAEA,SAAO,oBAAC,iBAAc,SAAS,aAAc,UAAS;AACxD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function NextErrorReporter(): null;
|