@keycloakify/angular 0.2.7 → 0.2.8
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.
- package/bin/671.index.js +4 -2
- package/bin/942.index.js +4 -2
- package/package.json +1 -1
- package/src/bin/add-story.ts +4 -2
- package/src/bin/eject-page.ts +4 -2
package/bin/671.index.js
CHANGED
|
@@ -280,8 +280,9 @@ async function command(params) {
|
|
|
280
280
|
return buildContext.implementedThemeTypes.account.isImplemented;
|
|
281
281
|
case 'login':
|
|
282
282
|
return buildContext.implementedThemeTypes.login.isImplemented;
|
|
283
|
+
case 'admin':
|
|
284
|
+
return false;
|
|
283
285
|
}
|
|
284
|
-
// @ts-ignore
|
|
285
286
|
(0,assert/* assert */.v)(false);
|
|
286
287
|
});
|
|
287
288
|
(0,assert/* assert */.v)(values.length > 0, 'No theme is implemented in this project');
|
|
@@ -310,8 +311,9 @@ async function command(params) {
|
|
|
310
311
|
];
|
|
311
312
|
case 'account':
|
|
312
313
|
return [templateValue, ...constants/* ACCOUNT_THEME_PAGE_IDS */.Hp];
|
|
314
|
+
case 'admin':
|
|
315
|
+
return [];
|
|
313
316
|
}
|
|
314
|
-
// @ts-ignore
|
|
315
317
|
(0,assert/* assert */.v)(false);
|
|
316
318
|
})()
|
|
317
319
|
}).catch(() => {
|
package/bin/942.index.js
CHANGED
|
@@ -37,8 +37,9 @@ async function command(params) {
|
|
|
37
37
|
return buildContext.implementedThemeTypes.account.isImplemented;
|
|
38
38
|
case 'login':
|
|
39
39
|
return buildContext.implementedThemeTypes.login.isImplemented;
|
|
40
|
+
case 'admin':
|
|
41
|
+
return false;
|
|
40
42
|
}
|
|
41
|
-
// @ts-ignore
|
|
42
43
|
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_3__/* .assert */ .v)(false);
|
|
43
44
|
});
|
|
44
45
|
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_3__/* .assert */ .v)(values.length > 0, 'No theme is implemented in this project');
|
|
@@ -61,8 +62,9 @@ async function command(params) {
|
|
|
61
62
|
return [..._core__WEBPACK_IMPORTED_MODULE_5__/* .LOGIN_THEME_PAGE_IDS */ .hz];
|
|
62
63
|
case 'account':
|
|
63
64
|
return [..._core__WEBPACK_IMPORTED_MODULE_5__/* .ACCOUNT_THEME_PAGE_IDS */ .Hp];
|
|
65
|
+
case 'admin':
|
|
66
|
+
return [];
|
|
64
67
|
}
|
|
65
|
-
// @ts-ignore
|
|
66
68
|
(0,tsafe_assert__WEBPACK_IMPORTED_MODULE_3__/* .assert */ .v)(false);
|
|
67
69
|
})()
|
|
68
70
|
}).catch(() => {
|
package/package.json
CHANGED
package/src/bin/add-story.ts
CHANGED
|
@@ -26,8 +26,9 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
26
26
|
return buildContext.implementedThemeTypes.account.isImplemented;
|
|
27
27
|
case 'login':
|
|
28
28
|
return buildContext.implementedThemeTypes.login.isImplemented;
|
|
29
|
+
case 'admin':
|
|
30
|
+
return false;
|
|
29
31
|
}
|
|
30
|
-
// @ts-ignore
|
|
31
32
|
assert<Equals<typeof themeType, never>>(false);
|
|
32
33
|
});
|
|
33
34
|
|
|
@@ -57,8 +58,9 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
57
58
|
return [...LOGIN_THEME_PAGE_IDS];
|
|
58
59
|
case 'account':
|
|
59
60
|
return [...ACCOUNT_THEME_PAGE_IDS];
|
|
61
|
+
case 'admin':
|
|
62
|
+
return [];
|
|
60
63
|
}
|
|
61
|
-
// @ts-ignore
|
|
62
64
|
assert<Equals<typeof themeType, never>>(false);
|
|
63
65
|
})()
|
|
64
66
|
}).catch(() => {
|
package/src/bin/eject-page.ts
CHANGED
|
@@ -40,8 +40,9 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
40
40
|
return buildContext.implementedThemeTypes.account.isImplemented;
|
|
41
41
|
case 'login':
|
|
42
42
|
return buildContext.implementedThemeTypes.login.isImplemented;
|
|
43
|
+
case 'admin':
|
|
44
|
+
return false;
|
|
43
45
|
}
|
|
44
|
-
// @ts-ignore
|
|
45
46
|
assert<Equals<typeof themeType, never>>(false);
|
|
46
47
|
});
|
|
47
48
|
|
|
@@ -84,8 +85,9 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
84
85
|
];
|
|
85
86
|
case 'account':
|
|
86
87
|
return [templateValue, ...ACCOUNT_THEME_PAGE_IDS];
|
|
88
|
+
case 'admin':
|
|
89
|
+
return [];
|
|
87
90
|
}
|
|
88
|
-
// @ts-ignore
|
|
89
91
|
assert<Equals<typeof themeType, never>>(false);
|
|
90
92
|
})()
|
|
91
93
|
}).catch(() => {
|