@avaprotocol/types v2.2.9
Ava SDK for JavaScript/TypeScript
@avaprotocol/types is the TypeScript types for the @avaprotocol/sdk-js library and is intended to be used on the client side of a web app to interpret data.
Installation
To install @avaprotocol/types, run the following command:
npm install @avaprotocol/typesOr with Yarn:
yarn add @avaprotocol/typesGetting Started
Here’s a quick example of how to use the types library to get started with Ava Protocol:
import { WorkflowStatus, TriggerType } from "@avaprotocol/types";
// Check conditions such as workflow status
if (workflow.status === WorkflowStatus.Active) {
// ...
// your logic here
// ...
}Contributing
We welcome contributions! Feel free to submit pull requests or open issues for any bugs or feature requests.
License
This project is licensed under the Apache 2.0 License. See the LICENSE file for more details.
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago