mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 10:36:14 +08:00
removed interface that doesn't apply to the api (#3487)
This commit is contained in:
parent
ccca644134
commit
fab667f22c
@ -7,10 +7,6 @@ export interface IDynamicLink {
|
|||||||
deepLink: string;
|
deepLink: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ICreatedDynamicLink {
|
|
||||||
url: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ILinkOptions {
|
export interface ILinkOptions {
|
||||||
domainUriPrefix?: string;
|
domainUriPrefix?: string;
|
||||||
link?: string;
|
link?: string;
|
||||||
@ -116,36 +112,36 @@ export class FirebaseDynamicLinks extends IonicNativePlugin {
|
|||||||
/**
|
/**
|
||||||
* Creates a Dynamic Link from the parameters. Returns a promise fulfilled with the new dynamic link url.
|
* Creates a Dynamic Link from the parameters. Returns a promise fulfilled with the new dynamic link url.
|
||||||
* @param {ILinkOptions} opt [Dynamic Link Parameters](https://github.com/chemerisuk/cordova-plugin-firebase-dynamiclinks#dynamic-link-parameters)
|
* @param {ILinkOptions} opt [Dynamic Link Parameters](https://github.com/chemerisuk/cordova-plugin-firebase-dynamiclinks#dynamic-link-parameters)
|
||||||
* @return {Promise<ICreatedDynamicLink>} Returns a promise with the url
|
* @return {Promise<string>} Returns a promise with the url
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
otherPromise: true,
|
otherPromise: true,
|
||||||
})
|
})
|
||||||
createDynamicLink(opts: ILinkOptions): Promise<ICreatedDynamicLink> {
|
createDynamicLink(opts: ILinkOptions): Promise<string> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a shortened Dynamic Link from the parameters. Shorten the path to a string that is only as long as needed to be unique, with a minimum length of 4 characters. Use this method if sensitive information would not be exposed if a short Dynamic Link URL were guessed.
|
* Creates a shortened Dynamic Link from the parameters. Shorten the path to a string that is only as long as needed to be unique, with a minimum length of 4 characters. Use this method if sensitive information would not be exposed if a short Dynamic Link URL were guessed.
|
||||||
* @param {ILinkOptions} opt [Dynamic Link Parameters](https://github.com/chemerisuk/cordova-plugin-firebase-dynamiclinks#dynamic-link-parameters)
|
* @param {ILinkOptions} opt [Dynamic Link Parameters](https://github.com/chemerisuk/cordova-plugin-firebase-dynamiclinks#dynamic-link-parameters)
|
||||||
* @return {Promise<ICreatedDynamicLink>} Returns a promise with the url
|
* @return {Promise<string>} Returns a promise with the url
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
otherPromise: true,
|
otherPromise: true,
|
||||||
})
|
})
|
||||||
createShortDynamicLink(opts: ILinkOptions): Promise<ICreatedDynamicLink> {
|
createShortDynamicLink(opts: ILinkOptions): Promise<string> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a Dynamic Link from the parameters. Shorten the path to an unguessable string. Such strings are created by base62-encoding randomly generated 96-bit numbers, and consist of 17 alphanumeric characters. Use unguessable strings to prevent your Dynamic Links from being crawled, which can potentially expose sensitive information.
|
* Creates a Dynamic Link from the parameters. Shorten the path to an unguessable string. Such strings are created by base62-encoding randomly generated 96-bit numbers, and consist of 17 alphanumeric characters. Use unguessable strings to prevent your Dynamic Links from being crawled, which can potentially expose sensitive information.
|
||||||
* @param {ILinkOptions} opt [Dynamic Link Parameters](https://github.com/chemerisuk/cordova-plugin-firebase-dynamiclinks#dynamic-link-parameters)
|
* @param {ILinkOptions} opt [Dynamic Link Parameters](https://github.com/chemerisuk/cordova-plugin-firebase-dynamiclinks#dynamic-link-parameters)
|
||||||
* @return {Promise<ICreatedDynamicLink>} Returns a promise with the url
|
* @return {Promise<string>} Returns a promise with the url
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova({
|
||||||
otherPromise: true,
|
otherPromise: true,
|
||||||
})
|
})
|
||||||
createUnguessableDynamicLink(opts: ILinkOptions): Promise<ICreatedDynamicLink> {
|
createUnguessableDynamicLink(opts: ILinkOptions): Promise<string> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user