keycloakify 11.3.31 → 11.3.32

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/786.index.js CHANGED
@@ -301,7 +301,12 @@ async function command(params) {
301
301
  ``,
302
302
  `export const kcEnvDefaults: Record<KcEnvName, string> = ${JSON.stringify(Object.fromEntries(buildContext.environmentVariables.map(({ name, default: defaultValue }) => [name, defaultValue])), null, 2)};`,
303
303
  ``,
304
- `type KcContext =`,
304
+ `/**`,
305
+ ` * NOTE: Do not import this type except maybe in your entrypoint. `,
306
+ ` * If you need to import the KcContext import it either from src/login/KcContext.ts or src/account/KcContext.ts.`,
307
+ ` * Depending on the theme type you are working on.`,
308
+ ` */`,
309
+ `export type KcContext =`,
305
310
  hasLoginTheme && ` | import("./login/KcContext").KcContext`,
306
311
  hasAccountTheme && ` | import("./account/KcContext").KcContext`,
307
312
  hasAdminTheme && ` | import("./admin/KcContext").KcContext`,
package/bin/921.index.js CHANGED
@@ -481,7 +481,12 @@ async function command(params) {
481
481
  ``,
482
482
  `export const kcEnvDefaults: Record<KcEnvName, string> = ${JSON.stringify(Object.fromEntries(buildContext.environmentVariables.map(({ name, default: defaultValue }) => [name, defaultValue])), null, 2)};`,
483
483
  ``,
484
- `type KcContext =`,
484
+ `/**`,
485
+ ` * NOTE: Do not import this type except maybe in your entrypoint. `,
486
+ ` * If you need to import the KcContext import it either from src/login/KcContext.ts or src/account/KcContext.ts.`,
487
+ ` * Depending on the theme type you are working on.`,
488
+ ` */`,
489
+ `export type KcContext =`,
485
490
  hasLoginTheme && ` | import("./login/KcContext").KcContext`,
486
491
  hasAccountTheme && ` | import("./account/KcContext").KcContext`,
487
492
  hasAdminTheme && ` | import("./admin/KcContext").KcContext`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.3.31",
3
+ "version": "11.3.32",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,7 +62,12 @@ export async function command(params: { buildContext: BuildContext }) {
62
62
  2
63
63
  )};`,
64
64
  ``,
65
- `type KcContext =`,
65
+ `/**`,
66
+ ` * NOTE: Do not import this type except maybe in your entrypoint. `,
67
+ ` * If you need to import the KcContext import it either from src/login/KcContext.ts or src/account/KcContext.ts.`,
68
+ ` * Depending on the theme type you are working on.`,
69
+ ` */`,
70
+ `export type KcContext =`,
66
71
  hasLoginTheme && ` | import("./login/KcContext").KcContext`,
67
72
  hasAccountTheme && ` | import("./account/KcContext").KcContext`,
68
73
  hasAdminTheme && ` | import("./admin/KcContext").KcContext`,
@@ -5592,7 +5592,12 @@ async function command(params) {
5592
5592
  ``,
5593
5593
  `export const kcEnvDefaults: Record<KcEnvName, string> = ${JSON.stringify(Object.fromEntries(buildContext.environmentVariables.map(({ name, default: defaultValue }) => [name, defaultValue])), null, 2)};`,
5594
5594
  ``,
5595
- `type KcContext =`,
5595
+ `/**`,
5596
+ ` * NOTE: Do not import this type except maybe in your entrypoint. `,
5597
+ ` * If you need to import the KcContext import it either from src/login/KcContext.ts or src/account/KcContext.ts.`,
5598
+ ` * Depending on the theme type you are working on.`,
5599
+ ` */`,
5600
+ `export type KcContext =`,
5596
5601
  hasLoginTheme && ` | import("./login/KcContext").KcContext`,
5597
5602
  hasAccountTheme && ` | import("./account/KcContext").KcContext`,
5598
5603
  hasAdminTheme && ` | import("./admin/KcContext").KcContext`,