aion-gql-webcomponents
Version:
AION Webcomponents using AION GraphQL
79 lines (61 loc) • 1.88 kB
TypeScript
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import './stencil.core';
export namespace Components {
interface AionBlocks {
'duration': number;
'gqlUrl': string;
'limit': number;
}
interface AionBlocksAttributes extends StencilHTMLAttributes {
'duration'?: number;
'gqlUrl'?: string;
'limit'?: number;
}
interface AionPay {
'buttonText': string;
'gqlUrl': string;
'refreshAndShow': () => void;
'showWithData': (refId: string, to: string, value: number, data: string) => void;
'to': string;
}
interface AionPayAttributes extends StencilHTMLAttributes {
'buttonText'?: string;
'gqlUrl'?: string;
'onTXN_COMPLETED'?: (event: CustomEvent) => void;
'onTXN_FAILED'?: (event: CustomEvent) => void;
'onTXN_INPROGRESS'?: (event: CustomEvent) => void;
'to'?: string;
}
}
declare global {
interface StencilElementInterfaces {
'AionBlocks': Components.AionBlocks;
'AionPay': Components.AionPay;
}
interface StencilIntrinsicElements {
'aion-blocks': Components.AionBlocksAttributes;
'aion-pay': Components.AionPayAttributes;
}
interface HTMLAionBlocksElement extends Components.AionBlocks, HTMLStencilElement {}
var HTMLAionBlocksElement: {
prototype: HTMLAionBlocksElement;
new (): HTMLAionBlocksElement;
};
interface HTMLAionPayElement extends Components.AionPay, HTMLStencilElement {}
var HTMLAionPayElement: {
prototype: HTMLAionPayElement;
new (): HTMLAionPayElement;
};
interface HTMLElementTagNameMap {
'aion-blocks': HTMLAionBlocksElement
'aion-pay': HTMLAionPayElement
}
interface ElementTagNameMap {
'aion-blocks': HTMLAionBlocksElement;
'aion-pay': HTMLAionPayElement;
}
}