@wix/ditto-codegen-public 1.0.98 → 1.0.100

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.
Files changed (2) hide show
  1. package/dist/out.js +465 -131
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -116670,78 +116670,17 @@ var require_types_impl2 = __commonJS({
116670
116670
  }
116671
116671
  });
116672
116672
 
116673
- // dist/cms/CMSSchema.js
116674
- var require_CMSSchema = __commonJS({
116675
- "dist/cms/CMSSchema.js"(exports2) {
116676
- "use strict";
116677
- Object.defineProperty(exports2, "__esModule", { value: true });
116678
- exports2.CmsCollectionSchema = void 0;
116679
- var types_1 = require_types_impl2();
116680
- var zod_1 = require_zod();
116681
- var FieldTypeEnum = zod_1.z.enum(Object.values(types_1.FieldType));
116682
- var AccessLevelEnum = zod_1.z.enum(Object.values(types_1.AccessLevel));
116683
- var ReferenceSchema = zod_1.z.object({
116684
- referencedCollectionId: zod_1.z.string().optional()
116685
- });
116686
- var MultiReferenceSchema = zod_1.z.object({
116687
- referencedCollectionId: zod_1.z.string().optional(),
116688
- referencingFieldKey: zod_1.z.string().optional()
116689
- });
116690
- var ObjectFieldSchema = zod_1.z.object({
116691
- key: zod_1.z.string().optional()
116692
- });
116693
- var ObjectSchema = zod_1.z.object({
116694
- fields: zod_1.z.array(ObjectFieldSchema).optional()
116695
- });
116696
- var ArraySchema = zod_1.z.object({
116697
- elementType: FieldTypeEnum.optional(),
116698
- typeMetadata: zod_1.z.any().optional()
116699
- // Recursive, simplified for now
116700
- });
116701
- var TypeMetadataSchema = zod_1.z.object({
116702
- reference: ReferenceSchema.optional(),
116703
- multiReference: MultiReferenceSchema.optional(),
116704
- object: ObjectSchema.optional(),
116705
- array: ArraySchema.optional()
116706
- }).optional();
116707
- var FieldSchema = zod_1.z.object({
116708
- key: zod_1.z.string().optional(),
116709
- displayName: zod_1.z.string().nullable().optional(),
116710
- type: FieldTypeEnum.optional(),
116711
- typeMetadata: TypeMetadataSchema,
116712
- encrypted: zod_1.z.boolean().optional(),
116713
- description: zod_1.z.string().nullable().optional()
116714
- });
116715
- var DataPermissionsSchema = zod_1.z.object({
116716
- itemRead: AccessLevelEnum.optional(),
116717
- itemInsert: AccessLevelEnum.optional(),
116718
- itemUpdate: AccessLevelEnum.optional(),
116719
- itemRemove: AccessLevelEnum.optional()
116720
- });
116721
- exports2.CmsCollectionSchema = zod_1.z.object({
116722
- id: zod_1.z.string().optional(),
116723
- displayName: zod_1.z.string().nullable().optional(),
116724
- displayField: zod_1.z.string().nullable().optional(),
116725
- fields: zod_1.z.array(FieldSchema).optional(),
116726
- dataPermissions: DataPermissionsSchema.optional(),
116727
- initialData: zod_1.z.array(zod_1.z.record(zod_1.z.string(), zod_1.z.any())).optional()
116728
- });
116729
- }
116730
- });
116731
-
116732
116673
  // dist/system-prompts/planner/data.js
