Skip to content

Commit

Permalink
feat: add the widget interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendakh committed Sep 22, 2022
1 parent 06a96aa commit 9b4e651
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/lib/Algoan.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ export interface IServiceAccount {
createdAt: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
config?: any;
widgetConfig?: IWidgetConfig;
}

/**
* Widget configuration interface
*/
export interface IWidgetConfig {
iframe?: IIFrameConfig;
}

/**
* IFrame configuration interface
*/
export interface IIFrameConfig {
language?: string;
font?: string;
fontColor?: string;
}

/**
Expand Down

0 comments on commit 9b4e651

Please sign in to comment.