All Downloads are FREE. Search and download functionalities are using the official Maven repository.

typescript-fetch.sagaApiManager.mustache Maven / Gradle / Ivy

The newest version!
import {
    Configuration,
    ConfigurationParameters,
} from "../index.js";

import {
{{#apiInfo}}
{{#apis}}
    {{classFilename}},
{{/apis}}
{{/apiInfo}}
} from "./index.js";

export class Api {
{{#apiInfo}}
{{#apis}}
    public static {{#lambda.camelcase}}{{classFilename}}{{/lambda.camelcase}}: {{classFilename}};
{{/apis}}
{{/apiInfo}}

    public static init(apiBaseConfig: ConfigurationParameters) {
{{#apiInfo}}
{{#apis}}
        Api.{{#lambda.camelcase}}{{classFilename}}{{/lambda.camelcase}} = new {{classFilename}}(new Configuration(apiBaseConfig));
{{/apis}}
{{/apiInfo}}
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy