mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-05-18 01:24:06 +08:00
Refactor
This commit is contained in:
parent
e684db479e
commit
6b433b5373
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user