Merge in v5 code

This commit is contained in:
Ibby Hadeed
2017-12-28 07:28:44 -05:00
parent d43fe72f7b
commit 0f9c21ab42
255 changed files with 11473 additions and 6501 deletions
@@ -1,4 +1,4 @@
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Injectable } from '@angular/core';
/**
@@ -59,7 +59,9 @@ export class SQLitePorter extends IonicNativePlugin {
successName: 'successFn',
errorName: 'errorFn'
})
importSqlToDb(db: any, sql: string): Promise<any> { return; }
importSqlToDb(db: any, sql: string): Promise<any> {
return;
}
/**
* Exports a SQLite DB as a set of SQL statements.
@@ -71,7 +73,9 @@ export class SQLitePorter extends IonicNativePlugin {
successName: 'successFn',
errorName: 'errorFn'
})
exportDbToSql(db: any): Promise<any> { return; }
exportDbToSql(db: any): Promise<any> {
return;
}
/**
* Converts table structure and/or row data contained within a JSON structure into SQL statements that can be executed against a SQLite database. Can be used to import data into the database and/or create the table structure.
@@ -84,7 +88,9 @@ export class SQLitePorter extends IonicNativePlugin {
successName: 'successFn',
errorName: 'errorFn'
})
importJsonToDb(db: any, json: any): Promise<any> { return; }
importJsonToDb(db: any, json: any): Promise<any> {
return;
}
/**
* Exports a SQLite DB as a JSON structure
@@ -96,7 +102,9 @@ export class SQLitePorter extends IonicNativePlugin {
successName: 'successFn',
errorName: 'errorFn'
})
exportDbToJson(db: any): Promise<any> { return; }
exportDbToJson(db: any): Promise<any> {
return;
}
/**
* Wipes all data from a database by dropping all existing tables
@@ -108,6 +116,8 @@ export class SQLitePorter extends IonicNativePlugin {
successName: 'successFn',
errorName: 'errorFn'
})
wipeDb(db: any): Promise<any> { return; }
wipeDb(db: any): Promise<any> {
return;
}
}