keycloakify 10.0.0-rc.51 → 10.0.0-rc.52
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/538.index.js
CHANGED
@@ -570,7 +570,7 @@ async function generateKcGenTs(params) {
|
|
570
570
|
``,
|
571
571
|
`export type KcEnvName = ${buildContext.environmentVariables.length === 0 ? "never" : buildContext.environmentVariables.map(({ name }) => `"${name}"`).join(" | ")};`,
|
572
572
|
``,
|
573
|
-
`export const
|
573
|
+
`export const kcEnvNames: KcEnvName[] = [${buildContext.environmentVariables.map(({ name }) => `"${name}"`).join(", ")}];`,
|
574
574
|
``,
|
575
575
|
`export const kcEnvDefaults: Record<KcEnvName, string> = ${JSON.stringify(Object.fromEntries(buildContext.environmentVariables.map(({ name, default: defaultValue }) => [name, defaultValue])), null, 2)};`,
|
576
576
|
``,
|
package/package.json
CHANGED
@@ -46,7 +46,7 @@ export async function generateKcGenTs(params: {
|
|
46
46
|
``,
|
47
47
|
`export type KcEnvName = ${buildContext.environmentVariables.length === 0 ? "never" : buildContext.environmentVariables.map(({ name }) => `"${name}"`).join(" | ")};`,
|
48
48
|
``,
|
49
|
-
`export const
|
49
|
+
`export const kcEnvNames: KcEnvName[] = [${buildContext.environmentVariables.map(({ name }) => `"${name}"`).join(", ")}];`,
|
50
50
|
``,
|
51
51
|
`export const kcEnvDefaults: Record<KcEnvName, string> = ${JSON.stringify(
|
52
52
|
Object.fromEntries(
|
package/vite-plugin/index.js
CHANGED
@@ -5152,7 +5152,7 @@ async function generateKcGenTs(params) {
|
|
5152
5152
|
``,
|
5153
5153
|
`export type KcEnvName = ${buildContext.environmentVariables.length === 0 ? "never" : buildContext.environmentVariables.map(({ name }) => `"${name}"`).join(" | ")};`,
|
5154
5154
|
``,
|
5155
|
-
`export const
|
5155
|
+
`export const kcEnvNames: KcEnvName[] = [${buildContext.environmentVariables.map(({ name }) => `"${name}"`).join(", ")}];`,
|
5156
5156
|
``,
|
5157
5157
|
`export const kcEnvDefaults: Record<KcEnvName, string> = ${JSON.stringify(Object.fromEntries(buildContext.environmentVariables.map(({ name, default: defaultValue }) => [name, defaultValue])), null, 2)};`,
|
5158
5158
|
``,
|