wizzi
TypeScript icon, indicating that this package has built-in type declarations

0.7.35 • Public • Published

wizzi

The Wizzi Factory.

Work still in progress

Availability of features will be announced

on Twitter and Facebook

Features

Exposes the main wizzi factory service components:

  • WizziFactory class
  • PluginsManager class
  • RunnerServer class

The WizziFactory class

Is the main access point to wizzi factory services. Can be`used to`

Instance creation

wizzi.createFactory(
userid,
role,
options,
callback
);

Methods

wizziFactoryInstance.generateModelDoms(
);
wizziFactoryInstance.generateMTree(
);
wizziFactoryInstance.generateWizziModel(
);
wizziFactoryInstance.generateArtifact(
);
wizziFactoryInstance.executeWizziJob(
);

The PluginsManager class

The RunnerServer class

Default factory (quick starter)

Loads a wizzi magical tree (mTree)

var wizzi = require('wizzi');
var ittfSourcePath = '...';
var context = {
...
};
var options = {
...
};
wizzi.mtree(
    ittfSourcePath,
    context,
    options,
    function(err, mTree) {
    ...
    });

Loads a wizzi model

var wizzi = require('wizzi');
var ittfSourcePath = '...';
var context = {
...
};
var options = {
...
};
wizzi.model(
    ittfSourcePath,
    context,
    options,
    function(err, wizziModel) {
    ...
    });

Generates an artifact

var wizzi = require('wizzi');
var ittfSourcePath = '...';
var artifactName = '...';
var modelContext = {
...
};
var artifactContext = {
...
};
var options = {
...
};
wizzi.model(
    ittfSourcePath,
    artifactName,
    context,
    options,
    function(err, artifactText) {
    ...
    });

Wizzi

One machinery, many productions.

Project page

Built With

License

This project is licensed under the MIT License - see the license.txt for details.

Readme

Keywords

none

Package Sidebar

Install

npm i wizzi

Weekly Downloads

3

Version

0.7.35

License

none

Unpacked Size

1.5 MB

Total Files

460

Last publish

Collaborators

  • wizziteam