116733
116674
  var require_data = __commonJS({
116734
116675
  "dist/system-prompts/planner/data.js"(exports2) {
116735
116676
  "use strict";
116736
116677
  Object.defineProperty(exports2, "__esModule", { value: true });
116737
116678
  exports2.cmsPlannerPrompt = void 0;
116738
- var zod_1 = require_zod();
116739
- var CMSSchema_1 = require_CMSSchema();
116740
116679
  var types_impl_1 = require_types_impl2();
116741
- var CollectionsArraySchema = zod_1.z.array(CMSSchema_1.CmsCollectionSchema);
116742
- var handlingFeesExample = [
116743
- {
116744
- id: "handling-fees-rules",
116680
+ var handlingFeesExample = {
116681
+ operation: "insert",
116682
+ data: {
116683
+ idSuffix: "handling-fees-rules",
116745
116684
  displayName: "Handling Fees Rules",
116746
116685
  displayField: "productId",
116747
116686
  fields: [
@@ -116749,10 +116688,8 @@ var require_data = __commonJS({
116749
116688
  key: "productId",
116750
116689
  displayName: "Product",
116751
116690
  type: "REFERENCE",
116752
- typeMetadata: {
116753
- reference: {
116754
- referencedCollectionId: "Stores/Products"
116755
- }
116691
+ referenceOptions: {
116692
+ referencedCollectionId: "Stores/Products"
116756
116693
  }
116757
116694
  },
116758
116695
  { key: "oversizedFee", displayName: "Oversized Fee", type: "NUMBER" },
@@ -116765,7 +116702,7 @@ var require_data = __commonJS({
116765
116702
  itemRemove: types_impl_1.AccessLevel.ANYONE
116766
116703
  }
116767
116704
  }
116768
- ];
116705
+ };
116769
116706
  var cmsPlannerPrompt = () => `
116770
116707
  <CMS_PLANNER_SYSTEM_PROMPT>
116771
116708
 
@@ -116783,7 +116720,6 @@ Your output must be strictly JSON that conforms to the provided schema (no markd
116783
116720
  - productId, product \u2192 REFERENCE to "Stores/Products"
116784
116721
  - categoryId, category \u2192 REFERENCE to "Stores/Collections"
116785
116722
  - orderId, order \u2192 REFERENCE to "Stores/Orders"
116786
- - When using REFERENCE/MULTI_REFERENCE fields, they MUST include a "typeMetadata" object.
116787
116723
  - Permissions must use AccessLevel enums exactly as strings: UNDEFINED, ANYONE, SITE_MEMBER, SITE_MEMBER_AUTHOR, CMS_EDITOR, PRIVILEGED. Prefer read: ANYONE, insert/update/remove: PRIVILEGED unless the blueprint implies otherwise.
116788
116724
  - Permissions: For each collection, specify the permissions for each operation (insert, update, remove, read) using one of the following access levels:
116789
116725
  - UNDEFINED: Not set.
@@ -116805,7 +116741,7 @@ Blueprint indicates a handling fees system for products.
116805
116741
 
116806
116742
  For the collections field, return:
116807
116743
  \`\`\`
116808
- ${JSON.stringify(handlingFeesExample, null, 2)}
116744
+ [${JSON.stringify(handlingFeesExample, null, 2)}]
116809
116745
  \`\`\`
116810
116746
  </example>
116811
116747
 
@@ -116819,6 +116755,28 @@ ${JSON.stringify(handlingFeesExample, null, 2)}
116819
116755
  - NEVER create CMS collections that duplicate these parameters (colors, messages, positions, display settings, etc.)
116820
116756
  - CMS collections should ONLY be created for additional business data that is NOT covered by embeddedScriptParameters
116821
116757
  - Only create CMS collections if there's genuinely new data needed beyond what's in embeddedScriptParameters (e.g., user-generated content, analytics, logs if explicitly requested)
116758
+ 6) Initial Data Assessment:
116759
+ - After defining the collection schema, evaluate if initial/seed data can be implied from the blueprint
116760
+ - Consider if the blueprint describes example data, default configurations, sample content, or starter records that would help demonstrate the app's functionality
116761
+ - Initial data is appropriate when:
116762
+ * The blueprint mentions example items, sample data, or default configurations
116763
+ * The collection represents configuration or reference data that needs default values
116764
+ * The blueprint describes a demo or example use case that requires sample records
116765
+ - Initial data is NOT appropriate when:
116766
+ * The collection is for user-generated content that starts empty
116767
+ * The blueprint doesn't mention any example or default data
116768
+ * The collection is for transactional/log data that accumulates over time
116769
+ 7) Initial Data Compliance:
116770
+ - If initial data is needed, include an "initialData" array in the collection definition
116771
+ - Each item in initialData MUST strictly comply with the collection schema:
116772
+ * Use the exact field keys defined in the schema (lowerCamelCase)
116773
+ * Match field types exactly (TEXT \u2192 string, NUMBER \u2192 number, BOOLEAN \u2192 boolean, DATE/DATETIME \u2192 ISO 8601 string, etc.)
116774
+ * For REFERENCE fields: provide valid reference IDs or leave empty if referencing external collections (Stores/Products, etc.)
116775
+ * For required fields: always provide values
116776
+ * For optional fields: may omit if not needed for the example
116777
+ - Initial data should be realistic and representative of actual usage
116778
+ - Provide 1-3 example items unless the blueprint specifies more
116779
+ - Ensure initial data demonstrates the key features described in the blueprint
116822
116780
  </approach>
116823
116781
 
116824
116782
  </CMS_PLANNER_SYSTEM_PROMPT>
@@ -117029,6 +116987,99 @@ var require_iteration = __commonJS({
117029
116987
  "use strict";
117030
116988
  Object.defineProperty(exports2, "__esModule", { value: true });
117031
116989
  exports2.iterationModePrompt = void 0;
116990
+ var types_1 = require_types_impl2();
116991
+ var insertExample = {
116992
+ collections: [
116993
+ {
116994
+ operation: "insert",
116995
+ data: {
116996
+ idSuffix: "handling-fees-rules",
116997
+ displayName: "Handling Fees Rules",
116998
+ displayField: "productId",
116999
+ fields: [
117000
+ {
117001
+ key: "productId",
117002
+ displayName: "Product",
117003
+ type: "REFERENCE",
117004
+ referenceOptions: {
117005
+ referencedCollectionId: "Stores/Products"
117006
+ }
117007
+ },
117008
+ { key: "oversizedFee", displayName: "Oversized Fee", type: "NUMBER" },
117009
+ { key: "fragileFee", displayName: "Fragile Fee", type: "NUMBER" }
117010
+ ],
117011
+ dataPermissions: {
117012
+ itemRead: types_1.AccessLevel.ANYONE,
117013
+ itemInsert: types_1.AccessLevel.ANYONE,
117014
+ itemUpdate: types_1.AccessLevel.ANYONE,
117015
+ itemRemove: types_1.AccessLevel.ANYONE
117016
+ }
117017
+ }
117018
+ }
117019
+ ],
117020
+ embeddedScriptParameters: [],
117021
+ // No changes needed - existing ones stay as is
117022
+ apiSpec: void 0
117023
+ // No changes needed - existing spec stays as is
117024
+ };
117025
+ var updateExample = {
117026
+ collections: [
117027
+ {
117028
+ operation: "update",
117029
+ data: {
117030
+ idSuffix: "handling-fees-rules",
117031
+ // make sure to use the same idSuffix as the existing collection
117032
+ displayName: "Handling Fees Rules",
117033
+ displayField: "productId",
117034
+ fields: [
117035
+ {
117036
+ key: "productId",
117037
+ displayName: "Product Id",
117038
+ type: "REFERENCE",
117039
+ referenceOptions: {
117040
+ referencedCollectionId: "Stores/Products"
117041
+ }
117042
+ },
117043
+ { key: "oversizedFee", displayName: "Oversized Fee", type: "NUMBER" },
117044
+ { key: "fragileFee", displayName: "Fragile Fee", type: "NUMBER" }
117045
+ ],
117046
+ dataPermissions: {
117047
+ itemRead: types_1.AccessLevel.ANYONE,
117048
+ itemInsert: types_1.AccessLevel.ANYONE,
117049
+ itemUpdate: types_1.AccessLevel.ANYONE,
117050
+ itemRemove: types_1.AccessLevel.ANYONE
117051
+ }
117052
+ }
117053
+ }
117054
+ ],
117055
+ embeddedScriptParameters: [],
117056
+ // No changes needed - existing ones stay as is
117057
+ apiSpec: void 0
117058
+ // No changes needed - existing spec stays as is
117059
+ };
117060
+ var deleteExample = {
117061
+ collections: [],
117062
+ // No changes needed - no collections to change
117063
+ embeddedScriptParameters: [
117064
+ {
117065
+ operation: "delete",
117066
+ data: {
117067
+ extensionId: "site-popup",
117068
+ parameters: [
117069
+ {
117070
+ key: "productId",
117071
+ displayName: "Product Id",
117072
+ type: "NUMBER",
117073
+ required: true,
117074
+ defaultValue: "123"
117075
+ }
117076
+ ]
117077
+ }
117078
+ }
117079
+ ],
117080
+ apiSpec: void 0
117081
+ // No changes needed - existing spec stays as is
117082
+ };
117032
117083
  var iterationModePrompt = () => `
117033
117084
  <ITERATION_MODE>
117034
117085
  This is an ITERATION mode planning session. You will receive:
@@ -117072,36 +117123,15 @@ IMPORTANT PRINCIPLES:
117072
117123
  - If a resource exists and works fine, simply don't include it in your output
117073
117124
 
117074
117125
  Example 1 - Adding a new collection (existing resources remain unchanged):
117075
- {
117076
- "collections": [
117077
- {
117078
- "operation": "insert",
117079
- "collection": { "id": "new-collection", ... }
117080
- }
117081
- ],
117082
- "embeddedScriptParameters": [], // No changes needed - existing ones stay as is
117083
- "apiSpec": undefined // No changes needed - existing spec stays as is
117084
- }
117126
+
117127
+ ${JSON.stringify(insertExample, null, 2)}
117085
117128
 
117086
117129
  Example 2 - Updating an existing collection:
117087
- {
117088
- "collections": [
117089
- {
117090
- "operation": "update",
117091
- "collection": { "id": "existing-collection", ... } // Include full updated collection
117092
- }
117093
- ]
117094
- }
117130
+ ${JSON.stringify(updateExample, null, 2)}
117095
117131
 
117096
117132
  Example 3 - Deleting a collection (BE VERY CAREFUL):
117097
- {
117098
- "collections": [
117099
- {
117100
- "operation": "delete",
117101
- "collection": { "id": "unused-collection", ... } // Collection to remove
117102
- }
117103
- ]
117104
- }
117133
+ ${JSON.stringify(deleteExample, null, 2)}
117134
+
117105
117135
  </ITERATION_MODE>
117106
117136
  `;
117107
117137
  exports2.iterationModePrompt = iterationModePrompt;
@@ -117244,7 +117274,7 @@ ${contextSections.join("\n")}`;
117244
117274
  };
117245
117275
  exports2.buildUserPromptForCodeGenerationAgent = buildUserPromptForCodeGenerationAgent;
117246
117276
  var formatCollections = (operations) => {
117247
- const deleteIds = operations.filter((op) => op.operation === "delete").map((op) => op.data.id).filter(Boolean).join(", ");
117277
+ const deleteIds = operations.filter((op) => op.operation === "delete").map((op) => op.data.idSuffix).filter(Boolean).join(", ");
117248
117278
  const deleteNote = deleteIds ? ` (IDs to remove: ${deleteIds})` : "";
117249
117279
  const instructions = `
117250
117280
  Operations Guide:
@@ -117385,26 +117415,332 @@ var require_EmbeddedScriptSchema = __commonJS({
117385
117415
  }
117386
117416
  });
117387
117417
 
117418
+ // ../../node_modules/@wix/wix-data-collections-extension-schema/dist/FieldSchema.js
117419
+ var require_FieldSchema = __commonJS({
117420
+ "../../node_modules/@wix/wix-data-collections-extension-schema/dist/FieldSchema.js"(exports2) {
117421
+ "use strict";
117422
+ Object.defineProperty(exports2, "__esModule", { value: true });
117423
+ exports2.FieldSchema = exports2.FieldArrayOptionsSchema = exports2.FieldObjectOptionsSchema = exports2.FieldObjectFieldSchema = exports2.FieldMultiReferenceOptionsSchema = exports2.FieldReferenceOptionsSchema = exports2.FieldTypeSchema = void 0;
117424
+ var zod_1 = require_zod();
117425
+ exports2.FieldTypeSchema = zod_1.z.enum([
117426
+ "TEXT",
117427
+ "NUMBER",
117428
+ "DATE",
117429
+ "DATETIME",
117430
+ "IMAGE",
117431
+ "BOOLEAN",
117432
+ "DOCUMENT",
117433
+ "URL",
117434
+ "RICH_TEXT",
117435
+ "VIDEO",
117436
+ "ANY",
117437
+ "ARRAY_STRING",
117438
+ "ARRAY_DOCUMENT",
117439
+ "AUDIO",
117440
+ "TIME",
117441
+ "LANGUAGE",
117442
+ "RICH_CONTENT",
117443
+ "MEDIA_GALLERY",
117444
+ "ADDRESS",
117445
+ "REFERENCE",
117446
+ "MULTI_REFERENCE",
117447
+ "OBJECT",
117448
+ "ARRAY"
117449
+ ]).meta({
117450
+ description: "Field's data type."
117451
+ });
117452
+ exports2.FieldReferenceOptionsSchema = zod_1.z.object({
117453
+ referencedCollectionId: zod_1.z.string().min(1).max(256).meta({ description: "Referenced collection ID." })
117454
+ }).meta({
117455
+ description: "Metadata for a reference field."
117456
+ });
117457
+ exports2.FieldMultiReferenceOptionsSchema = zod_1.z.object({
117458
+ referencedCollectionId: zod_1.z.string().min(1).max(256).meta({ description: "Referenced collection ID." })
117459
+ }).meta({
117460
+ description: "Metadata for a multi-reference field."
117461
+ });
117462
+ exports2.FieldObjectFieldSchema = zod_1.z.object({
117463
+ key: zod_1.z.string().min(1).max(1e3).meta({ description: "Field ID." }),
117464
+ displayName: zod_1.z.string().min(1).max(1e3).optional().meta({ description: "Display name for the field." }),
117465
+ type: exports2.FieldTypeSchema.meta({
117466
+ description: "Field type. Learn more about data types in Wix Data."
117467
+ }),
117468
+ // type_options (object/array only)
117469
+ objectOptions: zod_1.z.lazy(() => exports2.FieldObjectOptionsSchema).optional().meta({ description: "Metadata for an object field." }),
117470
+ arrayOptions: zod_1.z.lazy(() => exports2.FieldArrayOptionsSchema).optional().meta({ description: "Metadata for an array field." })
117471
+ }).meta({
117472
+ description: "Field within an object."
117473
+ });
117474
+ exports2.FieldObjectOptionsSchema = zod_1.z.object({
117475
+ // repeated ObjectField fields = 1 [(wix.api.maxSize) = 1000];
117476
+ fields: zod_1.z.array(zod_1.z.lazy(() => exports2.FieldObjectFieldSchema)).max(1e3).meta({ description: "Fields within the object." })
117477
+ }).meta({
117478
+ description: "Metadata for an object field."
117479
+ });
117480
+ exports2.FieldArrayOptionsSchema = zod_1.z.object({
117481
+ elementType: exports2.FieldTypeSchema.meta({
117482
+ description: "Element's data type."
117483
+ }),
117484
+ objectOptions: zod_1.z.lazy(() => exports2.FieldObjectOptionsSchema).optional().meta({ description: "Metadata for an object field." }),
117485
+ arrayOptions: zod_1.z.lazy(() => exports2.FieldArrayOptionsSchema).optional().meta({ description: "Metadata for an array field." })
117486
+ }).meta({
117487
+ description: "Metadata for an array field. Contains element type and, for complex types, nested options."
117488
+ });
117489
+ var FieldBaseSchema = zod_1.z.object({
117490
+ key: zod_1.z.string().min(1).max(1e3).meta({
117491
+ description: "Unique identifier for the field. For example, `firstName`."
117492
+ }),
117493
+ displayName: zod_1.z.string().min(1).max(1e3).optional().meta({
117494
+ description: "Field's display name when displayed in the CMS. For example, `First Name`."
117495
+ }),
117496
+ encrypted: zod_1.z.boolean().optional().meta({ description: "Whether the field is encrypted." }),
117497
+ description: zod_1.z.string().max(16e3).optional().meta({ description: "Field description." })
117498
+ });
117499
+ var primitiveTypes = [
117500
+ "TEXT",
117501
+ "NUMBER",
117502
+ "DATE",
117503
+ "DATETIME",
117504
+ "IMAGE",
117505
+ "BOOLEAN",
117506
+ "DOCUMENT",
117507
+ "URL",
117508
+ "RICH_TEXT",
117509
+ "VIDEO",
117510
+ "ANY",
117511
+ "ARRAY_STRING",
117512
+ "ARRAY_DOCUMENT",
117513
+ "AUDIO",
117514
+ "TIME",
117515
+ "LANGUAGE",
117516
+ "RICH_CONTENT",
117517
+ "MEDIA_GALLERY",
117518
+ "ADDRESS"
117519
+ ];
117520
+ var PrimitiveLiteralSchemas = primitiveTypes.map((t) => FieldBaseSchema.extend({
117521
+ type: zod_1.z.literal(t).meta({
117522
+ description: "Field's data type. Learn more about data types in Wix Data."
117523
+ }),
117524
+ referenceOptions: zod_1.z.never().optional(),
117525
+ multiReferenceOptions: zod_1.z.never().optional(),
117526
+ objectOptions: zod_1.z.never().optional(),
117527
+ arrayOptions: zod_1.z.never().optional()
117528
+ }));
117529
+ var ReferenceFieldSchema = FieldBaseSchema.extend({
117530
+ type: zod_1.z.literal("REFERENCE").meta({
117531
+ description: "Field's data type. Learn more about data types in Wix Data."
117532
+ }),
117533
+ referenceOptions: zod_1.z.lazy(() => exports2.FieldReferenceOptionsSchema).meta({ description: "Metadata for a reference field." }),
117534
+ multiReferenceOptions: zod_1.z.never().optional(),
117535
+ objectOptions: zod_1.z.never().optional(),
117536
+ arrayOptions: zod_1.z.never().optional()
117537
+ });
117538
+ var MultiReferenceFieldSchema = FieldBaseSchema.extend({
117539
+ type: zod_1.z.literal("MULTI_REFERENCE").meta({
117540
+ description: "Field's data type. Learn more about data types in Wix Data."
117541
+ }),
117542
+ multiReferenceOptions: zod_1.z.lazy(() => exports2.FieldMultiReferenceOptionsSchema).meta({ description: "Metadata for a multi-reference field." }),
117543
+ referenceOptions: zod_1.z.never().optional(),
117544
+ objectOptions: zod_1.z.never().optional(),
117545
+ arrayOptions: zod_1.z.never().optional()
117546
+ });
117547
+ var ObjectFieldSchema = FieldBaseSchema.extend({
117548
+ type: zod_1.z.literal("OBJECT").meta({
117549
+ description: "Field's data type. Learn more about data types in Wix Data."
117550
+ }),
117551
+ objectOptions: zod_1.z.lazy(() => exports2.FieldObjectOptionsSchema).meta({ description: "Metadata for an object field." }),
117552
+ referenceOptions: zod_1.z.never().optional(),
117553
+ multiReferenceOptions: zod_1.z.never().optional(),
117554
+ arrayOptions: zod_1.z.never().optional()
117555
+ });
117556
+ var ArrayFieldSchema = FieldBaseSchema.extend({
117557
+ type: zod_1.z.literal("ARRAY").meta({
117558
+ description: "Field's data type. Learn more about data types in Wix Data."
117559
+ }),
117560
+ arrayOptions: zod_1.z.lazy(() => exports2.FieldArrayOptionsSchema).meta({ description: "Metadata for an array field." }),
117561
+ referenceOptions: zod_1.z.never().optional(),
117562
+ multiReferenceOptions: zod_1.z.never().optional(),
117563
+ objectOptions: zod_1.z.never().optional()
117564
+ });
117565
+ exports2.FieldSchema = zod_1.z.discriminatedUnion("type", [
117566
+ ReferenceFieldSchema,
117567
+ MultiReferenceFieldSchema,
117568
+ ObjectFieldSchema,
117569
+ ArrayFieldSchema,
117570
+ ...PrimitiveLiteralSchemas
117571
+ ]).meta({
117572
+ description: "Defines a CMS field, including type and optional metadata for complex types."
117573
+ });
117574
+ }
117575
+ });
117576
+
117577
+ // ../../node_modules/@wix/wix-data-collections-extension-schema/dist/DataPermissionsSchema.js
117578
+ var require_DataPermissionsSchema = __commonJS({
117579
+ "../../node_modules/@wix/wix-data-collections-extension-schema/dist/DataPermissionsSchema.js"(exports2) {
117580
+ "use strict";
117581
+ Object.defineProperty(exports2, "__esModule", { value: true });
117582
+ exports2.DataPermissionsSchema = exports2.AccessLevelSchema = void 0;
117583
+ var zod_1 = require_zod();
117584
+ exports2.AccessLevelSchema = zod_1.z.enum([
117585
+ "ANYONE",
117586
+ "SITE_MEMBER",
117587
+ "SITE_MEMBER_AUTHOR",
117588
+ "CMS_EDITOR",
117589
+ "PRIVILEGED"
117590
+ ]).meta({
117591
+ description: "Describes who can perform certain action. Each level includes all levels below it."
117592
+ });
117593
+ exports2.DataPermissionsSchema = zod_1.z.object({
117594
+ itemRead: exports2.AccessLevelSchema.meta({
117595
+ description: "Access level required to read data items."
117596
+ }),
117597
+ itemInsert: exports2.AccessLevelSchema.meta({
117598
+ description: "Access level required to insert data items."
117599
+ }),
117600
+ itemUpdate: exports2.AccessLevelSchema.meta({
117601
+ description: "Access level required to update data items."
117602
+ }),
117603
+ itemRemove: exports2.AccessLevelSchema.meta({
117604
+ description: "Access level required to remove data items."
117605
+ })
117606
+ }).meta({
117607
+ description: "DataPermissions"
117608
+ });
117609
+ }
117610
+ });
117611
+
117612
+ // ../../node_modules/@wix/wix-data-collections-extension-schema/dist/IndexSchema.js
117613
+ var require_IndexSchema = __commonJS({
117614
+ "../../node_modules/@wix/wix-data-collections-extension-schema/dist/IndexSchema.js"(exports2) {
117615
+ "use strict";
117616
+ Object.defineProperty(exports2, "__esModule", { value: true });
117617
+ exports2.IndexSchema = exports2.IndexFieldSchema = exports2.OrderEnum = void 0;
117618
+ var zod_1 = require_zod();
117619
+ exports2.OrderEnum = zod_1.z.enum(["ASC", "DESC"]).meta({
117620
+ description: "Order determines how values are ordered in the index. This is important when\nordering and/or range querying by indexed fields."
117621
+ });
117622
+ exports2.IndexFieldSchema = zod_1.z.object({
117623
+ path: zod_1.z.string().min(1).max(128).meta({
117624
+ description: "Path of the field to index. For example: `title` or `options.price`."
117625
+ }),
117626
+ order: exports2.OrderEnum.meta({
117627
+ description: "Sort order for the index. Base on how the data is regularly queried.\n\nDefault: `ASC`"
117628
+ })
117629
+ });
117630
+ exports2.IndexSchema = zod_1.z.object({
117631
+ fields: zod_1.z.array(exports2.IndexFieldSchema).min(1).max(3).meta({
117632
+ description: "Fields for which the index is defined.\n\nMax: 3 fields (for a unique index: 1 field)"
117633
+ }),
117634
+ unique: zod_1.z.boolean().optional().meta({
117635
+ description: "Whether the index enforces uniqueness of values in the field for which it is defined.\nIf `true`, the index can have only one field.\n\nDefault: `false`"
117636
+ })
117637
+ });
117638
+ }
117639
+ });
117640
+
117641
+ // ../../node_modules/@wix/wix-data-collections-extension-schema/dist/CollectionSchema.js
117642
+ var require_CollectionSchema = __commonJS({
117643
+ "../../node_modules/@wix/wix-data-collections-extension-schema/dist/CollectionSchema.js"(exports2) {
117644
+ "use strict";
117645
+ Object.defineProperty(exports2, "__esModule", { value: true });
117646
+ exports2.CollectionSchema = void 0;
117647
+ var zod_1 = require_zod();
117648
+ var FieldSchema_1 = require_FieldSchema();
117649
+ var DataPermissionsSchema_1 = require_DataPermissionsSchema();
117650
+ var IndexSchema_1 = require_IndexSchema();
117651
+ exports2.CollectionSchema = zod_1.z.object({
117652
+ idSuffix: zod_1.z.string().max(256).meta({
117653
+ description: "Collection ID suffix. The app namespace is automatically prepended in the CMS. For example, the full ID for `my-products-1` becomes `@company/app-name/my-products-1`."
117654
+ }),
117655
+ displayName: zod_1.z.string().min(1).max(1e3).optional().meta({
117656
+ description: "Collection's display name as shown in the CMS. For example, `My First Collection`."
117657
+ }),
117658
+ displayField: zod_1.z.string().min(1).max(1e3).optional().meta({
117659
+ description: "Field whose value the CMS displays to represent the collection item when referenced in a different collection."
117660
+ }),
117661
+ fields: zod_1.z.array(FieldSchema_1.FieldSchema).min(1).max(1e3).meta({
117662
+ description: "Collection's field structure."
117663
+ }),
117664
+ dataPermissions: DataPermissionsSchema_1.DataPermissionsSchema.meta({
117665
+ description: "Levels of permission for accessing and modifying data, defined by the lowest role needed to perform each action."
117666
+ }),
117667
+ indexes: zod_1.z.array(IndexSchema_1.IndexSchema).max(3).optional().meta({
117668
+ description: "Indexes defined for the collection. An index is a map of a collection's data, organized according to specific fields to increase query speed."
117669
+ }),
117670
+ initialData: zod_1.z.array(zod_1.z.looseObject({})).max(1e3).optional().meta({
117671
+ description: "Optional initial data to populate the collection with."
117672
+ })
117673
+ });
117674
+ }
117675
+ });
117676
+
117677
+ // ../../node_modules/@wix/wix-data-collections-extension-schema/dist/DataCollectionsExtensionSchema.js
117678
+ var require_DataCollectionsExtensionSchema = __commonJS({
117679
+ "../../node_modules/@wix/wix-data-collections-extension-schema/dist/DataCollectionsExtensionSchema.js"(exports2) {
117680
+ "use strict";
117681
+ Object.defineProperty(exports2, "__esModule", { value: true });
117682
+ exports2.DataCollectionsExtensionSchema = void 0;
117683
+ var zod_1 = require_zod();
117684
+ var CollectionSchema_1 = require_CollectionSchema();
117685
+ exports2.DataCollectionsExtensionSchema = zod_1.z.object({
117686
+ collections: zod_1.z.array(CollectionSchema_1.CollectionSchema).max(100).meta({
117687
+ description: "Data collections automatically added to a site when the app is installed."
117688
+ })
117689
+ }).meta({
117690
+ description: "An extension for adding data collections to a site when an app is installed."
117691
+ });
117692
+ }
117693
+ });
117694
+
117695
+ // ../../node_modules/@wix/wix-data-collections-extension-schema/dist/index.js
117696
+ var require_dist11 = __commonJS({
117697
+ "../../node_modules/@wix/wix-data-collections-extension-schema/dist/index.js"(exports2) {
117698
+ "use strict";
117699
+ Object.defineProperty(exports2, "__esModule", { value: true });
117700
+ exports2.DataPermissionsSchema = exports2.IndexFieldSchema = exports2.DataCollectionsExtensionSchema = exports2.FieldTypeSchema = exports2.CollectionSchema = void 0;
117701
+ var CollectionSchema_1 = require_CollectionSchema();
117702
+ Object.defineProperty(exports2, "CollectionSchema", { enumerable: true, get: function() {
117703
+ return CollectionSchema_1.CollectionSchema;
117704
+ } });
117705
+ var FieldSchema_1 = require_FieldSchema();
117706
+ Object.defineProperty(exports2, "FieldTypeSchema", { enumerable: true, get: function() {
117707
+ return FieldSchema_1.FieldTypeSchema;
117708
+ } });
117709
+ var DataCollectionsExtensionSchema_1 = require_DataCollectionsExtensionSchema();
117710
+ Object.defineProperty(exports2, "DataCollectionsExtensionSchema", { enumerable: true, get: function() {
117711
+ return DataCollectionsExtensionSchema_1.DataCollectionsExtensionSchema;
117712
+ } });
117713
+ var IndexSchema_1 = require_IndexSchema();
117714
+ Object.defineProperty(exports2, "IndexFieldSchema", { enumerable: true, get: function() {
117715
+ return IndexSchema_1.IndexFieldSchema;
117716
+ } });
117717
+ var DataPermissionsSchema_1 = require_DataPermissionsSchema();
117718
+ Object.defineProperty(exports2, "DataPermissionsSchema", { enumerable: true, get: function() {
117719
+ return DataPermissionsSchema_1.DataPermissionsSchema;
117720
+ } });
117721
+ }
117722
+ });
117723
+
117388
117724
  // dist/agents/PlannerAgent.js
117389
117725
  var require_PlannerAgent = __commonJS({
117390
117726
  "dist/agents/PlannerAgent.js"(exports2) {
117391
117727
  "use strict";
117392
117728
  Object.defineProperty(exports2, "__esModule", { value: true });
117393
- exports2.PlannerAgent = exports2.ApiSpecOperationSchema = exports2.EmbeddedScriptParametersOperationSchema = exports2.CollectionOperationSchema = void 0;
117729
+ exports2.PlannerAgent = exports2.PlannerOutputSchema = exports2.ApiSpecOperationSchema = exports2.EmbeddedScriptParametersOperationSchema = exports2.CollectionOperationSchema = void 0;
117394
117730
  var types_1 = require_types_impl();
117395
117731
  var anthropic_1 = require_dist6();
117396
117732
  var ai_1 = require_dist10();
117397
117733
  var zod_1 = require_zod();
117398
117734
  var planner_1 = require_planner();
117399
- var CMSSchema_1 = require_CMSSchema();
117400
117735
  var utils_1 = require_utils11();
117401
117736
  var ApiSpecSchema_1 = require_ApiSpecSchema();
117402
117737
  var EmbeddedScriptSchema_1 = require_EmbeddedScriptSchema();
117403
117738
  var ditto_codegen_types_12 = require_dist();
117739
+ var wix_data_collections_extension_schema_1 = require_dist11();
117404
117740
  var OperationEnum = zod_1.z.enum(["insert", "update", "delete"]).describe("Operation: insert (create new), update (modify existing), delete (remove existing)").default("insert");
117405
117741
  exports2.CollectionOperationSchema = zod_1.z.object({
117406
117742
  operation: OperationEnum,
117407
- data: CMSSchema_1.CmsCollectionSchema.describe("The collection data")
117743
+ data: wix_data_collections_extension_schema_1.CollectionSchema.describe("The collection data")
117408
117744
  });
117409
117745
  exports2.EmbeddedScriptParametersOperationSchema = zod_1.z.object({
117410
117746
  operation: OperationEnum,
@@ -117414,7 +117750,7 @@ var require_PlannerAgent = __commonJS({
117414
117750
  operation: OperationEnum,
117415
117751
  data: ApiSpecSchema_1.ApiSpecSchema.describe("The API specification")
117416
117752
  });
117417
- var PlannerOutputSchema = zod_1.z.object({
117753
+ exports2.PlannerOutputSchema = zod_1.z.object({
117418
117754
  collections: zod_1.z.array(exports2.CollectionOperationSchema).default([]).describe("CMS collection operations - only include collections that need to be created, updated, or deleted"),
117419
117755
  embeddedScriptParameters: zod_1.z.array(exports2.EmbeddedScriptParametersOperationSchema).default([]).describe("Embedded script parameters operations - only include parameters that need to be created, updated, or deleted"),
117420
117756
  apiSpec: exports2.ApiSpecOperationSchema.optional().describe("API specification operation - only include if API spec needs to be created, updated, or deleted")
@@ -117442,7 +117778,7 @@ ${error}` : ""}
117442
117778
  `;
117443
117779
  const result = await (0, ai_1.generateObject)({
117444
117780
  model,
117445
- schema: PlannerOutputSchema,
117781
+ schema: exports2.PlannerOutputSchema,
117446
117782
  messages: [
117447
117783
  {
117448
117784
  role: "system",
@@ -119794,7 +120130,7 @@ var require_DashboardModals = __commonJS({
119794
120130
  });
119795
120131
 
119796
120132
  // ../codegen-common-logic/dist/index.js
119797
- var require_dist11 = __commonJS({
120133
+ var require_dist12 = __commonJS({
119798
120134
  "../codegen-common-logic/dist/index.js"(exports2) {
119799
120135
  "use strict";
119800
120136
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
@@ -119839,7 +120175,7 @@ var require_DashboardPageAgent2 = __commonJS({
119839
120175
  var ai_1 = require_dist10();
119840
120176
  var utils_1 = require_utils11();
119841
120177
  var load_examples_1 = require_load_examples();
119842
- var codegen_common_logic_1 = require_dist11();
120178
+ var codegen_common_logic_1 = require_dist12();
119843
120179
  var DashboardPageAgent = class {
119844
120180
  constructor(apiKey, useIteration = false) {
119845
120181
  this.apiKey = apiKey;
@@ -119960,7 +120296,7 @@ var require_SiteComponentAgent2 = __commonJS({
119960
120296
  var ai_1 = require_dist10();
119961
120297
  var utils_1 = require_utils11();
119962
120298
  var siteComponentPrompt_1 = require_siteComponentPrompt();
119963
- var codegen_common_logic_1 = require_dist11();
120299
+ var codegen_common_logic_1 = require_dist12();
119964
120300
  var SiteComponentAgent = class {
119965
120301
  constructor(apiKey) {
119966
120302
  this.apiKey = apiKey;
@@ -120110,7 +120446,7 @@ var require_CustomElementAgent2 = __commonJS({
120110
120446
  var utils_1 = require_utils11();
120111
120447
  var customElementPrompt_1 = require_customElementPrompt();
120112
120448
  var load_examples_1 = __importStar2(require_load_examples());
120113
- var codegen_common_logic_1 = require_dist11();
120449
+ var codegen_common_logic_1 = require_dist12();
120114
120450
  var CustomElementAgent = class {
120115
120451
  constructor(apiKey) {
120116
120452
  this.apiKey = apiKey;
@@ -120380,7 +120716,7 @@ var require_SPIAgent2 = __commonJS({
120380
120716
  var ai_1 = require_dist10();
120381
120717
  var utils_1 = require_utils11();
120382
120718
  var load_examples_1 = require_load_examples();
120383
- var codegen_common_logic_1 = require_dist11();
120719
+ var codegen_common_logic_1 = require_dist12();
120384
120720
  var SPIAgent = class {
120385
120721
  constructor(apiKey, useIteration = false) {
120386
120722
  this.apiKey = apiKey;
@@ -120541,7 +120877,7 @@ var require_BackendEventAgent2 = __commonJS({
120541
120877
  var utils_1 = require_utils11();
120542
120878
  var backendEventPrompt_1 = require_backendEventPrompt();
120543
120879
  var load_examples_1 = __importStar2(require_load_examples());
120544
- var codegen_common_logic_1 = require_dist11();
120880
+ var codegen_common_logic_1 = require_dist12();
120545
120881
  var BackendEventAgent = class {
120546
120882
  constructor(apiKey, useIteration = false) {
120547
120883
  this.apiKey = apiKey;
@@ -120699,7 +121035,7 @@ var require_BackendApiAgent2 = __commonJS({
120699
121035
  var backendApi_1 = require_backendApi();
120700
121036
  var utils_1 = require_utils11();
120701
121037
  var ai_1 = require_dist10();
120702
- var codegen_common_logic_1 = require_dist11();
121038
+ var codegen_common_logic_1 = require_dist12();
120703
121039
  var BackendApiAgent = class {
120704
121040
  constructor(apiKey) {
120705
121041
  this.apiKey = apiKey;
@@ -120989,7 +121325,7 @@ var require_EmbeddedScriptAgent2 = __commonJS({
120989
121325
  var load_examples_1 = require_load_examples();
120990
121326
  var zod_1 = __importDefault3(require_zod());
120991
121327
  var embededScript_1 = require_embededScript();
120992
- var codegen_common_logic_1 = require_dist11();
121328
+ var codegen_common_logic_1 = require_dist12();
120993
121329
  var EmbeddedScriptPlacement;
120994
121330
  (function(EmbeddedScriptPlacement2) {
120995
121331
  EmbeddedScriptPlacement2["HEAD"] = "HEAD";
@@ -121841,7 +122177,7 @@ var require_scaffolding = __commonJS({
121841
122177
  });
121842
122178
 
121843
122179
  // ../scaffolding/dist/index.js
121844
- var require_dist12 = __commonJS({
122180
+ var require_dist13 = __commonJS({
121845
122181
  "../scaffolding/dist/index.js"(exports2) {
121846
122182
  "use strict";
121847
122183
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -121873,7 +122209,7 @@ var require_AutoPatternsGenerator = __commonJS({
121873
122209
  "use strict";
121874
122210
  Object.defineProperty(exports2, "__esModule", { value: true });
121875
122211
  exports2.AutoPatternsGenerator = void 0;
121876
- var ditto_scaffolding_1 = require_dist12();
122212
+ var ditto_scaffolding_1 = require_dist13();
121877
122213
  var ditto_codegen_types_12 = require_dist();
121878
122214
  var AutoPatternsGenerator = class {
121879
122215
  constructor() {
@@ -122006,7 +122342,7 @@ var require_AutoPatternsGenerator = __commonJS({
122006
122342
  type: "create",
122007
122343
  label: contentResult.schema?.content.actionButtonLabel,
122008
122344
  collection: {
122009
- collectionId: collection.id,
122345
+ collectionId: collection.idSuffix,
122010
122346
  entityTypeSource: "cms"
122011
122347
  },
122012
122348
  create: {
@@ -122025,7 +122361,7 @@ var require_AutoPatternsGenerator = __commonJS({
122025
122361
  layout,
122026
122362
  entityPageId: `${collectionRouteId}-entity`,
122027
122363
  collection: {
122028
- collectionId: collection.id,
122364
+ collectionId: collection.idSuffix,
122029
122365
  entityTypeSource: "cms"
122030
122366
  },
122031
122367
  toolbarTitle: {
@@ -122140,7 +122476,7 @@ var require_AutoPatternsGenerator = __commonJS({
122140
122476
  },
122141
122477
  parentPageId: `${collectionRouteId}-collection`,
122142
122478
  layout: this.generateEntityPageLayout(contentResult.schema?.layout),
122143
- collectionId: collection.id,
122479
+ collectionId: collection.idSuffix,
122144
122480
  entityTypeSource: "cms"
122145
122481
  }
122146
122482
  }
@@ -131543,9 +131879,9 @@ var require_extensionGenerators = __commonJS({
131543
131879
  var path_1 = __importDefault3(require("path"));
131544
131880
  var fs_extra_1 = __importDefault3(require_lib());
131545
131881
  var crypto_1 = require("crypto");
131546
- var ditto_scaffolding_1 = require_dist12();
131882
+ var ditto_scaffolding_1 = require_dist13();
131547
131883
  var types_1 = require_types_impl();
131548
- var ditto_scaffolding_2 = require_dist12();
131884
+ var ditto_scaffolding_2 = require_dist13();
131549
131885
  var EmbeddedScriptAgent_1 = require_EmbeddedScriptAgent2();
131550
131886
  var ditto_codegen_types_12 = require_dist();
131551
131887
  var ExtensionFactory = class {
@@ -131901,7 +132237,7 @@ var require_extensionHelpers = __commonJS({
131901
132237
  var extensionGenerators_1 = require_extensionGenerators();
131902
132238
  var file_collector_1 = require_file_collector();
131903
132239
  var orchestrator_error_helpers_1 = require_orchestrator_error_helpers();
131904
- var ditto_scaffolding_1 = require_dist12();
132240
+ var ditto_scaffolding_1 = require_dist13();
131905
132241
  var ditto_codegen_types_12 = require_dist();
131906
132242
  function finalizeExtensionGeneration(options, eventEmitter) {
131907
132243
  const { extension, agentName, agentFiles, scaffolds = [], scaffoldPath, outputPath, generatedConfig } = options;
@@ -132315,12 +132651,10 @@ var require_cms = __commonJS({
132315
132651
  }
132316
132652
  const files = [];
132317
132653
  const collectionsData = plan.collections.map((collection) => {
132318
- const { data: { id: _id, ...rest } } = collection;
132319
132654
  return {
132320
- idSuffix: _id ?? "no-collection-id",
132321
132655
  schemaUrl: `https://www.wix.com/`,
132322
132656
  // TODO: remove once Wix Data are deprecating it
132323
- ...rest
132657
+ ...collection
132324
132658
  };
132325
132659
  });
132326
132660
  const generatedCode = `
@@ -132351,7 +132685,7 @@ export const dataExtension = extensions.genericExtension(${JSON.stringify({
132351
132685
  ...collection,
132352
132686
  data: {
132353
132687
  ...collection?.data ?? {},
132354
- id: path_1.default.join(appNamespace, collection?.data?.id ?? "no-collection-id")
132688
+ idSuffix: path_1.default.join(appNamespace, collection?.data?.idSuffix ?? "no-collection-id")
132355
132689
  }
132356
132690
  };
132357
132691
  }) || [];
@@ -135925,7 +136259,7 @@ var require_helpers2 = __commonJS({
135925
136259
  });
135926
136260
 
135927
136261
  // ../../node_modules/agent-base/dist/index.js
135928
- var require_dist13 = __commonJS({
136262
+ var require_dist14 = __commonJS({
135929
136263
  "../../node_modules/agent-base/dist/index.js"(exports2) {
135930
136264
  "use strict";
135931
136265
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
@@ -136081,7 +136415,7 @@ var require_dist13 = __commonJS({
136081
136415
  });
136082
136416
 
136083
136417
  // ../../node_modules/http-proxy-agent/dist/index.js
136084
- var require_dist14 = __commonJS({
136418
+ var require_dist15 = __commonJS({
136085
136419
  "../../node_modules/http-proxy-agent/dist/index.js"(exports2) {
136086
136420
  "use strict";
136087
136421
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
@@ -136120,7 +136454,7 @@ var require_dist14 = __commonJS({
136120
136454
  var tls = __importStar2(require("tls"));
136121
136455
  var debug_1 = __importDefault3(require_src9());
136122
136456
  var events_1 = require("events");
136123
- var agent_base_1 = require_dist13();
136457
+ var agent_base_1 = require_dist14();
136124
136458
  var url_1 = require("url");
136125
136459
  var debug = (0, debug_1.default)("http-proxy-agent");
136126
136460
  var HttpProxyAgent = class extends agent_base_1.Agent {
@@ -136307,7 +136641,7 @@ var require_parse_proxy_response = __commonJS({
136307
136641
  });
136308
136642
 
136309
136643
  // ../../node_modules/@wix/http-client/node_modules/https-proxy-agent/dist/index.js
136310
- var require_dist15 = __commonJS({
136644
+ var require_dist16 = __commonJS({
136311
136645
  "../../node_modules/@wix/http-client/node_modules/https-proxy-agent/dist/index.js"(exports2) {
136312
136646
  "use strict";
136313
136647
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
@@ -136346,7 +136680,7 @@ var require_dist15 = __commonJS({
136346
136680
  var tls = __importStar2(require("tls"));
136347
136681
  var assert_1 = __importDefault3(require("assert"));
136348
136682
  var debug_1 = __importDefault3(require_src9());
136349
- var agent_base_1 = require_dist13();
136683
+ var agent_base_1 = require_dist14();
136350
136684
  var url_1 = require("url");
136351
136685
  var parse_proxy_response_1 = require_parse_proxy_response();
136352
136686
  var debug = (0, debug_1.default)("https-proxy-agent");
@@ -137718,8 +138052,8 @@ var require_http_client_node = __commonJS({
137718
138052
  exports2.HttpClient = exports2.createHttpClient = void 0;
137719
138053
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
137720
138054
  var http_1 = tslib_1.__importDefault(require_http());
137721
- var http_proxy_agent_1 = require_dist14();
137722
- var https_proxy_agent_1 = require_dist15();
138055
+ var http_proxy_agent_1 = require_dist15();
138056
+ var https_proxy_agent_1 = require_dist16();
137723
138057
  var env_util_1 = require_env_util();
137724
138058
  var http_client_1 = require_http_client();
137725
138059
  var MAX_NUMBER_OF_REPORTING_PROXY_METRICS_ATTEMPTS = 3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.98",
3
+ "version": "1.0.100",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.25.9"
26
26
  },
27
- "falconPackageHash": "134708d426becb9b076659aaa0c469c208cff9b11a296d25304518ca"
27
+ "falconPackageHash": "f457c38097a659b26277ebc1ee7d884559e900d2dd194cde6726f150"
28
28
  }