Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.07 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.07 KB

Velo-SPI-Docs

A JSON model representing Velo SPIs

Steps to Update Velo SPI

  1. Copy the updated service.json from wix-code-docs and replace the corresponding service.json in the corvid-spi-docs repository.

  2. Add the layoutType field to the service.json. For example:

    "layoutType": "JS"
  3. Add the memberOf field to the service.json with the EDM name (usually the folder name). For example:

    "memberOf": "wix-ecom"

Here is an example of how it should look:

ecom-additional-fees service.json example

  1. Add the module prefix to all type paths. For example:

    "type": "ecom-additional-fees.Options"

    should be replaced by:

    "type": "wix-ecom.ecom-additional-fees.Options"

Example:

alt text

  1. Merge the branch into master.

  2. Conenct the new SPI to the menu via the menu editor & verify & publish if needed.