Skip to content

Commit

Permalink
refactor: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mzfrshk committed Oct 22, 2024
1 parent 0b6e4e8 commit 672a147
Show file tree
Hide file tree
Showing 52 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion Actions/abandoned/cart.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/app/installed.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "app.installed" action triggered by Salla .
* this function is executed on "app.installed" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/app/store.authorize.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "app.store.authorize" action triggered by Salla .
* this function is executed on "app.store.authorize" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/brand/created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "brand.created" action triggered by Salla .
* this function is executed on "brand.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/brand/deleted.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/brand/updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/category/created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/category/updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/coupon/applied.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/customer/created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "customer.created" action triggered by Salla .
* this function is executed on "customer.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/customer/login.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "customer.login" action triggered by Salla .
* this function is executed on "customer.login" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/customer/otp.created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "customer.otp.created" action triggered by Salla .
* this function is executed on "customer.otp.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/customer/request.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "customer.request" action triggered by Salla .
* this function is executed on "customer.request" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/customer/updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "customer.updated" action triggered by Salla .
* this function is executed on "customer.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/cancelled.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.cancelled" action triggered by Salla .
* this function is executed on "order.cancelled" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/coupon.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.coupon.updated" action triggered by Salla .
* this function is executed on "order.coupon.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.created" action triggered by Salla .
* this function is executed on "order.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/deleted.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.deleted" action triggered by Salla .
* this function is executed on "order.deleted" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/payment.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.payment.updated" action triggered by Salla .
* this function is executed on "order.payment.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/products.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.products.updated" action triggered by Salla .
* this function is executed on "order.products.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/refunded.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.refunded" action triggered by Salla .
* this function is executed on "order.refunded" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/shipment.cancelled.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.shipment.cancelled" action triggered by Salla .
* this function is executed on "order.shipment.cancelled" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/shipment.created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.shipment.created" action triggered by Salla .
* this function is executed on "order.shipment.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/shipment.creating.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.shipment.creating" action triggered by Salla .
* this function is executed on "order.shipment.creating" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/shipment.return.cancelled.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.shipment.return.cancelled" action triggered by Salla .
* this function is executed on "order.shipment.return.cancelled" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/shipment.return.created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.shipment.return.created" action triggered by Salla .
* this function is executed on "order.shipment.return.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/shipment.return.creating.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.shipment.return.creating" action triggered by Salla .
* this function is executed on "order.shipment.return.creating" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/shipping.address.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.shipping.address.updated" action triggered by Salla .
* this function is executed on "order.shipping.address.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/status.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.status.updated" action triggered by Salla .
* this function is executed on "order.status.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/total.price.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.total.price.updated" action triggered by Salla .
* this function is executed on "order.total.price.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/order/updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "order.updated" action triggered by Salla .
* this function is executed on "order.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/product/available.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "product.available" action triggered by Salla .
* this function is executed on "product.available" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/product/created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "product.created" action triggered by Salla .
* this function is executed on "product.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/product/deleted.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "product.deleted" action triggered by Salla .
* this function is executed on "product.deleted" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/product/quantity.low.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "product.quantity.low" action triggered by Salla .
* this function is executed on "product.quantity.low" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/product/updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "product.updated" action triggered by Salla .
* this function is executed on "product.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/review/added.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/shipping/company.created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "shipping.company.created" action triggered by Salla .
* this function is executed on "shipping.company.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/shipping/company.deleted.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "shipping.company.deleted" action triggered by Salla .
* this function is executed on "shipping.company.deleted" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/shipping/company.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "shipping.company.updated" action triggered by Salla .
* this function is executed on "shipping.company.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/shipping/zone.created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "shipping.zone.created" action triggered by Salla .
* this function is executed on "shipping.zone.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/shipping/zone.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "shipping.zone.updated" action triggered by Salla .
* this function is executed on "shipping.zone.updated" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/specialoffer/created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/specialoffer/updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/store/branch.activated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/store/branch.created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "store.branch.created" action triggered by Salla .
* this function is executed on "store.branch.created" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/store/branch.deleted.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/store/branch.setDefault.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/store/branch.updated.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
2 changes: 1 addition & 1 deletion Actions/storetax/created.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* this function is exeucted on "${event-name}" action triggered by Salla .
* this function is executed on "${event-name}" action triggered by Salla .
*
* Action Body received from Salla
* @param {Object} eventBody
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ The starter App comes with an easy _1-command step_ that does the complete setup
- Create a Partner account at [Salla Partner Portal](https://salla.partners/)
- Create your App in [Salla Partner Portal](https://salla.dev/blog/create-your-first-app-on-salla-developer-portal/)

> From your App dashboard at [Salla Partner Portal](https://salla.partners/), you will be able to get your App's _Client ID, Client Secret Key and Webhook Secret Key_ which you will use later duraing the setup process.
> From your App dashboard at [Salla Partner Portal](https://salla.partners/), you will be able to get your App's _Client ID, Client Secret Key and Webhook Secret Key_ which you will use later during the setup process.
- For EpxressJS compatibility : ` NodeJS >= 12.x.x, Node Package Manager and it support any Database [MySQL,MongoDB,PostgreSQL]`
- For ExpressJS compatibility : ` NodeJS >= 12.x.x, Node Package Manager and it support any Database [MySQL,MongoDB,PostgreSQL]`

That is all!

Expand All @@ -118,7 +118,7 @@ The installation process is straightforward as you will see in the below steps.

With [Salla CLI](https://github.com/SallaApp/Salla-CLI) installed, **run** the following command to create your Express starter app project: `salla app create` and follow on-screen instructions.

List of existing apps assocaited to your account will be displayed as well as an option to create your app on [Salla Partners Portal](https://salla.partners/). Afterwards, you will be presented with easy-to fill in information to create your app.
List of existing apps associated to your account will be displayed as well as an option to create your app on [Salla Partners Portal](https://salla.partners/). Afterwards, you will be presented with easy-to fill in information to create your app.

![Salla App Create Command](https://i.ibb.co/92tKgZz/Clean-Shot-2021-12-27-at-21-31-15.gif)

Expand All @@ -143,7 +143,7 @@ List of existing apps assocaited to your account will be displayed as well as an

## Configure Authorization Modes <span id='auth-modes'>

While creating your App in the [Salla Partners Portal](https://salla.partners/), you will see that Salla provids two methods for the OAuth protocol, which are the `Easy Mode` and the `Custom Mode`.
While creating your App in the [Salla Partners Portal](https://salla.partners/), you will see that Salla provides two methods for the OAuth protocol, which are the `Easy Mode` and the `Custom Mode`.

> During the setup process, the default _OAuth protocol_ will be set to the `Easy Mode`, which can be configured from the file [`.env`](.env).
> All of the setup's values/keys are stored in the `.env` file as we can see in the below image.
Expand Down Expand Up @@ -349,7 +349,7 @@ salla app create-webhook <event.name>
| **Action Name** | **Description** |
| ----------------------------------------- | ------------------------------------------------------------------------------------ |
| [brand.created](Actions/brand/created.js) | Creates a new Brand. |
| [brand.updated](Actions/brand/updated.js) | Triggered when Information about a sepcific Brand is updated/refurbished/streamlined |
| [brand.updated](Actions/brand/updated.js) | Triggered when Information about a specific Brand is updated/refurbished/streamlined |
| [brand.deleted](Actions/brand/deleted.js) | An existing brand is then deleted and removed from a store |

<p align="right">(<a href="#top">back to top</a>)</p>
Expand All @@ -363,7 +363,7 @@ salla app create-webhook <event.name>
| [store.branch.setDefault](Actions/store/branch.setDefault.js) | Sets for default a specific branch |
| [store.branch.activated](Actions/store/branch.activated.js) | Activates a disabled branch |
| [store.branch.deleted](Actions/store/branch.deleted.js) | Deletes a branch |
| [storetax.created](Actions/store/tax.created.js) | Creats a new Store Tax |
| [storetax.created](Actions/store/tax.created.js) | Creates a new Store Tax |

<p align="right">(<a href="#top">back to top</a>)</p>

Expand Down
Loading

0 comments on commit 672a147

Please sign in to comment.