This commit is contained in:
Ibby Hadeed 2017-09-27 17:42:40 -04:00
parent e684db479e
commit 6b433b5373

View File

@ -1,38 +1,26 @@
/**
* This is a template for new plugin wrappers
*
* TODO:
* - Add/Change information below
* - Document usage (importing, executing main functionality)
* - Remove any imports that you are not using
* - Add this file to /src/index.ts (follow style of other plugins)
* - Remove all the comments included in this template, EXCEPT the @Plugin wrapper docs and any other docs you added
* - Remove this note
*
*/
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
export interface IndexItem { export interface IndexItem {
domain: string; domain: string;
identifier: string; identifier: string;
title: string; title: string;
description: string; description: string;
/** /**
* Url to image * Url to image
*/ */
url: string; url: string;
/** /**
* Item keywords * Item keywords
*/ */
keywords?: Array<string>; keywords?: Array<string>;
/** /**
* Lifetime in minutes * Lifetime in minutes
*/ */
lifetime?: number; lifetime?: number;
} }
/** /**