Skip to content

Commit ad09c89

Browse files
authored
Merge pull request #15 from Statflo/STATFLO-1093
feat(STATFLO-1093): updating widget type to match what is in the widget admin
2 parents c746a51 + bdfdce7 commit ad09c89

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@statflo/widget-sdk",
3-
"version": "0.4.7",
3+
"version": "0.4.8",
44
"description": "SDK for building widgets with Statflo and beyond",
55
"main": "./dist/index.js",
66
"module": "./dist/index.js",

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
export * from "./store";
22
export { default } from "./store";
3-
4-
export * from "./components/RemoteComponent";

src/store.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ export interface Widget {
77
name: string;
88
label?: string;
99
url: string;
10+
carrierIds: number[];
11+
scopes: {
12+
location: string;
13+
positions: string[];
14+
}[];
15+
dealers: {
16+
allDealers: boolean;
17+
dealerIds?: number[];
18+
};
1019
type: "iframe" | "native";
1120
native?: {
1221
remote: string;

0 commit comments

Comments
 (0)