@wix/ditto-codegen-public 1.0.30 → 1.0.32

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 +19 -3
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -120258,6 +120258,10 @@ var require_http_impl = __commonJS({
120258
120258
  {
120259
120259
  srcPath: "/data/v1/external-database-connections",
120260
120260
  destPath: "/v1/external-database-connections"
120261
+ },
120262
+ {
120263
+ srcPath: "/data/v1/data-collection-sharing",
120264
+ destPath: "/v1/data-collection-sharing"
120261
120265
  }
120262
120266
  ],
120263
120267
  "www.wixgateway.com": [
@@ -120278,6 +120282,10 @@ var require_http_impl = __commonJS({
120278
120282
  {
120279
120283
  srcPath: "/_api/cloud-data/v1/external-database-connections",
120280
120284
  destPath: "/v1/external-database-connections"
120285
+ },
120286
+ {
120287
+ srcPath: "/data/v1/data-collection-sharing",
120288
+ destPath: "/v1/data-collection-sharing"
120281
120289
  }
120282
120290
  ]
120283
120291
  };
@@ -121286,6 +121294,10 @@ var require_http_impl2 = __commonJS({
121286
121294
  {
121287
121295
  srcPath: "/data/v1/external-database-connections",
121288
121296
  destPath: "/v1/external-database-connections"
121297
+ },
121298
+ {
121299
+ srcPath: "/data/v1/data-collection-sharing",
121300
+ destPath: "/v1/data-collection-sharing"
121289
121301
  }
121290
121302
  ],
121291
121303
  "www.wixgateway.com": [
@@ -121306,6 +121318,10 @@ var require_http_impl2 = __commonJS({
121306
121318
  {
121307
121319
  srcPath: "/_api/cloud-data/v1/external-database-connections",
121308
121320
  destPath: "/v1/external-database-connections"
121321
+ },
121322
+ {
121323
+ srcPath: "/data/v1/data-collection-sharing",
121324
+ destPath: "/v1/data-collection-sharing"
121309
121325
  }
121310
121326
  ]
121311
121327
  };
@@ -125589,7 +125605,7 @@ var require_extensionGenerators = __commonJS({
125589
125605
  name,
125590
125606
  extensionType: extension.type,
125591
125607
  builderMethod,
125592
- ...config.createExtensionData(extension, scaffoldDir)
125608
+ ...config.createExtensionData(extension, scaffoldDir, id)
125593
125609
  };
125594
125610
  writeExtensionTs(outputPath, name, baseData, scaffoldDir);
125595
125611
  }
@@ -125627,13 +125643,13 @@ var require_extensionGenerators = __commonJS({
125627
125643
  component
125628
125644
  };
125629
125645
  }
125630
- static createSiteComponentData(ext, scaffoldDir) {
125646
+ static createSiteComponentData(ext, scaffoldDir, id) {
125631
125647
  const componentName = ext.name ?? "my-component";
125632
125648
  const kebabCaseComponentName = (0, ditto_scaffolding_2.toKebabCase)(componentName);
125633
125649
  const componentPath = "./" + path_1.default.join(scaffoldDir, "component.tsx").replace(/^src\//, "");
125634
125650
  return {
125635
125651
  description: ext.name,
125636
- type: "platform.builder.c8493d19-9d3f-4233-9c2c-7305ac567af3_8fccccee-ee75-4b29-a0e6-e5bd67e9184b",
125652
+ type: `platform.builder.${id}`,
125637
125653
  editorElement: {
125638
125654
  displayName: componentName,
125639
125655
  selector: kebabCaseComponentName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
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": "36e3cd17921ac10d83d0ca2fa157c161a0264c30b5e1090ab3319a95"
27
+ "falconPackageHash": "aedba2bc0fa2e47c3994a3d0c21987c43b53a615db9cdb88d83b0840"
28
28
  }