@telia/teddy 0.6.8 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,8 @@ const APP_KEYS = {
|
|
|
7
7
|
"my-pages": "my-pages",
|
|
8
8
|
"my-business": "my-business",
|
|
9
9
|
"my-portal": "my-portal",
|
|
10
|
-
"business-net": "business-net"
|
|
10
|
+
"business-net": "business-net",
|
|
11
|
+
"telia-hub": "telia-hub"
|
|
11
12
|
};
|
|
12
13
|
const MY_PAGE_LINKS = {
|
|
13
14
|
name: "Min Side",
|
|
@@ -47,6 +48,13 @@ const MY_BUSINESS_LINKS = {
|
|
|
47
48
|
links: [],
|
|
48
49
|
icon: "home"
|
|
49
50
|
};
|
|
51
|
+
const TELIA_HUB_LINKS = {
|
|
52
|
+
name: "Telia Hub",
|
|
53
|
+
link: "https://beta.hub.telia.no/",
|
|
54
|
+
appKey: APP_KEYS["telia-hub"],
|
|
55
|
+
links: [],
|
|
56
|
+
icon: "people-hub"
|
|
57
|
+
};
|
|
50
58
|
const MY_PORTAL_LINKS = {
|
|
51
59
|
name: "Min portal",
|
|
52
60
|
link: "https://minportal.telia.no",
|
|
@@ -69,6 +77,7 @@ const SMART_CONNECT_LINKS = {
|
|
|
69
77
|
icon: "smart-connect"
|
|
70
78
|
};
|
|
71
79
|
const LOGGED_IN_LINKS_BUSINESS = [
|
|
80
|
+
TELIA_HUB_LINKS,
|
|
72
81
|
MY_BUSINESS_LINKS,
|
|
73
82
|
MY_PORTAL_LINKS,
|
|
74
83
|
SMART_CONNECT_LINKS,
|
|
@@ -1079,5 +1088,6 @@ exports.MY_PAGE_LINKS = MY_PAGE_LINKS;
|
|
|
1079
1088
|
exports.MY_PORTAL_LINKS = MY_PORTAL_LINKS;
|
|
1080
1089
|
exports.PRIVATE_LINKS = PRIVATE_LINKS;
|
|
1081
1090
|
exports.SMART_CONNECT_LINKS = SMART_CONNECT_LINKS;
|
|
1091
|
+
exports.TELIA_HUB_LINKS = TELIA_HUB_LINKS;
|
|
1082
1092
|
exports.getActiveSubLink = getActiveSubLink;
|
|
1083
1093
|
exports.getLinks = getLinks;
|
|
@@ -8,6 +8,7 @@ export declare const APP_KEYS: {
|
|
|
8
8
|
readonly 'my-business': "my-business";
|
|
9
9
|
readonly 'my-portal': "my-portal";
|
|
10
10
|
readonly 'business-net': "business-net";
|
|
11
|
+
readonly 'telia-hub': "telia-hub";
|
|
11
12
|
};
|
|
12
13
|
export type AppKey = (typeof APP_KEYS)[keyof typeof APP_KEYS];
|
|
13
14
|
export type Link = {
|
|
@@ -51,6 +52,13 @@ export declare const MY_BUSINESS_LINKS: {
|
|
|
51
52
|
readonly links: [];
|
|
52
53
|
readonly icon: "home";
|
|
53
54
|
};
|
|
55
|
+
export declare const TELIA_HUB_LINKS: {
|
|
56
|
+
readonly name: "Telia Hub";
|
|
57
|
+
readonly link: "https://beta.hub.telia.no/";
|
|
58
|
+
readonly appKey: "telia-hub";
|
|
59
|
+
readonly links: [];
|
|
60
|
+
readonly icon: "people-hub";
|
|
61
|
+
};
|
|
54
62
|
export declare const MY_PORTAL_LINKS: {
|
|
55
63
|
readonly name: "Min portal";
|
|
56
64
|
readonly link: "https://minportal.telia.no";
|
|
@@ -73,6 +81,12 @@ export declare const SMART_CONNECT_LINKS: {
|
|
|
73
81
|
readonly icon: "smart-connect";
|
|
74
82
|
};
|
|
75
83
|
export declare const LOGGED_IN_LINKS_BUSINESS: [{
|
|
84
|
+
readonly name: "Telia Hub";
|
|
85
|
+
readonly link: "https://beta.hub.telia.no/";
|
|
86
|
+
readonly appKey: "telia-hub";
|
|
87
|
+
readonly links: [];
|
|
88
|
+
readonly icon: "people-hub";
|
|
89
|
+
}, {
|
|
76
90
|
readonly name: "Min bedrift";
|
|
77
91
|
readonly link: "https://beta.minbedrift.telia.no";
|
|
78
92
|
readonly appKey: "my-business";
|
|
@@ -122,6 +136,12 @@ export declare const LOGGED_IN_LINKS: [{
|
|
|
122
136
|
readonly appKey: "my-pages";
|
|
123
137
|
readonly icon: "secured-1";
|
|
124
138
|
}];
|
|
139
|
+
}, {
|
|
140
|
+
readonly name: "Telia Hub";
|
|
141
|
+
readonly link: "https://beta.hub.telia.no/";
|
|
142
|
+
readonly appKey: "telia-hub";
|
|
143
|
+
readonly links: [];
|
|
144
|
+
readonly icon: "people-hub";
|
|
125
145
|
}, {
|
|
126
146
|
readonly name: "Min bedrift";
|
|
127
147
|
readonly link: "https://beta.minbedrift.telia.no";
|
|
@@ -5,7 +5,8 @@ const APP_KEYS = {
|
|
|
5
5
|
"my-pages": "my-pages",
|
|
6
6
|
"my-business": "my-business",
|
|
7
7
|
"my-portal": "my-portal",
|
|
8
|
-
"business-net": "business-net"
|
|
8
|
+
"business-net": "business-net",
|
|
9
|
+
"telia-hub": "telia-hub"
|
|
9
10
|
};
|
|
10
11
|
const MY_PAGE_LINKS = {
|
|
11
12
|
name: "Min Side",
|
|
@@ -45,6 +46,13 @@ const MY_BUSINESS_LINKS = {
|
|
|
45
46
|
links: [],
|
|
46
47
|
icon: "home"
|
|
47
48
|
};
|
|
49
|
+
const TELIA_HUB_LINKS = {
|
|
50
|
+
name: "Telia Hub",
|
|
51
|
+
link: "https://beta.hub.telia.no/",
|
|
52
|
+
appKey: APP_KEYS["telia-hub"],
|
|
53
|
+
links: [],
|
|
54
|
+
icon: "people-hub"
|
|
55
|
+
};
|
|
48
56
|
const MY_PORTAL_LINKS = {
|
|
49
57
|
name: "Min portal",
|
|
50
58
|
link: "https://minportal.telia.no",
|
|
@@ -67,6 +75,7 @@ const SMART_CONNECT_LINKS = {
|
|
|
67
75
|
icon: "smart-connect"
|
|
68
76
|
};
|
|
69
77
|
const LOGGED_IN_LINKS_BUSINESS = [
|
|
78
|
+
TELIA_HUB_LINKS,
|
|
70
79
|
MY_BUSINESS_LINKS,
|
|
71
80
|
MY_PORTAL_LINKS,
|
|
72
81
|
SMART_CONNECT_LINKS,
|
|
@@ -1078,6 +1087,7 @@ export {
|
|
|
1078
1087
|
MY_PORTAL_LINKS,
|
|
1079
1088
|
PRIVATE_LINKS,
|
|
1080
1089
|
SMART_CONNECT_LINKS,
|
|
1090
|
+
TELIA_HUB_LINKS,
|
|
1081
1091
|
getActiveSubLink,
|
|
1082
1092
|
getLinks
|
|
1083
1093
|
};
|