@wix/auto_sdk_events_forms 1.0.124 → 1.0.126
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/cjs/index.js +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +118 -55
- package/build/cjs/index.typings.js +5 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +118 -55
- package/build/cjs/meta.js +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +118 -55
- package/build/es/index.typings.mjs +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +118 -55
- package/build/es/meta.mjs +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +118 -55
- package/build/internal/cjs/meta.d.ts +118 -55
- package/build/internal/es/index.typings.d.mts +118 -55
- package/build/internal/es/meta.d.mts +118 -55
- package/package.json +4 -4
|
@@ -1593,73 +1593,117 @@ interface SeoSettings {
|
|
|
1593
1593
|
hidden?: boolean | null;
|
|
1594
1594
|
}
|
|
1595
1595
|
/**
|
|
1596
|
-
* The SEO
|
|
1597
|
-
*
|
|
1598
|
-
*
|
|
1596
|
+
* The SEO data for a single page or dynamic item, in the shape stored today.
|
|
1597
|
+
*
|
|
1598
|
+
* FROZEN. Existing server code maps onto this message field by field, so its
|
|
1599
|
+
* field set must never change (see the file header). New writers use
|
|
1600
|
+
* `SeoSchemaV2`.
|
|
1601
|
+
*
|
|
1602
|
+
* These tags are rendered into the <head> of the HTML document and are not
|
|
1603
|
+
* visible on the page itself. They override every other source of tags
|
|
1604
|
+
* (site defaults, vertical presets, patterns) for this page.
|
|
1599
1605
|
*/
|
|
1600
1606
|
interface SeoSchema {
|
|
1601
|
-
/**
|
|
1607
|
+
/**
|
|
1608
|
+
* The tags rendered into <head>, in no particular order. Render order is
|
|
1609
|
+
* decided by the renderer, not by position in this list.
|
|
1610
|
+
*
|
|
1611
|
+
* No maxSize: this list is already populated by data written years ago, and
|
|
1612
|
+
* a bound added now could reject a page that is already stored.
|
|
1613
|
+
*/
|
|
1602
1614
|
tags?: Tag[];
|
|
1603
|
-
/** SEO
|
|
1615
|
+
/** Page-level SEO settings that are not themselves tags. */
|
|
1604
1616
|
settings?: Settings;
|
|
1605
1617
|
}
|
|
1618
|
+
/** A keyword term the user is targeting. */
|
|
1606
1619
|
interface Keyword {
|
|
1607
|
-
/**
|
|
1620
|
+
/**
|
|
1621
|
+
* The term itself, e.g. "trail running shoes".
|
|
1622
|
+
*
|
|
1623
|
+
* No maxLength, for the same reason as the legacy tag fields: keywords are
|
|
1624
|
+
* already stored, and a bound added now could reject a record written
|
|
1625
|
+
* before the bound existed. The flynt `missing-string-validations` warning
|
|
1626
|
+
* on this field is accepted deliberately.
|
|
1627
|
+
*/
|
|
1608
1628
|
term?: string;
|
|
1609
|
-
/** Whether
|
|
1629
|
+
/** Whether this is the page's primary focus keyword. At most one per page. */
|
|
1610
1630
|
isMain?: boolean;
|
|
1611
1631
|
/**
|
|
1612
|
-
*
|
|
1632
|
+
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
|
|
1633
|
+
* attribution in BI. Opaque to the renderer.
|
|
1613
1634
|
* @maxLength 1000
|
|
1614
1635
|
*/
|
|
1615
1636
|
origin?: string | null;
|
|
1616
1637
|
}
|
|
1638
|
+
/**
|
|
1639
|
+
* One tag in the page's <head>.
|
|
1640
|
+
*
|
|
1641
|
+
* Not deprecated, and with no removal date, deliberately: stored data is
|
|
1642
|
+
* never migrated, so this shape stays valid input forever. `seo-renderer`
|
|
1643
|
+
* normalizes both shapes on READ.
|
|
1644
|
+
*/
|
|
1617
1645
|
interface Tag {
|
|
1618
1646
|
/**
|
|
1619
|
-
*
|
|
1620
|
-
*
|
|
1647
|
+
* Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
|
|
1648
|
+
* The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
|
|
1649
|
+
* the invalid combinations unrepresentable rather than merely discouraged.
|
|
1621
1650
|
*
|
|
1622
|
-
*
|
|
1623
|
-
*
|
|
1624
|
-
*
|
|
1625
|
-
*
|
|
1626
|
-
*
|
|
1627
|
-
* `
|
|
1628
|
-
* check the field description of the specific `tags`-typed field you're writing to
|
|
1629
|
-
* for the types it actually supports and the error it returns.
|
|
1651
|
+
* Which of these an API actually accepts depends on where the tag is being
|
|
1652
|
+
* set: this list is not a blanket guarantee across every API that reuses
|
|
1653
|
+
* this message. Site SEO Tags in particular accepts only `meta` (see
|
|
1654
|
+
* `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
|
|
1655
|
+
* error even though they appear here — check the field description of the
|
|
1656
|
+
* specific `tags`-typed field you are writing to.
|
|
1630
1657
|
*
|
|
1631
1658
|
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
1632
|
-
*
|
|
1633
|
-
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
1634
|
-
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
1635
|
-
* write through the site's Advanced/Custom Tags
|
|
1636
|
-
* omit `custom` (or set it to `false`).
|
|
1659
|
+
* "application/ld+json" carrying structured data) are supported only when
|
|
1660
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
1661
|
+
* `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
1662
|
+
* `custom: true` routes the write through the site's Advanced/Custom Tags
|
|
1663
|
+
* list. To write structured data, omit `custom` (or set it to `false`).
|
|
1664
|
+
*
|
|
1665
|
+
* No length limit: this field holds data written years ago by writers we
|
|
1666
|
+
* are not migrating. A constraint here could reject a record that is
|
|
1667
|
+
* already stored, which is exactly the promise this design makes.
|
|
1637
1668
|
*/
|
|
1638
1669
|
type?: string;
|
|
1639
1670
|
/**
|
|
1640
|
-
*
|
|
1641
|
-
*
|
|
1671
|
+
* Legacy. Was an untyped bag of HTML attributes.
|
|
1672
|
+
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
|
|
1642
1673
|
*/
|
|
1643
1674
|
props?: Record<string, any> | null;
|
|
1644
|
-
/**
|
|
1675
|
+
/**
|
|
1676
|
+
* Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
|
|
1677
|
+
* its contents are split by purpose: per-page structured-data state moves to
|
|
1678
|
+
* StructuredDataTag, authorship to `written_by`, and render-time preset
|
|
1679
|
+
* logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
|
|
1680
|
+
* stored document entirely — it belongs to the preset definition, not to the
|
|
1681
|
+
* page. See the design log for the full key-by-key mapping.
|
|
1682
|
+
*/
|
|
1645
1683
|
meta?: Record<string, any> | null;
|
|
1646
|
-
/**
|
|
1684
|
+
/**
|
|
1685
|
+
* Legacy. Was the tag's inner content, doubling as the JSON-LD payload
|
|
1686
|
+
* for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
|
|
1687
|
+
* `StructuredDataTag.json_ld`.
|
|
1688
|
+
* No length limit, for the same reason as `type` above.
|
|
1689
|
+
*/
|
|
1647
1690
|
children?: string;
|
|
1648
1691
|
/**
|
|
1649
1692
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
1650
1693
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
1651
1694
|
*
|
|
1652
|
-
* Setting this to `true` on a write restricts which `type` values are
|
|
1653
|
-
* — the same restriction the Advanced/Custom Tags UI enforces.
|
|
1654
|
-
* `script` tags (including JSON-LD structured data) must be sent
|
|
1655
|
-
* omitted or `false`; sending them with `custom: true` is
|
|
1656
|
-
* `TAG_TYPE_NOT_ALLOWED`.
|
|
1695
|
+
* Setting this to `true` on a write restricts which `type` values are
|
|
1696
|
+
* accepted — the same restriction the Advanced/Custom Tags UI enforces.
|
|
1697
|
+
* `title` and `script` tags (including JSON-LD structured data) must be sent
|
|
1698
|
+
* with `custom` omitted or `false`; sending them with `custom: true` is
|
|
1699
|
+
* rejected with `TAG_TYPE_NOT_ALLOWED`.
|
|
1657
1700
|
*
|
|
1658
|
-
* Note this is a separate restriction from Site SEO Tags' own type
|
|
1659
|
-
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
1660
|
-
* for site-wide structured data) unconditionally.
|
|
1661
|
-
* site-wide, every-page structured data
|
|
1662
|
-
* `script` tag through the Item
|
|
1701
|
+
* Note this is a separate restriction from Site SEO Tags' own type
|
|
1702
|
+
* restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
1703
|
+
* rejects `script` (e.g. for site-wide structured data) unconditionally.
|
|
1704
|
+
* There is currently no way to set site-wide, every-page structured data
|
|
1705
|
+
* through any of these APIs — write a per-page `script` tag through the Item
|
|
1706
|
+
* SEO Tags API instead.
|
|
1663
1707
|
*
|
|
1664
1708
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
1665
1709
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
@@ -1672,22 +1716,39 @@ interface Tag {
|
|
|
1672
1716
|
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
1673
1717
|
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
1674
1718
|
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
1719
|
+
*
|
|
1720
|
+
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
|
|
1675
1721
|
*/
|
|
1676
1722
|
custom?: boolean;
|
|
1677
|
-
/**
|
|
1723
|
+
/**
|
|
1724
|
+
* Whether the tag is excluded from the rendered <head>.
|
|
1725
|
+
*
|
|
1726
|
+
* A disabled tag is still stored, so the user can re-enable it and so a
|
|
1727
|
+
* pattern-provided tag stays suppressed on this page. Default false.
|
|
1728
|
+
*/
|
|
1678
1729
|
disabled?: boolean;
|
|
1679
1730
|
}
|
|
1731
|
+
/** Page-level SEO settings that are not tags. */
|
|
1680
1732
|
interface Settings {
|
|
1681
1733
|
/**
|
|
1682
|
-
* Whether the
|
|
1683
|
-
*
|
|
1734
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
1735
|
+
* its current one after a slug change.
|
|
1684
1736
|
*
|
|
1685
|
-
* Default
|
|
1737
|
+
* Default false, meaning the redirect IS created. The field is named for the
|
|
1738
|
+
* exception rather than the rule, which reads backwards; kept as-is because
|
|
1739
|
+
* renaming a stored boolean is not worth the migration.
|
|
1686
1740
|
*/
|
|
1687
1741
|
preventAutoRedirect?: boolean;
|
|
1688
1742
|
/**
|
|
1689
|
-
*
|
|
1690
|
-
*
|
|
1743
|
+
* Keyword terms the user is targeting for this page. Used by the SEO
|
|
1744
|
+
* assistant and checklist; never rendered into <head>.
|
|
1745
|
+
*
|
|
1746
|
+
* 20 is a sanity bound, not the product limit. v1 declared 5 — the number
|
|
1747
|
+
* the panel happens to allow today — which is exactly the mistake we are
|
|
1748
|
+
* fixing for structured data. A product decision to allow 8 should not need
|
|
1749
|
+
* a proto release, so the panel owns that number and the proto only stops
|
|
1750
|
+
* something absurd.
|
|
1751
|
+
* @maxSize 20
|
|
1691
1752
|
*/
|
|
1692
1753
|
keywords?: Keyword[];
|
|
1693
1754
|
}
|
|
@@ -2499,6 +2560,8 @@ interface TextStyle {
|
|
|
2499
2560
|
textAlignment?: TextAlignmentWithLiterals;
|
|
2500
2561
|
/** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
|
|
2501
2562
|
lineHeight?: string | null;
|
|
2563
|
+
/** Font size of an empty block: it sizes the empty line, its list marker and the text typed into it. Ignored on a block with text, which is sized by its text's `FONT_SIZE` decorations. */
|
|
2564
|
+
fontSize?: FontSizeData;
|
|
2502
2565
|
}
|
|
2503
2566
|
declare enum TextAlignment {
|
|
2504
2567
|
/** browser default, eqivalent to `initial` */
|
|
@@ -2514,6 +2577,18 @@ declare enum TextAlignment {
|
|
|
2514
2577
|
}
|
|
2515
2578
|
/** @enumType */
|
|
2516
2579
|
type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
|
|
2580
|
+
interface FontSizeData {
|
|
2581
|
+
/** The units used for the font size. */
|
|
2582
|
+
unit?: FontTypeWithLiterals;
|
|
2583
|
+
/** Font size value. */
|
|
2584
|
+
value?: number | null;
|
|
2585
|
+
}
|
|
2586
|
+
declare enum FontType {
|
|
2587
|
+
PX = "PX",
|
|
2588
|
+
EM = "EM"
|
|
2589
|
+
}
|
|
2590
|
+
/** @enumType */
|
|
2591
|
+
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
|
2517
2592
|
interface DividerData {
|
|
2518
2593
|
/** Styling for the divider's container. */
|
|
2519
2594
|
containerData?: PluginContainerData;
|
|
@@ -3378,18 +3453,6 @@ interface MentionData {
|
|
|
3378
3453
|
/** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */
|
|
3379
3454
|
type?: string | null;
|
|
3380
3455
|
}
|
|
3381
|
-
interface FontSizeData {
|
|
3382
|
-
/** The units used for the font size. */
|
|
3383
|
-
unit?: FontTypeWithLiterals;
|
|
3384
|
-
/** Font size value. */
|
|
3385
|
-
value?: number | null;
|
|
3386
|
-
}
|
|
3387
|
-
declare enum FontType {
|
|
3388
|
-
PX = "PX",
|
|
3389
|
-
EM = "EM"
|
|
3390
|
-
}
|
|
3391
|
-
/** @enumType */
|
|
3392
|
-
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
|
3393
3456
|
interface SpoilerData {
|
|
3394
3457
|
/** Spoiler ID. */
|
|
3395
3458
|
id?: string | null;
|
|
@@ -1615,73 +1615,117 @@ interface SeoSettings {
|
|
|
1615
1615
|
hidden?: boolean | null;
|
|
1616
1616
|
}
|
|
1617
1617
|
/**
|
|
1618
|
-
* The SEO
|
|
1619
|
-
*
|
|
1620
|
-
*
|
|
1618
|
+
* The SEO data for a single page or dynamic item, in the shape stored today.
|
|
1619
|
+
*
|
|
1620
|
+
* FROZEN. Existing server code maps onto this message field by field, so its
|
|
1621
|
+
* field set must never change (see the file header). New writers use
|
|
1622
|
+
* `SeoSchemaV2`.
|
|
1623
|
+
*
|
|
1624
|
+
* These tags are rendered into the <head> of the HTML document and are not
|
|
1625
|
+
* visible on the page itself. They override every other source of tags
|
|
1626
|
+
* (site defaults, vertical presets, patterns) for this page.
|
|
1621
1627
|
*/
|
|
1622
1628
|
interface SeoSchema {
|
|
1623
|
-
/**
|
|
1629
|
+
/**
|
|
1630
|
+
* The tags rendered into <head>, in no particular order. Render order is
|
|
1631
|
+
* decided by the renderer, not by position in this list.
|
|
1632
|
+
*
|
|
1633
|
+
* No maxSize: this list is already populated by data written years ago, and
|
|
1634
|
+
* a bound added now could reject a page that is already stored.
|
|
1635
|
+
*/
|
|
1624
1636
|
tags?: Tag[];
|
|
1625
|
-
/** SEO
|
|
1637
|
+
/** Page-level SEO settings that are not themselves tags. */
|
|
1626
1638
|
settings?: Settings;
|
|
1627
1639
|
}
|
|
1640
|
+
/** A keyword term the user is targeting. */
|
|
1628
1641
|
interface Keyword {
|
|
1629
|
-
/**
|
|
1642
|
+
/**
|
|
1643
|
+
* The term itself, e.g. "trail running shoes".
|
|
1644
|
+
*
|
|
1645
|
+
* No maxLength, for the same reason as the legacy tag fields: keywords are
|
|
1646
|
+
* already stored, and a bound added now could reject a record written
|
|
1647
|
+
* before the bound existed. The flynt `missing-string-validations` warning
|
|
1648
|
+
* on this field is accepted deliberately.
|
|
1649
|
+
*/
|
|
1630
1650
|
term?: string;
|
|
1631
|
-
/** Whether
|
|
1651
|
+
/** Whether this is the page's primary focus keyword. At most one per page. */
|
|
1632
1652
|
isMain?: boolean;
|
|
1633
1653
|
/**
|
|
1634
|
-
*
|
|
1654
|
+
* Which surface added the term, e.g. a panel or a suggestion flow. Used for
|
|
1655
|
+
* attribution in BI. Opaque to the renderer.
|
|
1635
1656
|
* @maxLength 1000
|
|
1636
1657
|
*/
|
|
1637
1658
|
origin?: string | null;
|
|
1638
1659
|
}
|
|
1660
|
+
/**
|
|
1661
|
+
* One tag in the page's <head>.
|
|
1662
|
+
*
|
|
1663
|
+
* Not deprecated, and with no removal date, deliberately: stored data is
|
|
1664
|
+
* never migrated, so this shape stays valid input forever. `seo-renderer`
|
|
1665
|
+
* normalizes both shapes on READ.
|
|
1666
|
+
*/
|
|
1639
1667
|
interface Tag {
|
|
1640
1668
|
/**
|
|
1641
|
-
*
|
|
1642
|
-
*
|
|
1669
|
+
* Legacy. Was a free-form string: "title" | "meta" | "script" | "link".
|
|
1670
|
+
* The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes
|
|
1671
|
+
* the invalid combinations unrepresentable rather than merely discouraged.
|
|
1643
1672
|
*
|
|
1644
|
-
*
|
|
1645
|
-
*
|
|
1646
|
-
*
|
|
1647
|
-
*
|
|
1648
|
-
*
|
|
1649
|
-
* `
|
|
1650
|
-
* check the field description of the specific `tags`-typed field you're writing to
|
|
1651
|
-
* for the types it actually supports and the error it returns.
|
|
1673
|
+
* Which of these an API actually accepts depends on where the tag is being
|
|
1674
|
+
* set: this list is not a blanket guarantee across every API that reuses
|
|
1675
|
+
* this message. Site SEO Tags in particular accepts only `meta` (see
|
|
1676
|
+
* `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation
|
|
1677
|
+
* error even though they appear here — check the field description of the
|
|
1678
|
+
* specific `tags`-typed field you are writing to.
|
|
1652
1679
|
*
|
|
1653
1680
|
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
1654
|
-
*
|
|
1655
|
-
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
1656
|
-
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
1657
|
-
* write through the site's Advanced/Custom Tags
|
|
1658
|
-
* omit `custom` (or set it to `false`).
|
|
1681
|
+
* "application/ld+json" carrying structured data) are supported only when
|
|
1682
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or
|
|
1683
|
+
* `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because
|
|
1684
|
+
* `custom: true` routes the write through the site's Advanced/Custom Tags
|
|
1685
|
+
* list. To write structured data, omit `custom` (or set it to `false`).
|
|
1686
|
+
*
|
|
1687
|
+
* No length limit: this field holds data written years ago by writers we
|
|
1688
|
+
* are not migrating. A constraint here could reject a record that is
|
|
1689
|
+
* already stored, which is exactly the promise this design makes.
|
|
1659
1690
|
*/
|
|
1660
1691
|
type?: string;
|
|
1661
1692
|
/**
|
|
1662
|
-
*
|
|
1663
|
-
*
|
|
1693
|
+
* Legacy. Was an untyped bag of HTML attributes.
|
|
1694
|
+
* Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.
|
|
1664
1695
|
*/
|
|
1665
1696
|
props?: Record<string, any> | null;
|
|
1666
|
-
/**
|
|
1697
|
+
/**
|
|
1698
|
+
* Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`
|
|
1699
|
+
* its contents are split by purpose: per-page structured-data state moves to
|
|
1700
|
+
* StructuredDataTag, authorship to `written_by`, and render-time preset
|
|
1701
|
+
* logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the
|
|
1702
|
+
* stored document entirely — it belongs to the preset definition, not to the
|
|
1703
|
+
* page. See the design log for the full key-by-key mapping.
|
|
1704
|
+
*/
|
|
1667
1705
|
meta?: Record<string, any> | null;
|
|
1668
|
-
/**
|
|
1706
|
+
/**
|
|
1707
|
+
* Legacy. Was the tag's inner content, doubling as the JSON-LD payload
|
|
1708
|
+
* for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and
|
|
1709
|
+
* `StructuredDataTag.json_ld`.
|
|
1710
|
+
* No length limit, for the same reason as `type` above.
|
|
1711
|
+
*/
|
|
1669
1712
|
children?: string;
|
|
1670
1713
|
/**
|
|
1671
1714
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
1672
1715
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
1673
1716
|
*
|
|
1674
|
-
* Setting this to `true` on a write restricts which `type` values are
|
|
1675
|
-
* — the same restriction the Advanced/Custom Tags UI enforces.
|
|
1676
|
-
* `script` tags (including JSON-LD structured data) must be sent
|
|
1677
|
-
* omitted or `false`; sending them with `custom: true` is
|
|
1678
|
-
* `TAG_TYPE_NOT_ALLOWED`.
|
|
1717
|
+
* Setting this to `true` on a write restricts which `type` values are
|
|
1718
|
+
* accepted — the same restriction the Advanced/Custom Tags UI enforces.
|
|
1719
|
+
* `title` and `script` tags (including JSON-LD structured data) must be sent
|
|
1720
|
+
* with `custom` omitted or `false`; sending them with `custom: true` is
|
|
1721
|
+
* rejected with `TAG_TYPE_NOT_ALLOWED`.
|
|
1679
1722
|
*
|
|
1680
|
-
* Note this is a separate restriction from Site SEO Tags' own type
|
|
1681
|
-
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
1682
|
-
* for site-wide structured data) unconditionally.
|
|
1683
|
-
* site-wide, every-page structured data
|
|
1684
|
-
* `script` tag through the Item
|
|
1723
|
+
* Note this is a separate restriction from Site SEO Tags' own type
|
|
1724
|
+
* restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags
|
|
1725
|
+
* rejects `script` (e.g. for site-wide structured data) unconditionally.
|
|
1726
|
+
* There is currently no way to set site-wide, every-page structured data
|
|
1727
|
+
* through any of these APIs — write a per-page `script` tag through the Item
|
|
1728
|
+
* SEO Tags API instead.
|
|
1685
1729
|
*
|
|
1686
1730
|
* This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
|
|
1687
1731
|
* (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
|
|
@@ -1694,22 +1738,39 @@ interface Tag {
|
|
|
1694
1738
|
* or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the
|
|
1695
1739
|
* response entirely — there, `false` means this API could not tell, not that no custom tag exists.
|
|
1696
1740
|
* Pass `seoData` explicitly to resolve against a known set of tags.
|
|
1741
|
+
*
|
|
1742
|
+
* `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.
|
|
1697
1743
|
*/
|
|
1698
1744
|
custom?: boolean;
|
|
1699
|
-
/**
|
|
1745
|
+
/**
|
|
1746
|
+
* Whether the tag is excluded from the rendered <head>.
|
|
1747
|
+
*
|
|
1748
|
+
* A disabled tag is still stored, so the user can re-enable it and so a
|
|
1749
|
+
* pattern-provided tag stays suppressed on this page. Default false.
|
|
1750
|
+
*/
|
|
1700
1751
|
disabled?: boolean;
|
|
1701
1752
|
}
|
|
1753
|
+
/** Page-level SEO settings that are not tags. */
|
|
1702
1754
|
interface Settings {
|
|
1703
1755
|
/**
|
|
1704
|
-
* Whether the
|
|
1705
|
-
*
|
|
1756
|
+
* Whether to suppress the automatic redirect from this page's previous URL to
|
|
1757
|
+
* its current one after a slug change.
|
|
1706
1758
|
*
|
|
1707
|
-
* Default
|
|
1759
|
+
* Default false, meaning the redirect IS created. The field is named for the
|
|
1760
|
+
* exception rather than the rule, which reads backwards; kept as-is because
|
|
1761
|
+
* renaming a stored boolean is not worth the migration.
|
|
1708
1762
|
*/
|
|
1709
1763
|
preventAutoRedirect?: boolean;
|
|
1710
1764
|
/**
|
|
1711
|
-
*
|
|
1712
|
-
*
|
|
1765
|
+
* Keyword terms the user is targeting for this page. Used by the SEO
|
|
1766
|
+
* assistant and checklist; never rendered into <head>.
|
|
1767
|
+
*
|
|
1768
|
+
* 20 is a sanity bound, not the product limit. v1 declared 5 — the number
|
|
1769
|
+
* the panel happens to allow today — which is exactly the mistake we are
|
|
1770
|
+
* fixing for structured data. A product decision to allow 8 should not need
|
|
1771
|
+
* a proto release, so the panel owns that number and the proto only stops
|
|
1772
|
+
* something absurd.
|
|
1773
|
+
* @maxSize 20
|
|
1713
1774
|
*/
|
|
1714
1775
|
keywords?: Keyword[];
|
|
1715
1776
|
}
|
|
@@ -2521,6 +2582,8 @@ interface TextStyle {
|
|
|
2521
2582
|
textAlignment?: TextAlignmentWithLiterals;
|
|
2522
2583
|
/** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
|
|
2523
2584
|
lineHeight?: string | null;
|
|
2585
|
+
/** Font size of an empty block: it sizes the empty line, its list marker and the text typed into it. Ignored on a block with text, which is sized by its text's `FONT_SIZE` decorations. */
|
|
2586
|
+
fontSize?: FontSizeData;
|
|
2524
2587
|
}
|
|
2525
2588
|
declare enum TextAlignment {
|
|
2526
2589
|
/** browser default, eqivalent to `initial` */
|
|
@@ -2536,6 +2599,18 @@ declare enum TextAlignment {
|
|
|
2536
2599
|
}
|
|
2537
2600
|
/** @enumType */
|
|
2538
2601
|
type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
|
|
2602
|
+
interface FontSizeData {
|
|
2603
|
+
/** The units used for the font size. */
|
|
2604
|
+
unit?: FontTypeWithLiterals;
|
|
2605
|
+
/** Font size value. */
|
|
2606
|
+
value?: number | null;
|
|
2607
|
+
}
|
|
2608
|
+
declare enum FontType {
|
|
2609
|
+
PX = "PX",
|
|
2610
|
+
EM = "EM"
|
|
2611
|
+
}
|
|
2612
|
+
/** @enumType */
|
|
2613
|
+
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
|
2539
2614
|
interface DividerData {
|
|
2540
2615
|
/** Styling for the divider's container. */
|
|
2541
2616
|
containerData?: PluginContainerData;
|
|
@@ -3400,18 +3475,6 @@ interface MentionData {
|
|
|
3400
3475
|
/** The kind of entity the mention refers to. Any value is accepted, and it's usually used to mark a mention as a group mention (for example, `group`). When empty, the mention refers to a member. */
|
|
3401
3476
|
type?: string | null;
|
|
3402
3477
|
}
|
|
3403
|
-
interface FontSizeData {
|
|
3404
|
-
/** The units used for the font size. */
|
|
3405
|
-
unit?: FontTypeWithLiterals;
|
|
3406
|
-
/** Font size value. */
|
|
3407
|
-
value?: number | null;
|
|
3408
|
-
}
|
|
3409
|
-
declare enum FontType {
|
|
3410
|
-
PX = "PX",
|
|
3411
|
-
EM = "EM"
|
|
3412
|
-
}
|
|
3413
|
-
/** @enumType */
|
|
3414
|
-
type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
|
3415
3478
|
interface SpoilerData {
|
|
3416
3479
|
/** Spoiler ID. */
|
|
3417
3480
|
id?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_events_forms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.126",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"service-plugins"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@wix/sdk-runtime": "^1.0.
|
|
33
|
-
"@wix/sdk-types": "^1.17.
|
|
32
|
+
"@wix/sdk-runtime": "^1.0.28",
|
|
33
|
+
"@wix/sdk-types": "^1.17.12"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"tsup": "^8.4.0",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.events.v1.form"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "652f2b547682754ac3cd435de4e196d11e10b417085a5cf5e9574590"
|
|
54
54
|
}
|