Skip to content

FeatureType

@tsed/cli

Usage

typescript
import { FeatureType } from "@tsed/cli";

See /packages/cli/src/commands/init/config/FeaturesPrompt.ts.

Overview

ts
enum FeatureType {
    GRAPHQL = "graphql",
    SOCKETIO = "socketio",
    OIDC = "oidc",
    PASSPORTJS = "passportjs",
    CONFIG = "config",
    COMMANDS = "commands",
    ORM = "orm",
    DOC = "doc",
    CONFIG_ENVS = "config:envs",
    CONFIG_DOTENV = "config:dotenv",
    CONFIG_JSON = "config:json",
    CONFIG_YAML = "config:yaml",
    CONFIG_AWS_SECRETS = "config:aws_secrets:premium",
    CONFIG_IOREDIS = "config:ioredis:premium",
    CONFIG_MONGO = "config:mongo:premium",
    CONFIG_VAULT = "config:vault:premium",
    CONFIG_POSTGRES = "config:postgres:premium",
    SWAGGER = "doc:swagger",
    SCALAR = "doc:scalar",
    PRISMA = "orm:prisma",
    MONGOOSE = "orm:mongoose",
    TYPEORM = "orm:typeorm",
    TYPEORM_MYSQL = "orm:typeorm:mysql",
    TYPEORM_MARIADB = "orm:typeorm:mariadb",
    TYPEORM_POSTGRES = "orm:typeorm:postgres",
    TYPEORM_COCKROACHDB = "orm:typeorm:cockroachdb",
    TYPEORM_SQLITE = "orm:typeorm:sqlite",
    TYPEORM_BETTER_SQLITE3 = "orm:typeorm:better-sqlite3",
    TYPEORM_CORDOVA = "orm:typeorm:cordova",
    TYPEORM_NATIVESCRIPT = "orm:typeorm:nativescript",
    TYPEORM_ORACLE = "orm:typeorm:oracle",
    TYPEORM_MSSQL = "orm:typeorm:mssql",
    TYPEORM_MONGODB = "orm:typeorm:mongodb",
    TYPEORM_SQLJS = "orm:typeorm:sqljs",
    TYPEORM_REACTNATIVE = "orm:typeorm:reactnative",
    TYPEORM_EXPO = "orm:typeorm:expo",
    TESTING = "testing",
    JEST = "testing:jest",
    VITEST = "testing:vitest",
    LINTER = "linter",
    ESLINT = "linter:eslint",
    LINT_STAGED = "linter:lintstaged",
    PRETTIER = "linter:prettier"
}

GRAPHQL

ts
GRAPHQL = "graphql",

SOCKETIO

ts
SOCKETIO = "socketio",

OIDC

ts
OIDC = "oidc",

PASSPORTJS

ts
PASSPORTJS = "passportjs",

CONFIG

ts
CONFIG = "config",

COMMANDS

ts
COMMANDS = "commands",

ORM

ts
ORM = "orm",

DOC

ts
DOC = "doc",

CONFIG_ENVS = "config

ts
CONFIG_ENVS = "config:envs",

CONFIG_DOTENV = "config

ts
CONFIG_DOTENV = "config:dotenv",

CONFIG_JSON = "config

ts
CONFIG_JSON = "config:json",

CONFIG_YAML = "config

ts
CONFIG_YAML = "config:yaml",

CONFIG_AWS_SECRETS = "config:aws_secrets

ts
CONFIG_AWS_SECRETS = "config:aws_secrets:premium",

CONFIG_IOREDIS = "config:ioredis

ts
CONFIG_IOREDIS = "config:ioredis:premium",

CONFIG_MONGO = "config:mongo

ts
CONFIG_MONGO = "config:mongo:premium",

CONFIG_VAULT = "config:vault

ts
CONFIG_VAULT = "config:vault:premium",

CONFIG_POSTGRES = "config:postgres

ts
CONFIG_POSTGRES = "config:postgres:premium",

SWAGGER = "doc

ts
SWAGGER = "doc:swagger",

SCALAR = "doc

ts
SCALAR = "doc:scalar",

PRISMA = "orm

ts
PRISMA = "orm:prisma",

MONGOOSE = "orm

ts
MONGOOSE = "orm:mongoose",

TYPEORM = "orm

ts
TYPEORM = "orm:typeorm",

TYPEORM_MYSQL = "orm:typeorm

ts
TYPEORM_MYSQL = "orm:typeorm:mysql",

TYPEORM_MARIADB = "orm:typeorm

ts
TYPEORM_MARIADB = "orm:typeorm:mariadb",

TYPEORM_POSTGRES = "orm:typeorm

ts
TYPEORM_POSTGRES = "orm:typeorm:postgres",

TYPEORM_COCKROACHDB = "orm:typeorm

ts
TYPEORM_COCKROACHDB = "orm:typeorm:cockroachdb",

TYPEORM_SQLITE = "orm:typeorm

ts
TYPEORM_SQLITE = "orm:typeorm:sqlite",

TYPEORM_BETTER_SQLITE3 = "orm:typeorm

ts
TYPEORM_BETTER_SQLITE3 = "orm:typeorm:better-sqlite3",

TYPEORM_CORDOVA = "orm:typeorm

ts
TYPEORM_CORDOVA = "orm:typeorm:cordova",

TYPEORM_NATIVESCRIPT = "orm:typeorm

ts
TYPEORM_NATIVESCRIPT = "orm:typeorm:nativescript",

TYPEORM_ORACLE = "orm:typeorm

ts
TYPEORM_ORACLE = "orm:typeorm:oracle",

TYPEORM_MSSQL = "orm:typeorm

ts
TYPEORM_MSSQL = "orm:typeorm:mssql",

TYPEORM_MONGODB = "orm:typeorm

ts
TYPEORM_MONGODB = "orm:typeorm:mongodb",

TYPEORM_SQLJS = "orm:typeorm

ts
TYPEORM_SQLJS = "orm:typeorm:sqljs",

TYPEORM_REACTNATIVE = "orm:typeorm

ts
TYPEORM_REACTNATIVE = "orm:typeorm:reactnative",

TYPEORM_EXPO = "orm:typeorm

ts
TYPEORM_EXPO = "orm:typeorm:expo",

TESTING

ts
TESTING = "testing",

JEST = "testing

ts
JEST = "testing:jest",

VITEST = "testing

ts
VITEST = "testing:vitest",

LINTER

ts
LINTER = "linter",

ESLINT = "linter

ts
ESLINT = "linter:eslint",

LINT_STAGED = "linter

ts
LINT_STAGED = "linter:lintstaged",

PRETTIER = "linter

ts
PRETTIER = "linter:prettier"

Released under the MIT License.