Code Monkey home page Code Monkey logo

vcode's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

arturomc

vcode's Issues

Model snippet is broken

Similar to component and model, it should create a class MyModel.

Also the datasource is not an array in this case, it should be a DataSource class, remove the IModel from the imports is now deprecated...

VCode Extension

A OnixJS Extension for VCode is required, in order to provide a set of snippets to easily create the following:

Application Classes
Module Classes
Component Classes
Model Classes
LifeCycle Function Hooks
Component RPC Method
Component Stream Method
More to be added
This is a request for anyone who wants to help on this new project.

Cheers
Jon

Datasource requires to implements IDataSource interface

Also, not sure why I did set the OnixMessage as model Type, that is wrong and is my fault, I'm fixing that from the core interface, but for now please correct that one as well, keep it in any as for now and remove the OnixMessage from the imports.

Module snippet is broken

When you use the module snippet since it shadows the Module name

import { Module } from '@onixjs/core';

and

export class Module {}

It generates issues, the class should be renamed to something else like

export class MyModule {}

to avoid shadowing issues.

Also, the lifecycle requires to return the method result or will stop the flow.

    lifecycle: async(appp, metadata, method): Promise<any> => {
        // before call
        const result = await method();
        // before call
        return result;
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.