@types/angular-feature-flags
Advanced tools
| // Type definitions for angular-feature-flags 1.4.0 | ||
| // Project: https://github.com/mjt01/angular-feature-flags | ||
| // Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov/> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| /// <reference types="angular" /> | ||
| import * as angular from "angular"; | ||
| declare module "angular" { | ||
| namespace featureflags { | ||
| export interface FlagData { | ||
| /** | ||
| * Unique key that is used from the markup to resolve whether a flag is active or not. | ||
| */ | ||
| key: string; | ||
| /** | ||
| * Boolean value for enabling/disabling the feature | ||
| */ | ||
| active: boolean; | ||
| /** | ||
| * A short name of the flag (only visible in the list of flags) | ||
| */ | ||
| name: string; | ||
| /** | ||
| * A long description of the flag to further explain the feature being toggled (only visible in the list of flags) | ||
| */ | ||
| description: string; | ||
| } | ||
| export interface FeatureFlagsProvider { | ||
| setInitialFlags(flags: Array<FlagData>): void; | ||
| } | ||
| export interface FeatureFlagsService { | ||
| set(flagsPromise: angular.IPromise<FlagData> | angular.IHttpPromise<FlagData>): void; | ||
| } | ||
| } | ||
| } |
| { | ||
| "name": "@types/angular-feature-flags", | ||
| "version": "1.4.2", | ||
| "version": "1.4.3", | ||
| "description": "TypeScript definitions for angular-feature-flags 1.4.0", | ||
@@ -13,5 +13,8 @@ "license": "MIT", | ||
| "scripts": {}, | ||
| "dependencies": {}, | ||
| "typings": "angular-feature-flags.d.ts", | ||
| "typesPublisherContentHash": "15518a4ecf310a86ae6a430b16bae82ced3cc40662b7c231be99e13b51a60088" | ||
| "dependencies": { | ||
| "@types/angular": "*" | ||
| }, | ||
| "peerDependencies": {}, | ||
| "typings": "index.d.ts", | ||
| "typesPublisherContentHash": "f90c68e2640f12f6d9bd6d60a530eb87b8ba726048f4be3b14543989d138361c" | ||
| } |
@@ -11,6 +11,6 @@ # Installation | ||
| Additional Details | ||
| * Last updated: Fri, 23 Sep 2016 17:58:34 GMT | ||
| * File structure: Global | ||
| * Library Dependencies: angularjs | ||
| * Module Dependencies: none | ||
| * Last updated: Wed, 05 Oct 2016 20:53:29 GMT | ||
| * File structure: ModuleAugmentation | ||
| * Library Dependencies: angular | ||
| * Module Dependencies: angular | ||
| * Global values: none | ||
@@ -17,0 +17,0 @@ |
| { | ||
| "authors": "Borislav Zhivkov <https://github.com/borislavjivkov/>", | ||
| "definitionFilename": "angular-feature-flags.d.ts", | ||
| "definitionFilename": "index.d.ts", | ||
| "libraryDependencies": [ | ||
| "angularjs" | ||
| "angular" | ||
| ], | ||
| "moduleDependencies": [], | ||
| "moduleDependencies": [ | ||
| "angular" | ||
| ], | ||
| "libraryMajorVersion": "1", | ||
@@ -15,10 +17,12 @@ "libraryMinorVersion": "4", | ||
| "sourceBranch": "types-2.0", | ||
| "kind": "Global", | ||
| "kind": "ModuleAugmentation", | ||
| "globals": [], | ||
| "declaredModules": [], | ||
| "declaredModules": [ | ||
| "angular" | ||
| ], | ||
| "files": [ | ||
| "angular-feature-flags.d.ts" | ||
| "index.d.ts" | ||
| ], | ||
| "hasPackageJson": false, | ||
| "contentHash": "15518a4ecf310a86ae6a430b16bae82ced3cc40662b7c231be99e13b51a60088" | ||
| "contentHash": "f90c68e2640f12f6d9bd6d60a530eb87b8ba726048f4be3b14543989d138361c" | ||
| } |
| // Type definitions for angular-feature-flags 1.4.0 | ||
| // Project: https://github.com/mjt01/angular-feature-flags | ||
| // Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov/> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| /// <reference types="angularjs" /> | ||
| declare namespace angular.featureflags { | ||
| export interface FlagData { | ||
| /** | ||
| * Unique key that is used from the markup to resolve whether a flag is active or not. | ||
| */ | ||
| key: string; | ||
| /** | ||
| * Boolean value for enabling/disabling the feature | ||
| */ | ||
| active: boolean; | ||
| /** | ||
| * A short name of the flag (only visible in the list of flags) | ||
| */ | ||
| name: string; | ||
| /** | ||
| * A long description of the flag to further explain the feature being toggled (only visible in the list of flags) | ||
| */ | ||
| description: string; | ||
| } | ||
| export interface FeatureFlagsProvider { | ||
| setInitialFlags(flags: Array<FlagData>): void; | ||
| } | ||
| export interface FeatureFlagsService { | ||
| set(flagsPromise: angular.IPromise<FlagData> | angular.IHttpPromise<FlagData>): void; | ||
| } | ||
| } |
3443
7.49%59
13.46%1
Infinity%+ Added
+ Added