Search in sources :

Example 1 with EmitterExtensionFeatures

use of cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures in project typescript-generator by vojtechhabarta.

the class BeanPropertyPathExtension method getFeatures.

@Override
public EmitterExtensionFeatures getFeatures() {
    final EmitterExtensionFeatures features = new EmitterExtensionFeatures();
    features.generatesRuntimeCode = true;
    return features;
}
Also used : EmitterExtensionFeatures(cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures)

Example 2 with EmitterExtensionFeatures

use of cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures in project openremote by openremote.

the class AssetModelInfoExtension method getFeatures.

@Override
public EmitterExtensionFeatures getFeatures() {
    final EmitterExtensionFeatures features = new EmitterExtensionFeatures();
    features.generatesRuntimeCode = true;
    return features;
}
Also used : EmitterExtensionFeatures(cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures)

Example 3 with EmitterExtensionFeatures

use of cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures in project openremote by openremote.

the class AggregatedApiClient method getFeatures.

@Override
public EmitterExtensionFeatures getFeatures() {
    final EmitterExtensionFeatures features = new EmitterExtensionFeatures();
    features.generatesRuntimeCode = true;
    return features;
}
Also used : EmitterExtensionFeatures(cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures)

Example 4 with EmitterExtensionFeatures

use of cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures in project typescript-generator by vojtechhabarta.

the class AxiosClientExtension method getFeatures.

@Override
public EmitterExtensionFeatures getFeatures() {
    final EmitterExtensionFeatures features = new EmitterExtensionFeatures();
    features.generatesRuntimeCode = true;
    features.generatesModuleCode = true;
    features.worksWithPackagesMappedToNamespaces = true;
    features.generatesJaxrsApplicationClient = true;
    features.restResponseType = "Promise<Axios.GenericAxiosResponse<R>>";
    features.restOptionsType = "<O>";
    features.npmPackageDependencies = Collections.singletonMap("axios", "0.16.0");
    return features;
}
Also used : EmitterExtensionFeatures(cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures)

Example 5 with EmitterExtensionFeatures

use of cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures in project typescript-generator by vojtechhabarta.

the class EnumConstantsExtension method getFeatures.

@Override
public EmitterExtensionFeatures getFeatures() {
    final EmitterExtensionFeatures features = new EmitterExtensionFeatures();
    features.generatesRuntimeCode = true;
    return features;
}
Also used : EmitterExtensionFeatures(cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures)

Aggregations

EmitterExtensionFeatures (cz.habarta.typescript.generator.emitter.EmitterExtensionFeatures)8 EmitterExtension (cz.habarta.typescript.generator.emitter.EmitterExtension)1