chore(repo): rename ionic related interfaces

This commit is contained in:
Daniel Sogl
2021-09-27 17:20:56 +02:00
parent c81fbd7bbf
commit e588d96214
217 changed files with 476 additions and 440 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ function transformImports(file: ts.SourceFile, ctx: ts.TransformationContext, ng
const methodNames = methodElements.map(el => el.escapedText);
importStatement.importClause.namedBindings.elements = [
ts.createIdentifier('IonicNativePlugin'),
ts.createIdentifier('AwesomeCordovaNativePlugin'),
...methodElements,
...importStatement.importClause.namedBindings.elements.filter(
el => keep.indexOf(el.name.text) !== -1 && methodNames.indexOf(el.name.text) === -1
+2 -2
View File
@@ -10,7 +10,7 @@
*
*/
import { Injectable } from '@angular/core';
import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, IonicNativePlugin } from '@ionic-native/core';
import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
/**
@@ -44,7 +44,7 @@ import { Observable } from 'rxjs';
platforms: [] // Array of platforms supported, example: ['Android', 'iOS']
})
@Injectable()
export class {{ PluginName }} extends IonicNativePlugin {
export class {{ PluginName }} extends AwesomeCordovaNativePlugin {
/**
* This function does something
+2 -2
View File
@@ -10,7 +10,7 @@
*
*/
import { Injectable } from '@angular/core';
import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, IonicNativePlugin } from '@ionic-native/core';
import { Plugin, Cordova, CordovaProperty, CordovaInstance, InstanceProperty, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
/**
@@ -44,7 +44,7 @@ import { Observable } from 'rxjs';
platforms: [] // Array of platforms supported, example: ['Android', 'iOS']
})
@Injectable()
export class {{ PluginName }} extends IonicNativePlugin {
export class {{ PluginName }} extends AwesomeCordovaNativePlugin {
/**
* This function does something