Sort interface and string enum keys
Creates simple and immutable sets of names.
A TypeScript string enum for compile-time safety when working with event.key
Sort interface and string enum keys in custom order
A TypeScript string enum for compile-time safety when working with event.code
TypeScript Enum Utilities
Transform TypeScript `const` enums
[](https://travis-ci.org/mulesoft-labs/yaml-ast-parser)
Library for getting the names and values of typescript enum
HTTP methods as a TypeScript enum.
Babel preset for TypeScript `const` enums
HTTP status codes as a TypeScript enum.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Sanitize strings for use as JavaScript identifiers & property names
Enum utilities for typescript, inspired by flow enums
Shared Zod schemas for Clipboard's contracts.
A TypeScript enum of all locales, such as "en-US".
gRPC utility library for loading .proto files
Infer typescript types from your JSON schemas!
compile json schema to typescript typings
Shareable commitlint config enforcing conventional commits
Modern type-safe way of building CLIs
Walks your node_modules tree
PostgreSQL AST utils for pgsql-parser
String based enum.
A string-enum and string-flags with fixed variants that can also accept arbitrary data.
Procedural macros for serde serialization and deserialization of string-encoded enums.
migration methods for postgresql enum, internationalization, simple_form
This gem will take care of scopes, validations and normalization
Make ActiveRecord 4's Enum store as strings instead of integers.
String enums for Rails
Scopeless enums, and some syntactic sugar for string enums
Gem provide ability to use enum of active record with string field at postgreSQL and store available values at config(yml file)
Enumify lets you add an enum command to ActiveRecord models There are four things that the enumify gems adds to your model Validation - The enumify adds a validation to make sure that the field only receives accepted values Super Cool Methods - adds ? and ! functions for each enum value (canceled? - is it canceled, canceled! - change the state to canceled) Callback support - you can add a x_callback method which will be called each time the status changes Scopes - you can easily query for values of the enum
== StringEnum is a concern that makes it easy to work with enums. Include the module, then invoke the class method string_enum with the attribute name followed by the list of valid values. This will add checks, writers, and constants for each value.
Validation and helper methods for string based enums in rails
Converts a strings file to an enum, to make it more safe to access translations.
Enumerate adds an `enumerate` command to all ActiveRecord models, enabling you to work with string or integer columns as if they were enums. The following features are added to your model: Validation - ensures that the field only receives accepted values Predicate Methods - adds ? and ! functions for each enum value Scopes - you can easily query for values of the enum
Does the same as https://github.com/clio/polymorphic_integer_type but without monkey-patching, using ActiveRecord::Enum instead.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.