New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vegaprotocol/enums

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vegaprotocol/enums

Number and string enums used in VegaProtocol

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

JS enums

Javascript enums for all Vega types. This includes both string representations and number representatons.

e.g.

export enum ConditionOperator {
  /** The default value */
  OPERATOR_UNSPECIFIED = "OPERATOR_UNSPECIFIED",
  /** Verify if the property values are strictly equal or not. */
  OPERATOR_EQUALS = "OPERATOR_EQUALS",
  /** Verify if the data source data value is greater than the Condition value. */
  OPERATOR_GREATER_THAN = "OPERATOR_GREATER_THAN",
  /** Verify if the data source data value is greater than or equal to the Condition
  value. */
  OPERATOR_GREATER_THAN_OR_EQUAL = "OPERATOR_GREATER_THAN_OR_EQUAL",
  /** Verify if the data source data value is less than the Condition value. */
  OPERATOR_LESS_THAN = "OPERATOR_LESS_THAN",
  /** Verify if the data source data value is less or equal to than the Condition
  value. */
  OPERATOR_LESS_THAN_OR_EQUAL = "OPERATOR_LESS_THAN_OR_EQUAL"
}

/** Operator describes the type of comparison.*/
export enum ConditionOperatorNumber {
  /** The default value */
  OPERATOR_UNSPECIFIED = 0,
  /** Verify if the property values are strictly equal or not. */
  OPERATOR_EQUALS = 1,
  /** Verify if the data source data value is greater than the Condition value. */
  OPERATOR_GREATER_THAN = 2,
  /** Verify if the data source data value is greater than or equal to the Condition
  value. */
  OPERATOR_GREATER_THAN_OR_EQUAL = 3,
  /** Verify if the data source data value is less than the Condition value. */
  OPERATOR_LESS_THAN = 4,
  /** Verify if the data source data value is less or equal to than the Condition
  value. */
  OPERATOR_LESS_THAN_OR_EQUAL = 5
}

FAQs

Package last updated on 12 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc