@wix/ditto-codegen-public 1.0.249 → 1.0.251
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/dist/out.js +299 -314
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -73590,6 +73590,78 @@ var require_DashboardPageAgent = __commonJS({
|
|
|
73590
73590
|
}
|
|
73591
73591
|
});
|
|
73592
73592
|
|
|
73593
|
+
// ../codegen-common-logic/dist/extensions/DashboardPlugins.js
|
|
73594
|
+
var require_DashboardPlugins = __commonJS({
|
|
73595
|
+
"../codegen-common-logic/dist/extensions/DashboardPlugins.js"(exports2) {
|
|
73596
|
+
"use strict";
|
|
73597
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
73598
|
+
exports2.getDashboardPluginsDecisionGuide = exports2.getDashboardPluginsAgentDocumentation = void 0;
|
|
73599
|
+
var getDashboardPluginsAgentDocumentation = () => {
|
|
73600
|
+
return `<dashboard_plugins>
|
|
73601
|
+
#### Dashboard Plugins
|
|
73602
|
+
- **Description**: Interactive widgets embedded into existing Wix app dashboard pages via predefined plugin slots
|
|
73603
|
+
- **Slot System**: Plugins are placed in predefined page slots within existing Wix business app dashboards
|
|
73604
|
+
- **Use Cases**:
|
|
73605
|
+
- Product analytics widgets on Wix Stores Products page
|
|
73606
|
+
- Inventory monitoring on Wix Stores Inventory page
|
|
73607
|
+
- Booking insights on Wix Bookings Services or Booking List pages
|
|
73608
|
+
- Order details enrichment on Wix eCommerce Order page
|
|
73609
|
+
- **Context Access**: Automatic access to current page context (entity IDs, user permissions, page state)
|
|
73610
|
+
- **When to Choose**: When you need to enhance existing Wix business app dashboards with contextual functionality
|
|
73611
|
+
|
|
73612
|
+
##### Supported Dashboard Plugin Page Slots:
|
|
73613
|
+
|
|
73614
|
+
**Wix Stores:**
|
|
73615
|
+
- Products page \u2013 Embed a plugin on the Products list page
|
|
73616
|
+
- Inventory page \u2013 Embed a plugin on the Inventory management page
|
|
73617
|
+
|
|
73618
|
+
**Wix Bookings:**
|
|
73619
|
+
- Staff page \u2013 Embed a plugin on the Staff management page
|
|
73620
|
+
- Edit Staff Profile page \u2013 Embed a plugin on a staff member's profile page
|
|
73621
|
+
- Services page \u2013 Embed a plugin on the Services list page
|
|
73622
|
+
- Booking List page \u2013 Embed a plugin on the Booking List page
|
|
73623
|
+
|
|
73624
|
+
**Wix eCommerce:**
|
|
73625
|
+
- Order page \u2013 Embed a plugin on the Order details page
|
|
73626
|
+
- Edit Order page \u2013 Embed a plugin (e.g., additional fees) on the Edit Order page
|
|
73627
|
+
- Orders List page \u2013 Available via more actions menu
|
|
73628
|
+
|
|
73629
|
+
**Wix Blog:**
|
|
73630
|
+
- Blog Overview page \u2013 Embed a plugin on the Blog Overview page
|
|
73631
|
+
- Categories page \u2013 Embed a plugin on the Categories page
|
|
73632
|
+
- Posts page \u2013 Embed a plugin on the Posts list page
|
|
73633
|
+
- Tags page \u2013 Embed a plugin on the Tags page
|
|
73634
|
+
|
|
73635
|
+
**Wix Events:**
|
|
73636
|
+
- Event Features Tab, Overview Tab, Promotion Tab, Settings Tab, Tickets & Seating Tab
|
|
73637
|
+
|
|
73638
|
+
**Wix Restaurants:**
|
|
73639
|
+
- Table Reservations page \u2013 Embed a plugin on the Table Reservations page
|
|
73640
|
+
|
|
73641
|
+
##### Examples:
|
|
73642
|
+
- Wix Stores Products page \u2013 Product performance analytics widget
|
|
73643
|
+
- Wix Stores Inventory page \u2013 Low-stock alerts widget
|
|
73644
|
+
- Wix Bookings Services page \u2013 Service performance insights
|
|
73645
|
+
- Wix Bookings Booking List page \u2013 Quick rescheduling action buttons
|
|
73646
|
+
- Wix eCommerce Order page \u2013 Cross-sell recommendations
|
|
73647
|
+
- Wix Blog Posts page \u2013 SEO score widget for draft posts
|
|
73648
|
+
</dashboard_plugins>`;
|
|
73649
|
+
};
|
|
73650
|
+
exports2.getDashboardPluginsAgentDocumentation = getDashboardPluginsAgentDocumentation;
|
|
73651
|
+
var getDashboardPluginsDecisionGuide = () => {
|
|
73652
|
+
return `### Choose Dashboard Plugins when:
|
|
73653
|
+
|
|
73654
|
+
- \u2705 You want to enhance existing Wix app pages with contextual widgets
|
|
73655
|
+
- \u2705 Need to integrate with Wix Bookings, Stores, etc. within their existing UI
|
|
73656
|
+
- \u2705 Want to add functionality to specific business app contexts (product pages, order pages, booking lists, etc.)
|
|
73657
|
+
- \u2705 Need automatic access to current page context (entity IDs, user permissions, page state)
|
|
73658
|
+
- \u2705 Building analytics, insights, or management tools that complement existing workflows
|
|
73659
|
+
- \u2705 Want to avoid creating separate pages for functionality that fits within existing contexts`;
|
|
73660
|
+
};
|
|
73661
|
+
exports2.getDashboardPluginsDecisionGuide = getDashboardPluginsDecisionGuide;
|
|
73662
|
+
}
|
|
73663
|
+
});
|
|
73664
|
+
|
|
73593
73665
|
// ../codegen-common-logic/dist/extensions/DashboardExtensions.js
|
|
73594
73666
|
var require_DashboardExtensions = __commonJS({
|
|
73595
73667
|
"../codegen-common-logic/dist/extensions/DashboardExtensions.js"(exports2) {
|
|
@@ -73597,10 +73669,13 @@ var require_DashboardExtensions = __commonJS({
|
|
|
73597
73669
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
73598
73670
|
exports2.getDashboardExtensionsDocumentation = void 0;
|
|
73599
73671
|
var DashboardPageAgent_1 = require_DashboardPageAgent();
|
|
73600
|
-
var
|
|
73672
|
+
var DashboardPlugins_1 = require_DashboardPlugins();
|
|
73673
|
+
var getDashboardExtensionsDocumentation = (options) => {
|
|
73601
73674
|
return `### Dashboard Extensions
|
|
73602
73675
|
Dashboard extensions add functionality to the Wix Dashboard for site administrators. They are not visible on live sites.
|
|
73603
|
-
${(0, DashboardPageAgent_1.getDashboardPageAgentDocumentation)()}
|
|
73676
|
+
${(0, DashboardPageAgent_1.getDashboardPageAgentDocumentation)()}${options?.enableNewExtensions ? `
|
|
73677
|
+
|
|
73678
|
+
${(0, DashboardPlugins_1.getDashboardPluginsAgentDocumentation)()}` : ""}`;
|
|
73604
73679
|
};
|
|
73605
73680
|
exports2.getDashboardExtensionsDocumentation = getDashboardExtensionsDocumentation;
|
|
73606
73681
|
}
|
|
@@ -73775,77 +73850,6 @@ ${(0, SitePluginAgent_1.getSitePluginAgentDocumentation)()}` : ""}`;
|
|
|
73775
73850
|
}
|
|
73776
73851
|
});
|
|
73777
73852
|
|
|
73778
|
-
// ../codegen-common-logic/dist/extensions/DashboardPlugins.js
|
|
73779
|
-
var require_DashboardPlugins = __commonJS({
|
|
73780
|
-
"../codegen-common-logic/dist/extensions/DashboardPlugins.js"(exports2) {
|
|
73781
|
-
"use strict";
|
|
73782
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
73783
|
-
exports2.getDashboardPluginsDecisionGuide = exports2.getDashboardPluginsAgentDocumentation = void 0;
|
|
73784
|
-
var getDashboardPluginsAgentDocumentation = () => {
|
|
73785
|
-
return `<dashboard_plugins>
|
|
73786
|
-
#### Dashboard Plugins
|
|
73787
|
-
- **Description**: Interactive widgets embedded into existing Wix app dashboard pages using a slot-based system
|
|
73788
|
-
- **Slot System**: Plugins are placed in predefined slots within existing dashboards (e.g., \`stores.product.details.content\`, \`bookings.calendar.sidebar\`)
|
|
73789
|
-
- **Use Cases**:
|
|
73790
|
-
- Product analytics widgets in Wix Stores product pages
|
|
73791
|
-
- Appointment insights in Wix Bookings calendar views
|
|
73792
|
-
- Lead scoring tools in CRM contact pages
|
|
73793
|
-
- Cross-sell recommendations in order management
|
|
73794
|
-
- **Context Access**: Automatic access to current page context (entity IDs, user permissions, page state)
|
|
73795
|
-
- **When to Choose**: When you need to enhance existing Wix business app dashboards with contextual functionality
|
|
73796
|
-
|
|
73797
|
-
##### Common Dashboard Plugin Slots:
|
|
73798
|
-
|
|
73799
|
-
**Wix Stores:**
|
|
73800
|
-
- \`stores.product.details.content\` - Individual product pages
|
|
73801
|
-
- \`stores.products.list.header\` - Products list header
|
|
73802
|
-
- \`stores.orders.list.content\` - Order management pages
|
|
73803
|
-
- \`stores.inventory.dashboard.content\` - Inventory dashboard
|
|
73804
|
-
|
|
73805
|
-
**Wix Bookings:**
|
|
73806
|
-
- \`bookings.calendar.sidebar\` - Calendar view sidebar
|
|
73807
|
-
- \`bookings.service.details.content\` - Service detail pages
|
|
73808
|
-
- \`bookings.appointments.list.header\` - Appointments list
|
|
73809
|
-
|
|
73810
|
-
**Wix CRM:**
|
|
73811
|
-
- \`crm.contact.details.sidebar\` - Contact detail sidebar
|
|
73812
|
-
- \`crm.contacts.list.header\` - Contacts list header
|
|
73813
|
-
- \`crm.deals.list.content\` - Deals management
|
|
73814
|
-
|
|
73815
|
-
|
|
73816
|
-
**Expanded Slot Examples:**
|
|
73817
|
-
- \`stores.product.details.content\` \u2013 Example: Product performance analytics widget.
|
|
73818
|
-
- \`stores.products.list.header\` \u2013 Example: Quick filters and bulk edit controls.
|
|
73819
|
-
- \`stores.orders.list.content\` \u2013 Example: Bulk order export tool.
|
|
73820
|
-
- \`stores.inventory.dashboard.content\` \u2013 Example: Low-stock alerts widget.
|
|
73821
|
-
- \`bookings.calendar.sidebar\` \u2013 Example: Daily appointment summary widget.
|
|
73822
|
-
- \`bookings.service.details.content\` \u2013 Example: Service performance insights.
|
|
73823
|
-
- \`bookings.appointments.list.header\` \u2013 Example: Quick rescheduling action buttons.
|
|
73824
|
-
- \`crm.contact.details.sidebar\` \u2013 Example: Lead scoring tool.
|
|
73825
|
-
- \`crm.contacts.list.header\` \u2013 Example: Contact segmentation filters.
|
|
73826
|
-
- \`crm.deals.list.content\` \u2013 Example: Deal stage conversion analytics.
|
|
73827
|
-
|
|
73828
|
-
**Slot Placement Guidelines:**
|
|
73829
|
-
- \`.content\` slots \u2013 For detailed interfaces, reports, or data tables.
|
|
73830
|
-
- \`.header\` slots \u2013 For KPIs, quick actions, or filters.
|
|
73831
|
-
- \`.sidebar\` slots \u2013 For contextual tools or secondary information related to the main view.
|
|
73832
|
-
</dashboard_plugins>`;
|
|
73833
|
-
};
|
|
73834
|
-
exports2.getDashboardPluginsAgentDocumentation = getDashboardPluginsAgentDocumentation;
|
|
73835
|
-
var getDashboardPluginsDecisionGuide = () => {
|
|
73836
|
-
return `### Choose Dashboard Plugins when:
|
|
73837
|
-
|
|
73838
|
-
- \u2705 You want to enhance existing Wix app pages with contextual widgets
|
|
73839
|
-
- \u2705 Need to integrate with Wix Bookings, Stores, CRM, etc. within their existing UI
|
|
73840
|
-
- \u2705 Want to add functionality to specific business app contexts (product pages, contact details, etc.)
|
|
73841
|
-
- \u2705 Need automatic access to current page context (entity IDs, user permissions, page state)
|
|
73842
|
-
- \u2705 Building analytics, insights, or management tools that complement existing workflows
|
|
73843
|
-
- \u2705 Want to avoid creating separate pages for functionality that fits within existing contexts`;
|
|
73844
|
-
};
|
|
73845
|
-
exports2.getDashboardPluginsDecisionGuide = getDashboardPluginsDecisionGuide;
|
|
73846
|
-
}
|
|
73847
|
-
});
|
|
73848
|
-
|
|
73849
73853
|
// ../codegen-common-logic/dist/extensions/DashboardMenuPlugins.js
|
|
73850
73854
|
var require_DashboardMenuPlugins = __commonJS({
|
|
73851
73855
|
"../codegen-common-logic/dist/extensions/DashboardMenuPlugins.js"(exports2) {
|
|
@@ -73916,6 +73920,7 @@ var require_extensionsDecisionGuide = __commonJS({
|
|
|
73916
73920
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
73917
73921
|
exports2.getExtensionDecisionMatrix = void 0;
|
|
73918
73922
|
var DashboardPageAgent_1 = require_DashboardPageAgent();
|
|
73923
|
+
var DashboardPlugins_1 = require_DashboardPlugins();
|
|
73919
73924
|
var EmbeddedScriptAgent_1 = require_EmbeddedScriptAgent();
|
|
73920
73925
|
var CustomElementAgent_1 = require_CustomElementAgent();
|
|
73921
73926
|
var SiteComponentAgent_1 = require_SiteComponentAgent();
|
|
@@ -73926,7 +73931,9 @@ var require_extensionsDecisionGuide = __commonJS({
|
|
|
73926
73931
|
var DataCollectionAgent_1 = require_DataCollectionAgent();
|
|
73927
73932
|
var getExtensionDecisionMatrix = (options) => {
|
|
73928
73933
|
return `## Decision Matrix
|
|
73929
|
-
${(0, DashboardPageAgent_1.getDashboardPageDecisionGuide)()}
|
|
73934
|
+
${(0, DashboardPageAgent_1.getDashboardPageDecisionGuide)()}${options?.enableNewExtensions ? `
|
|
73935
|
+
|
|
73936
|
+
${(0, DashboardPlugins_1.getDashboardPluginsDecisionGuide)()}` : ""}
|
|
73930
73937
|
|
|
73931
73938
|
${(0, EmbeddedScriptAgent_1.getEmbeddedScriptDecisionGuide)()}
|
|
73932
73939
|
|
|
@@ -73971,7 +73978,9 @@ var require_commonUseCasesGuide = __commonJS({
|
|
|
73971
73978
|
| Custom shipping rates | Service Plugins (SPIs) | Checkout flow integration | Modify existing business flows |
|
|
73972
73979
|
| Tax calculations | Service Plugins (SPIs) | Checkout flow integration | Custom tax logic integration |
|
|
73973
73980
|
| Custom pricing logic | Service Plugins (SPIs) | Platform-level integration | Platform-level business customization |`;
|
|
73974
|
-
const newExtensionRows = `| Product
|
|
73981
|
+
const newExtensionRows = `| Product analytics in Stores | Dashboard Plugins | Wix Stores Products page slot | Contextual widget within existing Stores dashboard |
|
|
73982
|
+
| Booking insights | Dashboard Plugins | Wix Bookings Booking List page slot | Contextual widget within existing Bookings dashboard |
|
|
73983
|
+
| Product reviews on product page | Site Plugins | Predefined slots in product pages | Reviews are contextually tied to each product \u2192 Site Plugin, not Site Widget |
|
|
73975
73984
|
| Product page enhancements | Site Plugins | Predefined slots in business pages | Contextual integration with Stores, Bookings, etc. |
|
|
73976
73985
|
| Booking page extensions | Site Plugins | Predefined slots in business pages | Extend existing Wix business solution pages |
|
|
73977
73986
|
| Checkout upsells | Site Plugins | Predefined slots in eCommerce pages | Fixed slot integration in checkout flow |
|
|
@@ -91915,263 +91924,26 @@ var require_api2 = __commonJS({
|
|
|
91915
91924
|
}
|
|
91916
91925
|
});
|
|
91917
91926
|
|
|
91918
|
-
// ../../node_modules/@wix/ambassador-data-v2-data-collection/cjs/build/types.impl.js
|
|
91919
|
-
var require_types_impl3 = __commonJS({
|
|
91920
|
-
"../../node_modules/@wix/ambassador-data-v2-data-collection/cjs/build/types.impl.js"(exports2) {
|
|
91921
|
-
"use strict";
|
|
91922
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
91923
|
-
exports2.WebhookIdentityType = exports2.IndexSource = exports2.IndexStatus = exports2.Order = exports2.TenantMode = exports2.SortOrder = exports2.Segment = exports2.AccessLevel = exports2.PagingMode = exports2.Type = exports2.Format = exports2.Status = exports2.Role = exports2.Permission = exports2.FieldPluginType = exports2.PageLinkType = exports2.QueryOperator = exports2.FieldType = exports2.CollectionOperation = exports2.DataOperation = exports2.Direction = exports2.CollectionType = void 0;
|
|
91924
|
-
var CollectionType;
|
|
91925
|
-
(function(CollectionType2) {
|
|
91926
|
-
CollectionType2["NATIVE"] = "NATIVE";
|
|
91927
|
-
CollectionType2["WIX_APP"] = "WIX_APP";
|
|
91928
|
-
CollectionType2["BLOCKS_APP"] = "BLOCKS_APP";
|
|
91929
|
-
CollectionType2["EXTERNAL"] = "EXTERNAL";
|
|
91930
|
-
})(CollectionType || (exports2.CollectionType = CollectionType = {}));
|
|
91931
|
-
var Direction;
|
|
91932
|
-
(function(Direction2) {
|
|
91933
|
-
Direction2["ASC"] = "ASC";
|
|
91934
|
-
Direction2["DESC"] = "DESC";
|
|
91935
|
-
})(Direction || (exports2.Direction = Direction = {}));
|
|
91936
|
-
var DataOperation;
|
|
91937
|
-
(function(DataOperation2) {
|
|
91938
|
-
DataOperation2["AGGREGATE"] = "AGGREGATE";
|
|
91939
|
-
DataOperation2["BULK_INSERT"] = "BULK_INSERT";
|
|
91940
|
-
DataOperation2["BULK_REMOVE"] = "BULK_REMOVE";
|
|
91941
|
-
DataOperation2["BULK_SAVE"] = "BULK_SAVE";
|
|
91942
|
-
DataOperation2["BULK_UPDATE"] = "BULK_UPDATE";
|
|
91943
|
-
DataOperation2["COUNT"] = "COUNT";
|
|
91944
|
-
DataOperation2["DISTINCT"] = "DISTINCT";
|
|
91945
|
-
DataOperation2["FIND"] = "FIND";
|
|
91946
|
-
DataOperation2["GET"] = "GET";
|
|
91947
|
-
DataOperation2["INSERT"] = "INSERT";
|
|
91948
|
-
DataOperation2["INSERT_REFERENCE"] = "INSERT_REFERENCE";
|
|
91949
|
-
DataOperation2["IS_REFERENCED"] = "IS_REFERENCED";
|
|
91950
|
-
DataOperation2["QUERY_REFERENCED"] = "QUERY_REFERENCED";
|
|
91951
|
-
DataOperation2["REMOVE"] = "REMOVE";
|
|
91952
|
-
DataOperation2["REMOVE_REFERENCE"] = "REMOVE_REFERENCE";
|
|
91953
|
-
DataOperation2["REPLACE_REFERENCES"] = "REPLACE_REFERENCES";
|
|
91954
|
-
DataOperation2["SAVE"] = "SAVE";
|
|
91955
|
-
DataOperation2["TRUNCATE"] = "TRUNCATE";
|
|
91956
|
-
DataOperation2["UPDATE"] = "UPDATE";
|
|
91957
|
-
DataOperation2["PATCH"] = "PATCH";
|
|
91958
|
-
DataOperation2["BULK_PATCH"] = "BULK_PATCH";
|
|
91959
|
-
})(DataOperation || (exports2.DataOperation = DataOperation = {}));
|
|
91960
|
-
var CollectionOperation;
|
|
91961
|
-
(function(CollectionOperation2) {
|
|
91962
|
-
CollectionOperation2["UPDATE"] = "UPDATE";
|
|
91963
|
-
CollectionOperation2["REMOVE"] = "REMOVE";
|
|
91964
|
-
})(CollectionOperation || (exports2.CollectionOperation = CollectionOperation = {}));
|
|
91965
|
-
var FieldType;
|
|
91966
|
-
(function(FieldType2) {
|
|
91967
|
-
FieldType2["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
91968
|
-
FieldType2["TEXT"] = "TEXT";
|
|
91969
|
-
FieldType2["NUMBER"] = "NUMBER";
|
|
91970
|
-
FieldType2["DATE"] = "DATE";
|
|
91971
|
-
FieldType2["DATETIME"] = "DATETIME";
|
|
91972
|
-
FieldType2["IMAGE"] = "IMAGE";
|
|
91973
|
-
FieldType2["BOOLEAN"] = "BOOLEAN";
|
|
91974
|
-
FieldType2["DOCUMENT"] = "DOCUMENT";
|
|
91975
|
-
FieldType2["URL"] = "URL";
|
|
91976
|
-
FieldType2["RICH_TEXT"] = "RICH_TEXT";
|
|
91977
|
-
FieldType2["VIDEO"] = "VIDEO";
|
|
91978
|
-
FieldType2["ANY"] = "ANY";
|
|
91979
|
-
FieldType2["ARRAY_STRING"] = "ARRAY_STRING";
|
|
91980
|
-
FieldType2["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
|
|
91981
|
-
FieldType2["AUDIO"] = "AUDIO";
|
|
91982
|
-
FieldType2["TIME"] = "TIME";
|
|
91983
|
-
FieldType2["LANGUAGE"] = "LANGUAGE";
|
|
91984
|
-
FieldType2["RICH_CONTENT"] = "RICH_CONTENT";
|
|
91985
|
-
FieldType2["MEDIA_GALLERY"] = "MEDIA_GALLERY";
|
|
91986
|
-
FieldType2["ADDRESS"] = "ADDRESS";
|
|
91987
|
-
FieldType2["PAGE_LINK"] = "PAGE_LINK";
|
|
91988
|
-
FieldType2["REFERENCE"] = "REFERENCE";
|
|
91989
|
-
FieldType2["MULTI_REFERENCE"] = "MULTI_REFERENCE";
|
|
91990
|
-
FieldType2["OBJECT"] = "OBJECT";
|
|
91991
|
-
FieldType2["ARRAY"] = "ARRAY";
|
|
91992
|
-
FieldType2["LEGACY_TIME"] = "LEGACY_TIME";
|
|
91993
|
-
FieldType2["LEGACY_BOOK"] = "LEGACY_BOOK";
|
|
91994
|
-
FieldType2["LEGACY_EXTERNAL_URL"] = "LEGACY_EXTERNAL_URL";
|
|
91995
|
-
FieldType2["LEGACY_BROKEN_REFERENCE"] = "LEGACY_BROKEN_REFERENCE";
|
|
91996
|
-
FieldType2["LEGACY_IMAGE"] = "LEGACY_IMAGE";
|
|
91997
|
-
FieldType2["LEGACY_COLOR"] = "LEGACY_COLOR";
|
|
91998
|
-
FieldType2["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
|
|
91999
|
-
FieldType2["SLUG"] = "SLUG";
|
|
92000
|
-
FieldType2["EMAIL"] = "EMAIL";
|
|
92001
|
-
})(FieldType || (exports2.FieldType = FieldType = {}));
|
|
92002
|
-
var QueryOperator;
|
|
92003
|
-
(function(QueryOperator2) {
|
|
92004
|
-
QueryOperator2["EQ"] = "EQ";
|
|
92005
|
-
QueryOperator2["LT"] = "LT";
|
|
92006
|
-
QueryOperator2["GT"] = "GT";
|
|
92007
|
-
QueryOperator2["NE"] = "NE";
|
|
92008
|
-
QueryOperator2["LTE"] = "LTE";
|
|
92009
|
-
QueryOperator2["GTE"] = "GTE";
|
|
92010
|
-
QueryOperator2["STARTS_WITH"] = "STARTS_WITH";
|
|
92011
|
-
QueryOperator2["ENDS_WITH"] = "ENDS_WITH";
|
|
92012
|
-
QueryOperator2["CONTAINS"] = "CONTAINS";
|
|
92013
|
-
QueryOperator2["HAS_SOME"] = "HAS_SOME";
|
|
92014
|
-
QueryOperator2["HAS_ALL"] = "HAS_ALL";
|
|
92015
|
-
QueryOperator2["EXISTS"] = "EXISTS";
|
|
92016
|
-
QueryOperator2["URLIZED"] = "URLIZED";
|
|
92017
|
-
})(QueryOperator || (exports2.QueryOperator = QueryOperator = {}));
|
|
92018
|
-
var PageLinkType;
|
|
92019
|
-
(function(PageLinkType2) {
|
|
92020
|
-
PageLinkType2["UNKNOWN_PAGE_LINK_TYPE"] = "UNKNOWN_PAGE_LINK_TYPE";
|
|
92021
|
-
PageLinkType2["COLLECTION_DEFINED"] = "COLLECTION_DEFINED";
|
|
92022
|
-
PageLinkType2["ROUTER_DEFINED"] = "ROUTER_DEFINED";
|
|
92023
|
-
})(PageLinkType || (exports2.PageLinkType = PageLinkType = {}));
|
|
92024
|
-
var FieldPluginType;
|
|
92025
|
-
(function(FieldPluginType2) {
|
|
92026
|
-
FieldPluginType2["UNKNOWN"] = "UNKNOWN";
|
|
92027
|
-
FieldPluginType2["CMS"] = "CMS";
|
|
92028
|
-
})(FieldPluginType || (exports2.FieldPluginType = FieldPluginType = {}));
|
|
92029
|
-
var Permission;
|
|
92030
|
-
(function(Permission2) {
|
|
92031
|
-
Permission2["ANYONE"] = "ANYONE";
|
|
92032
|
-
Permission2["RESTRICTED"] = "RESTRICTED";
|
|
92033
|
-
})(Permission || (exports2.Permission = Permission = {}));
|
|
92034
|
-
var Role;
|
|
92035
|
-
(function(Role2) {
|
|
92036
|
-
Role2["UNKNOWN_ROLE"] = "UNKNOWN_ROLE";
|
|
92037
|
-
Role2["ADMIN"] = "ADMIN";
|
|
92038
|
-
Role2["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
|
|
92039
|
-
Role2["SITE_MEMBER"] = "SITE_MEMBER";
|
|
92040
|
-
Role2["ANYONE"] = "ANYONE";
|
|
92041
|
-
})(Role || (exports2.Role = Role = {}));
|
|
92042
|
-
var Status;
|
|
92043
|
-
(function(Status2) {
|
|
92044
|
-
Status2["UNKNOWN_PUBLISH_PLUGIN_STATUS"] = "UNKNOWN_PUBLISH_PLUGIN_STATUS";
|
|
92045
|
-
Status2["PUBLISHED"] = "PUBLISHED";
|
|
92046
|
-
Status2["DRAFT"] = "DRAFT";
|
|
92047
|
-
})(Status || (exports2.Status = Status = {}));
|
|
92048
|
-
var Format;
|
|
92049
|
-
(function(Format2) {
|
|
92050
|
-
Format2["UNKNOWN_URLIZED_PLUGIN_FORMAT"] = "UNKNOWN_URLIZED_PLUGIN_FORMAT";
|
|
92051
|
-
Format2["ORIGINAL"] = "ORIGINAL";
|
|
92052
|
-
Format2["PLAIN"] = "PLAIN";
|
|
92053
|
-
})(Format || (exports2.Format = Format = {}));
|
|
92054
|
-
var Type;
|
|
92055
|
-
(function(Type2) {
|
|
92056
|
-
Type2["UNKNOWN_PLUGIN_TYPE"] = "UNKNOWN_PLUGIN_TYPE";
|
|
92057
|
-
Type2["PUBLISH"] = "PUBLISH";
|
|
92058
|
-
Type2["SINGLE_ITEM"] = "SINGLE_ITEM";
|
|
92059
|
-
Type2["URLIZED"] = "URLIZED";
|
|
92060
|
-
Type2["GRIDAPPLESS"] = "GRIDAPPLESS";
|
|
92061
|
-
Type2["MULTILINGUAL"] = "MULTILINGUAL";
|
|
92062
|
-
Type2["SHARED"] = "SHARED";
|
|
92063
|
-
Type2["EDITABLE_PAGE_LINK"] = "EDITABLE_PAGE_LINK";
|
|
92064
|
-
Type2["CMS"] = "CMS";
|
|
92065
|
-
Type2["CATALOG"] = "CATALOG";
|
|
92066
|
-
})(Type || (exports2.Type = Type = {}));
|
|
92067
|
-
var PagingMode;
|
|
92068
|
-
(function(PagingMode2) {
|
|
92069
|
-
PagingMode2["OFFSET"] = "OFFSET";
|
|
92070
|
-
PagingMode2["CURSOR"] = "CURSOR";
|
|
92071
|
-
})(PagingMode || (exports2.PagingMode = PagingMode = {}));
|
|
92072
|
-
var AccessLevel;
|
|
92073
|
-
(function(AccessLevel2) {
|
|
92074
|
-
AccessLevel2["UNDEFINED"] = "UNDEFINED";
|
|
92075
|
-
AccessLevel2["ANYONE"] = "ANYONE";
|
|
92076
|
-
AccessLevel2["SITE_MEMBER"] = "SITE_MEMBER";
|
|
92077
|
-
AccessLevel2["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
|
|
92078
|
-
AccessLevel2["CMS_EDITOR"] = "CMS_EDITOR";
|
|
92079
|
-
AccessLevel2["PRIVILEGED"] = "PRIVILEGED";
|
|
92080
|
-
})(AccessLevel || (exports2.AccessLevel = AccessLevel = {}));
|
|
92081
|
-
var Segment;
|
|
92082
|
-
(function(Segment2) {
|
|
92083
|
-
Segment2["UNKNOWN_SEGMENT"] = "UNKNOWN_SEGMENT";
|
|
92084
|
-
Segment2["PUBLIC"] = "PUBLIC";
|
|
92085
|
-
Segment2["DEV"] = "DEV";
|
|
92086
|
-
})(Segment || (exports2.Segment = Segment = {}));
|
|
92087
|
-
var SortOrder;
|
|
92088
|
-
(function(SortOrder2) {
|
|
92089
|
-
SortOrder2["ASC"] = "ASC";
|
|
92090
|
-
SortOrder2["DESC"] = "DESC";
|
|
92091
|
-
})(SortOrder || (exports2.SortOrder = SortOrder = {}));
|
|
92092
|
-
var TenantMode;
|
|
92093
|
-
(function(TenantMode2) {
|
|
92094
|
-
TenantMode2["META_SITE"] = "META_SITE";
|
|
92095
|
-
TenantMode2["ACCOUNT"] = "ACCOUNT";
|
|
92096
|
-
TenantMode2["APP"] = "APP";
|
|
92097
|
-
})(TenantMode || (exports2.TenantMode = TenantMode = {}));
|
|
92098
|
-
var Order;
|
|
92099
|
-
(function(Order2) {
|
|
92100
|
-
Order2["ASC"] = "ASC";
|
|
92101
|
-
Order2["DESC"] = "DESC";
|
|
92102
|
-
})(Order || (exports2.Order = Order = {}));
|
|
92103
|
-
var IndexStatus;
|
|
92104
|
-
(function(IndexStatus2) {
|
|
92105
|
-
IndexStatus2["UNKNOWN"] = "UNKNOWN";
|
|
92106
|
-
IndexStatus2["BUILDING"] = "BUILDING";
|
|
92107
|
-
IndexStatus2["ACTIVE"] = "ACTIVE";
|
|
92108
|
-
IndexStatus2["DROPPING"] = "DROPPING";
|
|
92109
|
-
IndexStatus2["DROPPED"] = "DROPPED";
|
|
92110
|
-
IndexStatus2["FAILED"] = "FAILED";
|
|
92111
|
-
IndexStatus2["INVALID"] = "INVALID";
|
|
92112
|
-
})(IndexStatus || (exports2.IndexStatus = IndexStatus = {}));
|
|
92113
|
-
var IndexSource;
|
|
92114
|
-
(function(IndexSource2) {
|
|
92115
|
-
IndexSource2["UNKNOWN_INDEX_SOURCE"] = "UNKNOWN_INDEX_SOURCE";
|
|
92116
|
-
IndexSource2["SYSTEM"] = "SYSTEM";
|
|
92117
|
-
IndexSource2["USER"] = "USER";
|
|
92118
|
-
IndexSource2["AUTO"] = "AUTO";
|
|
92119
|
-
})(IndexSource || (exports2.IndexSource = IndexSource = {}));
|
|
92120
|
-
var WebhookIdentityType;
|
|
92121
|
-
(function(WebhookIdentityType2) {
|
|
92122
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
92123
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
92124
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
92125
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
92126
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
92127
|
-
})(WebhookIdentityType || (exports2.WebhookIdentityType = WebhookIdentityType = {}));
|
|
92128
|
-
}
|
|
92129
|
-
});
|
|
92130
|
-
|
|
92131
91927
|
// dist/agents/utils/prompt-selectors.js
|
|
92132
91928
|
var require_prompt_selectors = __commonJS({
|
|
92133
91929
|
"dist/agents/utils/prompt-selectors.js"(exports2) {
|
|
92134
91930
|
"use strict";
|
|
92135
91931
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
92136
91932
|
exports2.shouldUseDataPrompt = shouldUseDataPrompt;
|
|
92137
|
-
exports2.hasUnsupportedCollectionFieldsTypes = hasUnsupportedCollectionFieldsTypes;
|
|
92138
91933
|
exports2.hasUnsupportedCollectionTypes = hasUnsupportedCollectionTypes;
|
|
92139
91934
|
exports2.shouldUseDynamicParametersPrompt = shouldUseDynamicParametersPrompt;
|
|
92140
|
-
var types_1 = require_types_impl3();
|
|
92141
91935
|
var ditto_codegen_types_12 = require_dist4();
|
|
92142
91936
|
function shouldUseDataPrompt(params) {
|
|
92143
91937
|
const { plan, previousResources } = params;
|
|
92144
91938
|
return Boolean(plan?.collections?.length || previousResources?.collections?.length);
|
|
92145
91939
|
}
|
|
92146
|
-
var unsupportedCollectionTypesInAutoPatterns = [
|
|
92147
|
-
types_1.FieldType.MULTI_REFERENCE,
|
|
92148
|
-
types_1.FieldType.OBJECT,
|
|
92149
|
-
types_1.FieldType.ARRAY,
|
|
92150
|
-
types_1.FieldType.DOCUMENT,
|
|
92151
|
-
types_1.FieldType.RICH_TEXT,
|
|
92152
|
-
types_1.FieldType.VIDEO,
|
|
92153
|
-
types_1.FieldType.ANY,
|
|
92154
|
-
types_1.FieldType.ARRAY_DOCUMENT,
|
|
92155
|
-
types_1.FieldType.AUDIO,
|
|
92156
|
-
types_1.FieldType.TIME,
|
|
92157
|
-
types_1.FieldType.LANGUAGE,
|
|
92158
|
-
types_1.FieldType.RICH_CONTENT,
|
|
92159
|
-
types_1.FieldType.MEDIA_GALLERY,
|
|
92160
|
-
types_1.FieldType.ADDRESS
|
|
92161
|
-
];
|
|
92162
|
-
function hasUnsupportedCollectionFieldsTypes(collection) {
|
|
92163
|
-
return unsupportedCollectionTypesInAutoPatterns.some((type) => collection.fields?.some((field) => field.type === type));
|
|
92164
|
-
}
|
|
92165
91940
|
function hasUnsupportedCollectionTypes(params) {
|
|
92166
|
-
const { plan
|
|
92167
|
-
const hasUnsupportedInPreviousCollections = previousResources?.collections?.some((collection) => hasUnsupportedCollectionFieldsTypes(collection));
|
|
92168
|
-
if (hasUnsupportedInPreviousCollections)
|
|
92169
|
-
return true;
|
|
91941
|
+
const { plan } = params;
|
|
92170
91942
|
const hasUnsupportedInPlanCollections = plan?.collections?.some((collection) => {
|
|
92171
91943
|
if (collection.operation === ditto_codegen_types_12.ExtensionGenerationOperation.DELETE) {
|
|
92172
91944
|
return false;
|
|
92173
91945
|
}
|
|
92174
|
-
return
|
|
91946
|
+
return false;
|
|
92175
91947
|
});
|
|
92176
91948
|
return Boolean(hasUnsupportedInPlanCollections);
|
|
92177
91949
|
}
|
|
@@ -94850,6 +94622,219 @@ async function updateTodo(id: string, todo: Partial<Todo>): Promise<Todo> {
|
|
|
94850
94622
|
}
|
|
94851
94623
|
});
|
|
94852
94624
|
|
|
94625
|
+
// ../../node_modules/@wix/ambassador-data-v2-data-collection/cjs/build/types.impl.js
|
|
94626
|
+
var require_types_impl3 = __commonJS({
|
|
94627
|
+
"../../node_modules/@wix/ambassador-data-v2-data-collection/cjs/build/types.impl.js"(exports2) {
|
|
94628
|
+
"use strict";
|
|
94629
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
94630
|
+
exports2.WebhookIdentityType = exports2.IndexSource = exports2.IndexStatus = exports2.Order = exports2.TenantMode = exports2.SortOrder = exports2.Segment = exports2.AccessLevel = exports2.PagingMode = exports2.Type = exports2.Format = exports2.Status = exports2.Role = exports2.Permission = exports2.FieldPluginType = exports2.PageLinkType = exports2.QueryOperator = exports2.FieldType = exports2.CollectionOperation = exports2.DataOperation = exports2.Direction = exports2.CollectionType = void 0;
|
|
94631
|
+
var CollectionType;
|
|
94632
|
+
(function(CollectionType2) {
|
|
94633
|
+
CollectionType2["NATIVE"] = "NATIVE";
|
|
94634
|
+
CollectionType2["WIX_APP"] = "WIX_APP";
|
|
94635
|
+
CollectionType2["BLOCKS_APP"] = "BLOCKS_APP";
|
|
94636
|
+
CollectionType2["EXTERNAL"] = "EXTERNAL";
|
|
94637
|
+
})(CollectionType || (exports2.CollectionType = CollectionType = {}));
|
|
94638
|
+
var Direction;
|
|
94639
|
+
(function(Direction2) {
|
|
94640
|
+
Direction2["ASC"] = "ASC";
|
|
94641
|
+
Direction2["DESC"] = "DESC";
|
|
94642
|
+
})(Direction || (exports2.Direction = Direction = {}));
|
|
94643
|
+
var DataOperation;
|
|
94644
|
+
(function(DataOperation2) {
|
|
94645
|
+
DataOperation2["AGGREGATE"] = "AGGREGATE";
|
|
94646
|
+
DataOperation2["BULK_INSERT"] = "BULK_INSERT";
|
|
94647
|
+
DataOperation2["BULK_REMOVE"] = "BULK_REMOVE";
|
|
94648
|
+
DataOperation2["BULK_SAVE"] = "BULK_SAVE";
|
|
94649
|
+
DataOperation2["BULK_UPDATE"] = "BULK_UPDATE";
|
|
94650
|
+
DataOperation2["COUNT"] = "COUNT";
|
|
94651
|
+
DataOperation2["DISTINCT"] = "DISTINCT";
|
|
94652
|
+
DataOperation2["FIND"] = "FIND";
|
|
94653
|
+
DataOperation2["GET"] = "GET";
|
|
94654
|
+
DataOperation2["INSERT"] = "INSERT";
|
|
94655
|
+
DataOperation2["INSERT_REFERENCE"] = "INSERT_REFERENCE";
|
|
94656
|
+
DataOperation2["IS_REFERENCED"] = "IS_REFERENCED";
|
|
94657
|
+
DataOperation2["QUERY_REFERENCED"] = "QUERY_REFERENCED";
|
|
94658
|
+
DataOperation2["REMOVE"] = "REMOVE";
|
|
94659
|
+
DataOperation2["REMOVE_REFERENCE"] = "REMOVE_REFERENCE";
|
|
94660
|
+
DataOperation2["REPLACE_REFERENCES"] = "REPLACE_REFERENCES";
|
|
94661
|
+
DataOperation2["SAVE"] = "SAVE";
|
|
94662
|
+
DataOperation2["TRUNCATE"] = "TRUNCATE";
|
|
94663
|
+
DataOperation2["UPDATE"] = "UPDATE";
|
|
94664
|
+
DataOperation2["PATCH"] = "PATCH";
|
|
94665
|
+
DataOperation2["BULK_PATCH"] = "BULK_PATCH";
|
|
94666
|
+
})(DataOperation || (exports2.DataOperation = DataOperation = {}));
|
|
94667
|
+
var CollectionOperation;
|
|
94668
|
+
(function(CollectionOperation2) {
|
|
94669
|
+
CollectionOperation2["UPDATE"] = "UPDATE";
|
|
94670
|
+
CollectionOperation2["REMOVE"] = "REMOVE";
|
|
94671
|
+
})(CollectionOperation || (exports2.CollectionOperation = CollectionOperation = {}));
|
|
94672
|
+
var FieldType;
|
|
94673
|
+
(function(FieldType2) {
|
|
94674
|
+
FieldType2["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
94675
|
+
FieldType2["TEXT"] = "TEXT";
|
|
94676
|
+
FieldType2["NUMBER"] = "NUMBER";
|
|
94677
|
+
FieldType2["DATE"] = "DATE";
|
|
94678
|
+
FieldType2["DATETIME"] = "DATETIME";
|
|
94679
|
+
FieldType2["IMAGE"] = "IMAGE";
|
|
94680
|
+
FieldType2["BOOLEAN"] = "BOOLEAN";
|
|
94681
|
+
FieldType2["DOCUMENT"] = "DOCUMENT";
|
|
94682
|
+
FieldType2["URL"] = "URL";
|
|
94683
|
+
FieldType2["RICH_TEXT"] = "RICH_TEXT";
|
|
94684
|
+
FieldType2["VIDEO"] = "VIDEO";
|
|
94685
|
+
FieldType2["ANY"] = "ANY";
|
|
94686
|
+
FieldType2["ARRAY_STRING"] = "ARRAY_STRING";
|
|
94687
|
+
FieldType2["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
|
|
94688
|
+
FieldType2["AUDIO"] = "AUDIO";
|
|
94689
|
+
FieldType2["TIME"] = "TIME";
|
|
94690
|
+
FieldType2["LANGUAGE"] = "LANGUAGE";
|
|
94691
|
+
FieldType2["RICH_CONTENT"] = "RICH_CONTENT";
|
|
94692
|
+
FieldType2["MEDIA_GALLERY"] = "MEDIA_GALLERY";
|
|
94693
|
+
FieldType2["ADDRESS"] = "ADDRESS";
|
|
94694
|
+
FieldType2["PAGE_LINK"] = "PAGE_LINK";
|
|
94695
|
+
FieldType2["REFERENCE"] = "REFERENCE";
|
|
94696
|
+
FieldType2["MULTI_REFERENCE"] = "MULTI_REFERENCE";
|
|
94697
|
+
FieldType2["OBJECT"] = "OBJECT";
|
|
94698
|
+
FieldType2["ARRAY"] = "ARRAY";
|
|
94699
|
+
FieldType2["LEGACY_TIME"] = "LEGACY_TIME";
|
|
94700
|
+
FieldType2["LEGACY_BOOK"] = "LEGACY_BOOK";
|
|
94701
|
+
FieldType2["LEGACY_EXTERNAL_URL"] = "LEGACY_EXTERNAL_URL";
|
|
94702
|
+
FieldType2["LEGACY_BROKEN_REFERENCE"] = "LEGACY_BROKEN_REFERENCE";
|
|
94703
|
+
FieldType2["LEGACY_IMAGE"] = "LEGACY_IMAGE";
|
|
94704
|
+
FieldType2["LEGACY_COLOR"] = "LEGACY_COLOR";
|
|
94705
|
+
FieldType2["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
|
|
94706
|
+
FieldType2["SLUG"] = "SLUG";
|
|
94707
|
+
FieldType2["EMAIL"] = "EMAIL";
|
|
94708
|
+
})(FieldType || (exports2.FieldType = FieldType = {}));
|
|
94709
|
+
var QueryOperator;
|
|
94710
|
+
(function(QueryOperator2) {
|
|
94711
|
+
QueryOperator2["EQ"] = "EQ";
|
|
94712
|
+
QueryOperator2["LT"] = "LT";
|
|
94713
|
+
QueryOperator2["GT"] = "GT";
|
|
94714
|
+
QueryOperator2["NE"] = "NE";
|
|
94715
|
+
QueryOperator2["LTE"] = "LTE";
|
|
94716
|
+
QueryOperator2["GTE"] = "GTE";
|
|
94717
|
+
QueryOperator2["STARTS_WITH"] = "STARTS_WITH";
|
|
94718
|
+
QueryOperator2["ENDS_WITH"] = "ENDS_WITH";
|
|
94719
|
+
QueryOperator2["CONTAINS"] = "CONTAINS";
|
|
94720
|
+
QueryOperator2["HAS_SOME"] = "HAS_SOME";
|
|
94721
|
+
QueryOperator2["HAS_ALL"] = "HAS_ALL";
|
|
94722
|
+
QueryOperator2["EXISTS"] = "EXISTS";
|
|
94723
|
+
QueryOperator2["URLIZED"] = "URLIZED";
|
|
94724
|
+
})(QueryOperator || (exports2.QueryOperator = QueryOperator = {}));
|
|
94725
|
+
var PageLinkType;
|
|
94726
|
+
(function(PageLinkType2) {
|
|
94727
|
+
PageLinkType2["UNKNOWN_PAGE_LINK_TYPE"] = "UNKNOWN_PAGE_LINK_TYPE";
|
|
94728
|
+
PageLinkType2["COLLECTION_DEFINED"] = "COLLECTION_DEFINED";
|
|
94729
|
+
PageLinkType2["ROUTER_DEFINED"] = "ROUTER_DEFINED";
|
|
94730
|
+
})(PageLinkType || (exports2.PageLinkType = PageLinkType = {}));
|
|
94731
|
+
var FieldPluginType;
|
|
94732
|
+
(function(FieldPluginType2) {
|
|
94733
|
+
FieldPluginType2["UNKNOWN"] = "UNKNOWN";
|
|
94734
|
+
FieldPluginType2["CMS"] = "CMS";
|
|
94735
|
+
})(FieldPluginType || (exports2.FieldPluginType = FieldPluginType = {}));
|
|
94736
|
+
var Permission;
|
|
94737
|
+
(function(Permission2) {
|
|
94738
|
+
Permission2["ANYONE"] = "ANYONE";
|
|
94739
|
+
Permission2["RESTRICTED"] = "RESTRICTED";
|
|
94740
|
+
})(Permission || (exports2.Permission = Permission = {}));
|
|
94741
|
+
var Role;
|
|
94742
|
+
(function(Role2) {
|
|
94743
|
+
Role2["UNKNOWN_ROLE"] = "UNKNOWN_ROLE";
|
|
94744
|
+
Role2["ADMIN"] = "ADMIN";
|
|
94745
|
+
Role2["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
|
|
94746
|
+
Role2["SITE_MEMBER"] = "SITE_MEMBER";
|
|
94747
|
+
Role2["ANYONE"] = "ANYONE";
|
|
94748
|
+
})(Role || (exports2.Role = Role = {}));
|
|
94749
|
+
var Status;
|
|
94750
|
+
(function(Status2) {
|
|
94751
|
+
Status2["UNKNOWN_PUBLISH_PLUGIN_STATUS"] = "UNKNOWN_PUBLISH_PLUGIN_STATUS";
|
|
94752
|
+
Status2["PUBLISHED"] = "PUBLISHED";
|
|
94753
|
+
Status2["DRAFT"] = "DRAFT";
|
|
94754
|
+
})(Status || (exports2.Status = Status = {}));
|
|
94755
|
+
var Format;
|
|
94756
|
+
(function(Format2) {
|
|
94757
|
+
Format2["UNKNOWN_URLIZED_PLUGIN_FORMAT"] = "UNKNOWN_URLIZED_PLUGIN_FORMAT";
|
|
94758
|
+
Format2["ORIGINAL"] = "ORIGINAL";
|
|
94759
|
+
Format2["PLAIN"] = "PLAIN";
|
|
94760
|
+
})(Format || (exports2.Format = Format = {}));
|
|
94761
|
+
var Type;
|
|
94762
|
+
(function(Type2) {
|
|
94763
|
+
Type2["UNKNOWN_PLUGIN_TYPE"] = "UNKNOWN_PLUGIN_TYPE";
|
|
94764
|
+
Type2["PUBLISH"] = "PUBLISH";
|
|
94765
|
+
Type2["SINGLE_ITEM"] = "SINGLE_ITEM";
|
|
94766
|
+
Type2["URLIZED"] = "URLIZED";
|
|
94767
|
+
Type2["GRIDAPPLESS"] = "GRIDAPPLESS";
|
|
94768
|
+
Type2["MULTILINGUAL"] = "MULTILINGUAL";
|
|
94769
|
+
Type2["SHARED"] = "SHARED";
|
|
94770
|
+
Type2["EDITABLE_PAGE_LINK"] = "EDITABLE_PAGE_LINK";
|
|
94771
|
+
Type2["CMS"] = "CMS";
|
|
94772
|
+
Type2["CATALOG"] = "CATALOG";
|
|
94773
|
+
})(Type || (exports2.Type = Type = {}));
|
|
94774
|
+
var PagingMode;
|
|
94775
|
+
(function(PagingMode2) {
|
|
94776
|
+
PagingMode2["OFFSET"] = "OFFSET";
|
|
94777
|
+
PagingMode2["CURSOR"] = "CURSOR";
|
|
94778
|
+
})(PagingMode || (exports2.PagingMode = PagingMode = {}));
|
|
94779
|
+
var AccessLevel;
|
|
94780
|
+
(function(AccessLevel2) {
|
|
94781
|
+
AccessLevel2["UNDEFINED"] = "UNDEFINED";
|
|
94782
|
+
AccessLevel2["ANYONE"] = "ANYONE";
|
|
94783
|
+
AccessLevel2["SITE_MEMBER"] = "SITE_MEMBER";
|
|
94784
|
+
AccessLevel2["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
|
|
94785
|
+
AccessLevel2["CMS_EDITOR"] = "CMS_EDITOR";
|
|
94786
|
+
AccessLevel2["PRIVILEGED"] = "PRIVILEGED";
|
|
94787
|
+
})(AccessLevel || (exports2.AccessLevel = AccessLevel = {}));
|
|
94788
|
+
var Segment;
|
|
94789
|
+
(function(Segment2) {
|
|
94790
|
+
Segment2["UNKNOWN_SEGMENT"] = "UNKNOWN_SEGMENT";
|
|
94791
|
+
Segment2["PUBLIC"] = "PUBLIC";
|
|
94792
|
+
Segment2["DEV"] = "DEV";
|
|
94793
|
+
})(Segment || (exports2.Segment = Segment = {}));
|
|
94794
|
+
var SortOrder;
|
|
94795
|
+
(function(SortOrder2) {
|
|
94796
|
+
SortOrder2["ASC"] = "ASC";
|
|
94797
|
+
SortOrder2["DESC"] = "DESC";
|
|
94798
|
+
})(SortOrder || (exports2.SortOrder = SortOrder = {}));
|
|
94799
|
+
var TenantMode;
|
|
94800
|
+
(function(TenantMode2) {
|
|
94801
|
+
TenantMode2["META_SITE"] = "META_SITE";
|
|
94802
|
+
TenantMode2["ACCOUNT"] = "ACCOUNT";
|
|
94803
|
+
TenantMode2["APP"] = "APP";
|
|
94804
|
+
})(TenantMode || (exports2.TenantMode = TenantMode = {}));
|
|
94805
|
+
var Order;
|
|
94806
|
+
(function(Order2) {
|
|
94807
|
+
Order2["ASC"] = "ASC";
|
|
94808
|
+
Order2["DESC"] = "DESC";
|
|
94809
|
+
})(Order || (exports2.Order = Order = {}));
|
|
94810
|
+
var IndexStatus;
|
|
94811
|
+
(function(IndexStatus2) {
|
|
94812
|
+
IndexStatus2["UNKNOWN"] = "UNKNOWN";
|
|
94813
|
+
IndexStatus2["BUILDING"] = "BUILDING";
|
|
94814
|
+
IndexStatus2["ACTIVE"] = "ACTIVE";
|
|
94815
|
+
IndexStatus2["DROPPING"] = "DROPPING";
|
|
94816
|
+
IndexStatus2["DROPPED"] = "DROPPED";
|
|
94817
|
+
IndexStatus2["FAILED"] = "FAILED";
|
|
94818
|
+
IndexStatus2["INVALID"] = "INVALID";
|
|
94819
|
+
})(IndexStatus || (exports2.IndexStatus = IndexStatus = {}));
|
|
94820
|
+
var IndexSource;
|
|
94821
|
+
(function(IndexSource2) {
|
|
94822
|
+
IndexSource2["UNKNOWN_INDEX_SOURCE"] = "UNKNOWN_INDEX_SOURCE";
|
|
94823
|
+
IndexSource2["SYSTEM"] = "SYSTEM";
|
|
94824
|
+
IndexSource2["USER"] = "USER";
|
|
94825
|
+
IndexSource2["AUTO"] = "AUTO";
|
|
94826
|
+
})(IndexSource || (exports2.IndexSource = IndexSource = {}));
|
|
94827
|
+
var WebhookIdentityType;
|
|
94828
|
+
(function(WebhookIdentityType2) {
|
|
94829
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
94830
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
94831
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
94832
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
94833
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
94834
|
+
})(WebhookIdentityType || (exports2.WebhookIdentityType = WebhookIdentityType = {}));
|
|
94835
|
+
}
|
|
94836
|
+
});
|
|
94837
|
+
|
|
94853
94838
|
// dist/system-prompts/planner/cms-planner/cms-planner-instructions.js
|
|
94854
94839
|
var require_cms_planner_instructions = __commonJS({
|
|
94855
94840
|
"dist/system-prompts/planner/cms-planner/cms-planner-instructions.js"(exports2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.251",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"@wix/ditto-codegen": "1.0.0",
|
|
29
29
|
"esbuild": "^0.27.2"
|
|
30
30
|
},
|
|
31
|
-
"falconPackageHash": "
|
|
31
|
+
"falconPackageHash": "1cec05ab3ee0273a75362750ec70abd3a97316ca54a0af9c94dcb8ab"
|
|
32
32
|
}
|