1.0.1 • Published 6 years ago

quantum-typescript v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Quantum UI

An API-based react application host

Basics

Every component is a class that implements an interface that extends from the overall API.

Every Quantum component derives from and extends the Quantum API by adding its interface to the application.

import { IQuantum } from 'quantum-typescript'
import { Component } from 'React'

export interface IVideoPlayer extends IQuantum {
  readonly source:string
}

export class VideoPlayer implements IVideoPlayer extends Component {
  readonly source:string

  public constructor(source:string) {
    this.source = source
  }
}

Quantum TypeScript

The Component wrapper which holds all components in a Quantum Application. Other components may exist outside of Quantum, but only if they are not Quantum Components as the API should not accessed outside the host.

Quantum should have a Redux and Router basis, as well as a GraphQL/React Apollo API extension.

Quantum Electron

A wrapper, not necessarily component based, which opens up the API to the system without having to write individual functions. Examples include FS events, global events, event listeners for the application, and so on.

Quantum Extension Host

The extension host which allows the usage of universal quantum extensions. If it works for one Quantum App, it works for all Quantum Apps

Quantum Components

React components, for now, that directly expand and implement the API of any Quantum application.