@wix/create-headless-site 0.0.32 → 0.0.34

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/build/index.js CHANGED
@@ -90376,7 +90376,7 @@ function wixCliCliError(params) {
90376
90376
  var package_default = {
90377
90377
  name: "@wix/create-headless-site",
90378
90378
  description: "Headless site creation wizard",
90379
- version: "0.0.32",
90379
+ version: "0.0.34",
90380
90380
  bin: "bin/index.cjs",
90381
90381
  devDependencies: {
90382
90382
  "@commander-js/extra-typings": "^13.0.0",
@@ -94259,6 +94259,83 @@ function queryMyApps(payload5) {
94259
94259
  return __queryMyApps;
94260
94260
  }
94261
94261
 
94262
+ // ../../node_modules/@wix/ambassador-devcenter-myapps-v1-my-app/build/es/types.impl.js
94263
+ init_esm_shims();
94264
+ var CreatedByType;
94265
+ (function(CreatedByType3) {
94266
+ CreatedByType3["USER"] = "USER";
94267
+ CreatedByType3["APP"] = "APP";
94268
+ })(CreatedByType || (CreatedByType = {}));
94269
+ var AppType;
94270
+ (function(AppType5) {
94271
+ AppType5["SITE_APP"] = "SITE_APP";
94272
+ AppType5["API_KEY"] = "API_KEY";
94273
+ AppType5["VELO_APP"] = "VELO_APP";
94274
+ AppType5["PRIVATE_APP"] = "PRIVATE_APP";
94275
+ AppType5["HEADLESS"] = "HEADLESS";
94276
+ AppType5["FUNCTION_ACTIVATION_APP"] = "FUNCTION_ACTIVATION_APP";
94277
+ })(AppType || (AppType = {}));
94278
+ var VersionStatus;
94279
+ (function(VersionStatus3) {
94280
+ VersionStatus3["NONE_STATUS"] = "NONE_STATUS";
94281
+ VersionStatus3["DRAFT"] = "DRAFT";
94282
+ VersionStatus3["SUBMITTED"] = "SUBMITTED";
94283
+ VersionStatus3["IN_REVIEW"] = "IN_REVIEW";
94284
+ VersionStatus3["APPROVED"] = "APPROVED";
94285
+ VersionStatus3["PUBLISHED"] = "PUBLISHED";
94286
+ VersionStatus3["DECLINED"] = "DECLINED";
94287
+ VersionStatus3["ARCHIVED"] = "ARCHIVED";
94288
+ VersionStatus3["HIDDEN"] = "HIDDEN";
94289
+ VersionStatus3["RELEASED"] = "RELEASED";
94290
+ })(VersionStatus || (VersionStatus = {}));
94291
+ var SortOrder;
94292
+ (function(SortOrder4) {
94293
+ SortOrder4["ASC"] = "ASC";
94294
+ SortOrder4["DESC"] = "DESC";
94295
+ })(SortOrder || (SortOrder = {}));
94296
+ var RequestedFields;
94297
+ (function(RequestedFields2) {
94298
+ RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
94299
+ RequestedFields2["CREATED_BY_DATA"] = "CREATED_BY_DATA";
94300
+ })(RequestedFields || (RequestedFields = {}));
94301
+ var SubjectType;
94302
+ (function(SubjectType2) {
94303
+ SubjectType2["UNKNOWN"] = "UNKNOWN";
94304
+ SubjectType2["ACCOUNT"] = "ACCOUNT";
94305
+ SubjectType2["USER"] = "USER";
94306
+ SubjectType2["USER_GROUP"] = "USER_GROUP";
94307
+ SubjectType2["MEMBER_GROUP"] = "MEMBER_GROUP";
94308
+ SubjectType2["VISITOR_GROUP"] = "VISITOR_GROUP";
94309
+ SubjectType2["EXTERNAL_APP"] = "EXTERNAL_APP";
94310
+ SubjectType2["ACCOUNT_GROUP"] = "ACCOUNT_GROUP";
94311
+ SubjectType2["WIX_APP"] = "WIX_APP";
94312
+ })(SubjectType || (SubjectType = {}));
94313
+ var SubjectContextType;
94314
+ (function(SubjectContextType2) {
94315
+ SubjectContextType2["UNKNOWN_CTX"] = "UNKNOWN_CTX";
94316
+ SubjectContextType2["ORG_CTX"] = "ORG_CTX";
94317
+ SubjectContextType2["ACCOUNT_CTX"] = "ACCOUNT_CTX";
94318
+ })(SubjectContextType || (SubjectContextType = {}));
94319
+ var SimpleConditionOperator;
94320
+ (function(SimpleConditionOperator2) {
94321
+ SimpleConditionOperator2["UNKNOWN_SIMPLE_OP"] = "UNKNOWN_SIMPLE_OP";
94322
+ SimpleConditionOperator2["EQUAL"] = "EQUAL";
94323
+ })(SimpleConditionOperator || (SimpleConditionOperator = {}));
94324
+ var JoinedConditionOperator;
94325
+ (function(JoinedConditionOperator2) {
94326
+ JoinedConditionOperator2["UNKNOWN_JOIN_OP"] = "UNKNOWN_JOIN_OP";
94327
+ JoinedConditionOperator2["OR"] = "OR";
94328
+ JoinedConditionOperator2["AND"] = "AND";
94329
+ })(JoinedConditionOperator || (JoinedConditionOperator = {}));
94330
+ var WebhookIdentityType;
94331
+ (function(WebhookIdentityType6) {
94332
+ WebhookIdentityType6["UNKNOWN"] = "UNKNOWN";
94333
+ WebhookIdentityType6["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
94334
+ WebhookIdentityType6["MEMBER"] = "MEMBER";
94335
+ WebhookIdentityType6["WIX_USER"] = "WIX_USER";
94336
+ WebhookIdentityType6["APP"] = "APP";
94337
+ })(WebhookIdentityType || (WebhookIdentityType = {}));
94338
+
94262
94339
  // ../../node_modules/@wix/ambassador-devcenter-dsm-v1-development-site/build/es/http.impl.js
94263
94340
  init_esm_shims();
94264
94341
  var _createDevelopmentSiteRequest = {};
@@ -96302,12 +96379,12 @@ var CardStylesLayout;
96302
96379
  CardStylesLayout3["STACKED"] = "STACKED";
96303
96380
  CardStylesLayout3["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
96304
96381
  })(CardStylesLayout || (CardStylesLayout = {}));
96305
- var AppType;
96306
- (function(AppType4) {
96307
- AppType4["PRODUCT"] = "PRODUCT";
96308
- AppType4["EVENT"] = "EVENT";
96309
- AppType4["BOOKING"] = "BOOKING";
96310
- })(AppType || (AppType = {}));
96382
+ var AppType2;
96383
+ (function(AppType5) {
96384
+ AppType5["PRODUCT"] = "PRODUCT";
96385
+ AppType5["EVENT"] = "EVENT";
96386
+ AppType5["BOOKING"] = "BOOKING";
96387
+ })(AppType2 || (AppType2 = {}));
96311
96388
  var InitialExpandedItems;
96312
96389
  (function(InitialExpandedItems3) {
96313
96390
  InitialExpandedItems3["FIRST"] = "FIRST";
@@ -98086,14 +98163,14 @@ var VersionType;
98086
98163
  VersionType2["LATEST_VERSION"] = "LATEST_VERSION";
98087
98164
  VersionType2["DEV_VERSION"] = "DEV_VERSION";
98088
98165
  })(VersionType || (VersionType = {}));
98089
- var WebhookIdentityType;
98090
- (function(WebhookIdentityType5) {
98091
- WebhookIdentityType5["UNKNOWN"] = "UNKNOWN";
98092
- WebhookIdentityType5["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
98093
- WebhookIdentityType5["MEMBER"] = "MEMBER";
98094
- WebhookIdentityType5["WIX_USER"] = "WIX_USER";
98095
- WebhookIdentityType5["APP"] = "APP";
98096
- })(WebhookIdentityType || (WebhookIdentityType = {}));
98166
+ var WebhookIdentityType2;
98167
+ (function(WebhookIdentityType6) {
98168
+ WebhookIdentityType6["UNKNOWN"] = "UNKNOWN";
98169
+ WebhookIdentityType6["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
98170
+ WebhookIdentityType6["MEMBER"] = "MEMBER";
98171
+ WebhookIdentityType6["WIX_USER"] = "WIX_USER";
98172
+ WebhookIdentityType6["APP"] = "APP";
98173
+ })(WebhookIdentityType2 || (WebhookIdentityType2 = {}));
98097
98174
 
98098
98175
  // ../dev-center-client/src/schemas.ts
98099
98176
  init_esm_shims();
@@ -98109,19 +98186,19 @@ var Classification;
98109
98186
  Classification2["HEADLESS"] = "HEADLESS";
98110
98187
  Classification2["FUNCTION_ACTIVATION_APP"] = "FUNCTION_ACTIVATION_APP";
98111
98188
  })(Classification || (Classification = {}));
98112
- var VersionStatus;
98113
- (function(VersionStatus2) {
98114
- VersionStatus2["NONE_STATUS"] = "NONE_STATUS";
98115
- VersionStatus2["DRAFT"] = "DRAFT";
98116
- VersionStatus2["SUBMITTED"] = "SUBMITTED";
98117
- VersionStatus2["IN_REVIEW"] = "IN_REVIEW";
98118
- VersionStatus2["APPROVED"] = "APPROVED";
98119
- VersionStatus2["PUBLISHED"] = "PUBLISHED";
98120
- VersionStatus2["DECLINED"] = "DECLINED";
98121
- VersionStatus2["ARCHIVED"] = "ARCHIVED";
98122
- VersionStatus2["HIDDEN"] = "HIDDEN";
98123
- VersionStatus2["RELEASED"] = "RELEASED";
98124
- })(VersionStatus || (VersionStatus = {}));
98189
+ var VersionStatus2;
98190
+ (function(VersionStatus3) {
98191
+ VersionStatus3["NONE_STATUS"] = "NONE_STATUS";
98192
+ VersionStatus3["DRAFT"] = "DRAFT";
98193
+ VersionStatus3["SUBMITTED"] = "SUBMITTED";
98194
+ VersionStatus3["IN_REVIEW"] = "IN_REVIEW";
98195
+ VersionStatus3["APPROVED"] = "APPROVED";
98196
+ VersionStatus3["PUBLISHED"] = "PUBLISHED";
98197
+ VersionStatus3["DECLINED"] = "DECLINED";
98198
+ VersionStatus3["ARCHIVED"] = "ARCHIVED";
98199
+ VersionStatus3["HIDDEN"] = "HIDDEN";
98200
+ VersionStatus3["RELEASED"] = "RELEASED";
98201
+ })(VersionStatus2 || (VersionStatus2 = {}));
98125
98202
  var ComponentType2;
98126
98203
  (function(ComponentType3) {
98127
98204
  ComponentType3["NONE"] = "NONE";
@@ -99093,12 +99170,12 @@ var CardStylesLayout2;
99093
99170
  CardStylesLayout3["STACKED"] = "STACKED";
99094
99171
  CardStylesLayout3["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
99095
99172
  })(CardStylesLayout2 || (CardStylesLayout2 = {}));
99096
- var AppType2;
99097
- (function(AppType4) {
99098
- AppType4["PRODUCT"] = "PRODUCT";
99099
- AppType4["EVENT"] = "EVENT";
99100
- AppType4["BOOKING"] = "BOOKING";
99101
- })(AppType2 || (AppType2 = {}));
99173
+ var AppType3;
99174
+ (function(AppType5) {
99175
+ AppType5["PRODUCT"] = "PRODUCT";
99176
+ AppType5["EVENT"] = "EVENT";
99177
+ AppType5["BOOKING"] = "BOOKING";
99178
+ })(AppType3 || (AppType3 = {}));
99102
99179
  var InitialExpandedItems2;
99103
99180
  (function(InitialExpandedItems3) {
99104
99181
  InitialExpandedItems3["FIRST"] = "FIRST";
@@ -100723,14 +100800,14 @@ var TranslationType;
100723
100800
  TranslationType2["UNINITIALIZED"] = "UNINITIALIZED";
100724
100801
  TranslationType2["COMPONENT"] = "COMPONENT";
100725
100802
  })(TranslationType || (TranslationType = {}));
100726
- var WebhookIdentityType2;
100727
- (function(WebhookIdentityType5) {
100728
- WebhookIdentityType5["UNKNOWN"] = "UNKNOWN";
100729
- WebhookIdentityType5["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
100730
- WebhookIdentityType5["MEMBER"] = "MEMBER";
100731
- WebhookIdentityType5["WIX_USER"] = "WIX_USER";
100732
- WebhookIdentityType5["APP"] = "APP";
100733
- })(WebhookIdentityType2 || (WebhookIdentityType2 = {}));
100803
+ var WebhookIdentityType3;
100804
+ (function(WebhookIdentityType6) {
100805
+ WebhookIdentityType6["UNKNOWN"] = "UNKNOWN";
100806
+ WebhookIdentityType6["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
100807
+ WebhookIdentityType6["MEMBER"] = "MEMBER";
100808
+ WebhookIdentityType6["WIX_USER"] = "WIX_USER";
100809
+ WebhookIdentityType6["APP"] = "APP";
100810
+ })(WebhookIdentityType3 || (WebhookIdentityType3 = {}));
100734
100811
 
100735
100812
  // ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-template/build/es/types.impl.js
100736
100813
  init_esm_shims();
@@ -100765,21 +100842,21 @@ var Status3;
100765
100842
  Status4["DEPRECATED"] = "DEPRECATED";
100766
100843
  Status4["ARCHIVED"] = "ARCHIVED";
100767
100844
  })(Status3 || (Status3 = {}));
100768
- var AppType3;
100769
- (function(AppType4) {
100770
- AppType4["SITE_APP"] = "SITE_APP";
100771
- AppType4["API_KEY"] = "API_KEY";
100772
- AppType4["VELO_APP"] = "VELO_APP";
100773
- AppType4["PRIVATE_APP"] = "PRIVATE_APP";
100774
- AppType4["HEADLESS"] = "HEADLESS";
100775
- AppType4["FUNCTION_ACTIVATION_APP"] = "FUNCTION_ACTIVATION_APP";
100776
- })(AppType3 || (AppType3 = {}));
100777
- var CreatedByType;
100778
- (function(CreatedByType2) {
100779
- CreatedByType2["USER"] = "USER";
100780
- CreatedByType2["APP"] = "APP";
100781
- CreatedByType2["CODE_GEN"] = "CODE_GEN";
100782
- })(CreatedByType || (CreatedByType = {}));
100845
+ var AppType4;
100846
+ (function(AppType5) {
100847
+ AppType5["SITE_APP"] = "SITE_APP";
100848
+ AppType5["API_KEY"] = "API_KEY";
100849
+ AppType5["VELO_APP"] = "VELO_APP";
100850
+ AppType5["PRIVATE_APP"] = "PRIVATE_APP";
100851
+ AppType5["HEADLESS"] = "HEADLESS";
100852
+ AppType5["FUNCTION_ACTIVATION_APP"] = "FUNCTION_ACTIVATION_APP";
100853
+ })(AppType4 || (AppType4 = {}));
100854
+ var CreatedByType2;
100855
+ (function(CreatedByType3) {
100856
+ CreatedByType3["USER"] = "USER";
100857
+ CreatedByType3["APP"] = "APP";
100858
+ CreatedByType3["CODE_GEN"] = "CODE_GEN";
100859
+ })(CreatedByType2 || (CreatedByType2 = {}));
100783
100860
  var ShowConsentBehaviour;
100784
100861
  (function(ShowConsentBehaviour2) {
100785
100862
  ShowConsentBehaviour2["DEFAULT_BEHAVIOUR"] = "DEFAULT_BEHAVIOUR";
@@ -101123,7 +101200,13 @@ var DevCenterClient = class {
101123
101200
  query: {
101124
101201
  paging: {
101125
101202
  limit: 500
101126
- }
101203
+ },
101204
+ sort: [
101205
+ {
101206
+ fieldName: "updatedDate",
101207
+ order: SortOrder.DESC
101208
+ }
101209
+ ]
101127
101210
  }
101128
101211
  })
101129
101212
  ),
@@ -101845,19 +101928,19 @@ var CloudProvider;
101845
101928
  CloudProvider3["CLOUD_FLARE"] = "CLOUD_FLARE";
101846
101929
  CloudProvider3["KUBERNETES"] = "KUBERNETES";
101847
101930
  })(CloudProvider || (CloudProvider = {}));
101848
- var WebhookIdentityType3;
101849
- (function(WebhookIdentityType5) {
101850
- WebhookIdentityType5["UNKNOWN"] = "UNKNOWN";
101851
- WebhookIdentityType5["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
101852
- WebhookIdentityType5["MEMBER"] = "MEMBER";
101853
- WebhookIdentityType5["WIX_USER"] = "WIX_USER";
101854
- WebhookIdentityType5["APP"] = "APP";
101855
- })(WebhookIdentityType3 || (WebhookIdentityType3 = {}));
101856
- var SortOrder;
101857
- (function(SortOrder3) {
101858
- SortOrder3["ASC"] = "ASC";
101859
- SortOrder3["DESC"] = "DESC";
101860
- })(SortOrder || (SortOrder = {}));
101931
+ var WebhookIdentityType4;
101932
+ (function(WebhookIdentityType6) {
101933
+ WebhookIdentityType6["UNKNOWN"] = "UNKNOWN";
101934
+ WebhookIdentityType6["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
101935
+ WebhookIdentityType6["MEMBER"] = "MEMBER";
101936
+ WebhookIdentityType6["WIX_USER"] = "WIX_USER";
101937
+ WebhookIdentityType6["APP"] = "APP";
101938
+ })(WebhookIdentityType4 || (WebhookIdentityType4 = {}));
101939
+ var SortOrder2;
101940
+ (function(SortOrder4) {
101941
+ SortOrder4["ASC"] = "ASC";
101942
+ SortOrder4["DESC"] = "DESC";
101943
+ })(SortOrder2 || (SortOrder2 = {}));
101861
101944
 
101862
101945
  // ../../node_modules/@wix/ambassador-velo-backend-v1-app-environment/build/es/http.impl.js
101863
101946
  init_esm_shims();
@@ -101991,19 +102074,19 @@ var DeploymentState;
101991
102074
  DeploymentState2["DEPLOY_SUCCESS"] = "DEPLOY_SUCCESS";
101992
102075
  DeploymentState2["DEPLOY_FAILED"] = "DEPLOY_FAILED";
101993
102076
  })(DeploymentState || (DeploymentState = {}));
101994
- var SortOrder2;
101995
- (function(SortOrder3) {
101996
- SortOrder3["ASC"] = "ASC";
101997
- SortOrder3["DESC"] = "DESC";
101998
- })(SortOrder2 || (SortOrder2 = {}));
101999
- var WebhookIdentityType4;
102000
- (function(WebhookIdentityType5) {
102001
- WebhookIdentityType5["UNKNOWN"] = "UNKNOWN";
102002
- WebhookIdentityType5["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
102003
- WebhookIdentityType5["MEMBER"] = "MEMBER";
102004
- WebhookIdentityType5["WIX_USER"] = "WIX_USER";
102005
- WebhookIdentityType5["APP"] = "APP";
102006
- })(WebhookIdentityType4 || (WebhookIdentityType4 = {}));
102077
+ var SortOrder3;
102078
+ (function(SortOrder4) {
102079
+ SortOrder4["ASC"] = "ASC";
102080
+ SortOrder4["DESC"] = "DESC";
102081
+ })(SortOrder3 || (SortOrder3 = {}));
102082
+ var WebhookIdentityType5;
102083
+ (function(WebhookIdentityType6) {
102084
+ WebhookIdentityType6["UNKNOWN"] = "UNKNOWN";
102085
+ WebhookIdentityType6["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
102086
+ WebhookIdentityType6["MEMBER"] = "MEMBER";
102087
+ WebhookIdentityType6["WIX_USER"] = "WIX_USER";
102088
+ WebhookIdentityType6["APP"] = "APP";
102089
+ })(WebhookIdentityType5 || (WebhookIdentityType5 = {}));
102007
102090
 
102008
102091
  // ../backend-as-a-service-client/src/schemas.ts
102009
102092
  var staticFileMetadata = external_exports.object({
@@ -102046,7 +102129,12 @@ var CreateAppProjectSchema = external_exports.object({
102046
102129
  var CreateAppDeploymentSchema = external_exports.object({
102047
102130
  staticFilesUploadUrls: external_exports.array(StaticFileUploadUrlSchema).optional(),
102048
102131
  uploadAuthToken: external_exports.string().optional(),
102049
- appDeployment: AppDeploymentSchema.optional()
102132
+ appDeployment: AppDeploymentSchema.optional(),
102133
+ uploadBuckets: external_exports.array(
102134
+ external_exports.object({
102135
+ hashes: external_exports.array(external_exports.string()).optional()
102136
+ })
102137
+ ).optional()
102050
102138
  });
102051
102139
  var StaticFileUploadSchema = external_exports.object({
102052
102140
  result: external_exports.object({