@wix/public-editor-platform-interfaces 1.56.0 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1214,3 +1214,49 @@ export declare enum AriaInvalid {
1214
1214
  /** The value entered by the user has failed validation. */
1215
1215
  TRUE = "TRUE"
1216
1216
  }
1217
+ export interface SiteLocale {
1218
+ /**
1219
+ * locale id
1220
+ * @maxLength 20
1221
+ */
1222
+ id?: string;
1223
+ /**
1224
+ * language code
1225
+ * @maxLength 20
1226
+ */
1227
+ languageCode?: string;
1228
+ /**
1229
+ * region code
1230
+ * @maxLength 20
1231
+ */
1232
+ regionCode?: string | null;
1233
+ /**
1234
+ * locale visibility
1235
+ * @maxLength 50
1236
+ */
1237
+ visibility?: string;
1238
+ /** whether this is the primary locale */
1239
+ primaryLocale?: boolean;
1240
+ /** whether this is the visitor primary locale */
1241
+ visitorPrimaryLocale?: boolean;
1242
+ /**
1243
+ * flag code
1244
+ * @maxLength 3
1245
+ */
1246
+ flag?: string;
1247
+ /**
1248
+ * regional format
1249
+ * @maxLength 20
1250
+ */
1251
+ regionalFormat?: string;
1252
+ /**
1253
+ * URL structure
1254
+ * @maxLength 50
1255
+ */
1256
+ urlStructure?: string;
1257
+ /**
1258
+ * display name
1259
+ * @maxLength 30
1260
+ */
1261
+ displayName?: string;
1262
+ }
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Auto-generated from @wix/ambassador-document-v3-component
2
+ // Auto-generated from Ambassador packages
3
3
  // Do not edit manually - run 'yarn generate:public-types' to regenerate
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.AriaInvalid = exports.AriaCurrent = exports.AriaLive = exports.AriaRole = exports.AriaRelevant = exports.AriaHaspopup = exports.AriaPressed = exports.LoginDialog = exports.TextLinkType = exports.LinkType = exports.LinkRelEnumLinkRel = exports.LinkTarget = exports.PropertySource = exports.StyleType = exports.AdaptiveFormat = exports.VideoFormat = exports.VideoQuality = exports.DirectionValue = exports.DataType = void 0;
package/dist/index.d.ts CHANGED
@@ -11,4 +11,5 @@ export * from './Providers';
11
11
  export * from './Bindings';
12
12
  export { OpenColorPickerFn, OpenLinkPanelFn, BasePickerOptions, BackgroundFillValue, BackgroundPickerOptions, ColorPickerOptions, ColorPickerMode, } from './Inputs';
13
13
  export * as PublicDmTypes from './generated/dm-types';
14
+ export type { SiteLocale } from './generated/dm-types';
14
15
  export * from './sdk';
@@ -20,4 +20,5 @@ export interface AddExtensionOptions {
20
20
  addToSiteMenu?: boolean;
21
21
  }
22
22
  export interface AddTemplateOptions extends AddExtensionOptions {
23
+ slug: string;
23
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/public-editor-platform-interfaces",
3
- "version": "1.56.0",
3
+ "version": "1.58.0",
4
4
  "license": "UNLICENSED",
5
5
  "contributors": [
6
6
  {
@@ -52,5 +52,5 @@
52
52
  ]
53
53
  }
54
54
  },
55
- "falconPackageHash": "98387d4b48fe83cf81e73b3d531cd47a4d435485b6851f1e7d2befd1"
55
+ "falconPackageHash": "55951ccd5f4b83206e4f6f1b54755fabf634e8758f7ae38acfead2bf"
56
56
  }