1.0.2 • Published 8 years ago

ibrand v1.0.2

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

##ibrand

an app brand interface that doesn't complain. all properties are optional.

###Usage

.

// app.brand.ts

import { IBrand } from './ibrand';

// there's lots of ways to use this information
export const Brand : IBrand = {
  app: {
    name: 'Boosh! - the app that blows up',
    shortName: 'Boosh!',
    version: '0.0',
    logoUrl: 'assets/img/app/logo.png',
  },
  team: {
    name: 'Team Kapow',
    email: 'hey@kapow.io',
    url: 'https://wwwdotkapowdotcom',
    logoUrl: 'assets/img/team/kapowLogo.png'
  }
};

##The Code

export interface IBrand {
    'app': {
        'name'?: string;        // 
        'shortName'?: string;   // 
        'version'?: string;     // 
        'logoUrl'?: string;     // 
    };
    'team': {
        'name'?: string;        // 
        'email'?: string;       // 
        'url'?: string;         // 
        'logoUrl'?: string;     // 
    };
}