keycloakify 11.4.5 → 11.5.1

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.
Files changed (44) hide show
  1. package/bin/375.index.js +4089 -0
  2. package/bin/{20.index.js → 490.index.js} +378 -56
  3. package/bin/{36.index.js → 503.index.js} +53 -2
  4. package/bin/{450.index.js → 525.index.js} +2 -4085
  5. package/bin/653.index.js +108 -110
  6. package/bin/682.index.js +1987 -0
  7. package/bin/735.index.js +107 -109
  8. package/bin/921.index.js +1 -1
  9. package/bin/main.js +8 -2
  10. package/bin/shared/constants.d.ts +3 -0
  11. package/bin/shared/constants.js +3 -0
  12. package/bin/shared/constants.js.map +1 -1
  13. package/bin/start-keycloak/getSupportedDockerImageTags.d.ts +8 -0
  14. package/bin/start-keycloak/realmConfig/ParsedRealmJson.d.ts +45 -0
  15. package/bin/start-keycloak/realmConfig/defaultConfig/defaultConfig.d.ts +8 -0
  16. package/bin/start-keycloak/realmConfig/defaultConfig/index.d.ts +1 -0
  17. package/bin/start-keycloak/realmConfig/dumpContainerConfig.d.ts +9 -0
  18. package/bin/start-keycloak/realmConfig/index.d.ts +1 -0
  19. package/bin/start-keycloak/realmConfig/prepareRealmConfig.d.ts +15 -0
  20. package/bin/start-keycloak/realmConfig/realmConfig.d.ts +16 -0
  21. package/package.json +31 -14
  22. package/src/bin/shared/constants.ts +6 -0
  23. package/src/bin/start-keycloak/getSupportedDockerImageTags.ts +230 -0
  24. package/src/bin/start-keycloak/keycloakify-logging-1.0.3.jar +0 -0
  25. package/src/bin/start-keycloak/realmConfig/ParsedRealmJson.ts +136 -0
  26. package/src/bin/start-keycloak/realmConfig/defaultConfig/defaultConfig.ts +75 -0
  27. package/src/bin/start-keycloak/realmConfig/defaultConfig/index.ts +1 -0
  28. package/src/bin/start-keycloak/{myrealm-realm-18.json → realmConfig/defaultConfig/realm-kc-18.json} +123 -60
  29. package/src/bin/start-keycloak/{myrealm-realm-19.json → realmConfig/defaultConfig/realm-kc-19.json} +81 -41
  30. package/src/bin/start-keycloak/{myrealm-realm-20.json → realmConfig/defaultConfig/realm-kc-20.json} +83 -42
  31. package/src/bin/start-keycloak/{myrealm-realm-21.json → realmConfig/defaultConfig/realm-kc-21.json} +58 -17
  32. package/src/bin/start-keycloak/{myrealm-realm-23.json → realmConfig/defaultConfig/realm-kc-23.json} +64 -20
  33. package/src/bin/start-keycloak/{myrealm-realm-24.json → realmConfig/defaultConfig/realm-kc-24.json} +63 -19
  34. package/src/bin/start-keycloak/{myrealm-realm-25.json → realmConfig/defaultConfig/realm-kc-25.json} +75 -20
  35. package/src/bin/start-keycloak/{myrealm-realm-26.json → realmConfig/defaultConfig/realm-kc-26.json} +103 -19
  36. package/src/bin/start-keycloak/realmConfig/dumpContainerConfig.ts +194 -0
  37. package/src/bin/start-keycloak/realmConfig/index.ts +1 -0
  38. package/src/bin/start-keycloak/realmConfig/prepareRealmConfig.ts +365 -0
  39. package/src/bin/start-keycloak/realmConfig/realmConfig.ts +159 -0
  40. package/src/bin/start-keycloak/start-keycloak.ts +160 -184
  41. package/src/bin/start-keycloak/startViteDevServer.ts +1 -0
  42. package/vite-plugin/index.js +6 -0
  43. package/bin/392.index.js +0 -740
  44. package/bin/932.index.js +0 -327
package/bin/735.index.js CHANGED
@@ -55,7 +55,7 @@ __webpack_require__.r(__webpack_exports__);
55
55
  /* harmony import */ var zod__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(52300);
56
56
  /* harmony import */ var tsafe_assert__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(29041);
57
57
  /* harmony import */ var tsafe_id__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(38469);
58
- /* harmony import */ var _tools_npmInstall__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(63046);
58
+ /* harmony import */ var _tools_npmInstall__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(50030);
59
59
  /* harmony import */ var _copyBoilerplate__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81434);
60
60
 
61
61
 
@@ -445,46 +445,27 @@ function rmSync(dirPath, options) {
445
445
 
446
446
  /***/ }),
447
447
 
448
- /***/ 63046:
448
+ /***/ 50030:
449
449
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
450
450
 
451
-
452
- // EXPORTS
453
- __webpack_require__.d(__webpack_exports__, {
454
- "c": () => (/* binding */ npmInstall)
455
- });
456
-
457
- // EXTERNAL MODULE: external "fs"
458
- var external_fs_ = __webpack_require__(57147);
459
- // EXTERNAL MODULE: external "path"
460
- var external_path_ = __webpack_require__(71017);
461
- // EXTERNAL MODULE: external "child_process"
462
- var external_child_process_ = __webpack_require__(32081);
463
- // EXTERNAL MODULE: ./node_modules/chalk/source/index.js
464
- var source = __webpack_require__(78818);
465
- var source_default = /*#__PURE__*/__webpack_require__.n(source);
466
- // EXTERNAL MODULE: ./node_modules/zod/lib/index.mjs
467
- var lib = __webpack_require__(52300);
468
- // EXTERNAL MODULE: ./node_modules/tsafe/esm/assert.mjs + 1 modules
469
- var assert = __webpack_require__(29041);
470
- // EXTERNAL MODULE: ./node_modules/tsafe/esm/id.mjs
471
- var id = __webpack_require__(38469);
472
- ;// CONCATENATED MODULE: ./node_modules/tsafe/esm/objectKeys.mjs
473
- /** https://docs.tsafe.dev/objectKeys */
474
- function objectKeys(o) {
475
- return Object.keys(o);
476
- }
477
-
478
-
479
- //# sourceMappingURL=objectKeys.mjs.map
480
-
481
- // EXTERNAL MODULE: ./dist/bin/tools/getAbsoluteAndInOsFormatPath.js
482
- var getAbsoluteAndInOsFormatPath = __webpack_require__(84794);
483
- // EXTERNAL MODULE: ./node_modules/tsafe/esm/exclude.mjs
484
- var exclude = __webpack_require__(83101);
485
- // EXTERNAL MODULE: ./dist/bin/tools/fs.rmSync.js
486
- var fs_rmSync = __webpack_require__(89693);
487
- ;// CONCATENATED MODULE: ./dist/bin/tools/npmInstall.js
451
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
452
+ /* harmony export */ "c": () => (/* binding */ npmInstall)
453
+ /* harmony export */ });
454
+ /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57147);
455
+ /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
456
+ /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(71017);
457
+ /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
458
+ /* harmony import */ var child_process__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(32081);
459
+ /* harmony import */ var child_process__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(child_process__WEBPACK_IMPORTED_MODULE_2__);
460
+ /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(78818);
461
+ /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_3__);
462
+ /* harmony import */ var zod__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(52300);
463
+ /* harmony import */ var tsafe_assert__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29041);
464
+ /* harmony import */ var tsafe_id__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(38469);
465
+ /* harmony import */ var tsafe_objectKeys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23483);
466
+ /* harmony import */ var _getAbsoluteAndInOsFormatPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84794);
467
+ /* harmony import */ var tsafe_exclude__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83101);
468
+ /* harmony import */ var _fs_rmSync__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(89693);
488
469
 
489
470
 
490
471
 
@@ -522,8 +503,8 @@ function npmInstall(params) {
522
503
  }
523
504
  ];
524
505
  for (const packageManager of packageMangers) {
525
- if (external_fs_.existsSync((0,external_path_.join)(packageJsonDirPath, packageManager.lockFileBasename)) ||
526
- external_fs_.existsSync((0,external_path_.join)(process.cwd(), packageManager.lockFileBasename))) {
506
+ if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, packageManager.lockFileBasename)) ||
507
+ fs__WEBPACK_IMPORTED_MODULE_0__.existsSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(process.cwd(), packageManager.lockFileBasename))) {
527
508
  return packageManager.binName;
528
509
  }
529
510
  }
@@ -538,7 +519,7 @@ function npmInstall(params) {
538
519
  if (garronejLinkInfos === undefined) {
539
520
  break install_without_breaking_links;
540
521
  }
541
- console.log(source_default().green("Installing in a way that won't break the links..."));
522
+ console.log(chalk__WEBPACK_IMPORTED_MODULE_3___default().green("Installing in a way that won't break the links..."));
542
523
  installWithoutBreakingLinks({
543
524
  packageJsonDirPath,
544
525
  garronejLinkInfos
@@ -546,19 +527,19 @@ function npmInstall(params) {
546
527
  return;
547
528
  }
548
529
  try {
549
- external_child_process_.execSync(`${packageManagerBinName} install`, {
530
+ child_process__WEBPACK_IMPORTED_MODULE_2__.execSync(`${packageManagerBinName} install`, {
550
531
  cwd: packageJsonDirPath,
551
532
  stdio: "inherit"
552
533
  });
553
534
  }
554
535
  catch (_a) {
555
- console.log(source_default().yellow(`\`${packageManagerBinName} install\` failed, continuing anyway...`));
536
+ console.log(chalk__WEBPACK_IMPORTED_MODULE_3___default().yellow(`\`${packageManagerBinName} install\` failed, continuing anyway...`));
556
537
  }
557
538
  }
558
539
  function getGarronejLinkInfos(params) {
559
540
  const { packageJsonDirPath } = params;
560
- const nodeModuleDirPath = (0,external_path_.join)(packageJsonDirPath, "node_modules");
561
- if (!external_fs_.existsSync(nodeModuleDirPath)) {
541
+ const nodeModuleDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, "node_modules");
542
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(nodeModuleDirPath)) {
562
543
  return undefined;
563
544
  }
564
545
  const linkedModuleNames = [];
@@ -566,7 +547,7 @@ function getGarronejLinkInfos(params) {
566
547
  const getIsLinkedByGarronejScript = (path) => {
567
548
  let realPath;
568
549
  try {
569
- realPath = external_fs_.readlinkSync(path);
550
+ realPath = fs__WEBPACK_IMPORTED_MODULE_0__.readlinkSync(path);
570
551
  }
571
552
  catch (_a) {
572
553
  return false;
@@ -579,17 +560,17 @@ function getGarronejLinkInfos(params) {
579
560
  if (yarnHomeDirPath !== undefined) {
580
561
  break set_yarnHomeDirPath;
581
562
  }
582
- const [firstElement] = (0,getAbsoluteAndInOsFormatPath/* getAbsoluteAndInOsFormatPath */.c)({
563
+ const [firstElement] = (0,_getAbsoluteAndInOsFormatPath__WEBPACK_IMPORTED_MODULE_5__/* .getAbsoluteAndInOsFormatPath */ .c)({
583
564
  pathIsh: realPath,
584
- cwd: (0,external_path_.dirname)(path)
565
+ cwd: (0,path__WEBPACK_IMPORTED_MODULE_1__.dirname)(path)
585
566
  }).split(".yarn_home");
586
- yarnHomeDirPath = (0,external_path_.join)(firstElement, ".yarn_home");
567
+ yarnHomeDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(firstElement, ".yarn_home");
587
568
  }
588
569
  return true;
589
570
  };
590
- for (const basename of external_fs_.readdirSync(nodeModuleDirPath)) {
591
- const path = (0,external_path_.join)(nodeModuleDirPath, basename);
592
- if (external_fs_.lstatSync(path).isSymbolicLink()) {
571
+ for (const basename of fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(nodeModuleDirPath)) {
572
+ const path = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModuleDirPath, basename);
573
+ if (fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(path).isSymbolicLink()) {
593
574
  if (basename.startsWith("@")) {
594
575
  return undefined;
595
576
  }
@@ -599,13 +580,13 @@ function getGarronejLinkInfos(params) {
599
580
  linkedModuleNames.push(basename);
600
581
  continue;
601
582
  }
602
- if (!external_fs_.lstatSync(path).isDirectory()) {
583
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(path).isDirectory()) {
603
584
  continue;
604
585
  }
605
586
  if (basename.startsWith("@")) {
606
- for (const subBasename of external_fs_.readdirSync(path)) {
607
- const subPath = (0,external_path_.join)(path, subBasename);
608
- if (!external_fs_.lstatSync(subPath).isSymbolicLink()) {
587
+ for (const subBasename of fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(path)) {
588
+ const subPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(path, subBasename);
589
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(subPath).isSymbolicLink()) {
609
590
  continue;
610
591
  }
611
592
  if (!getIsLinkedByGarronejScript(subPath)) {
@@ -623,17 +604,17 @@ function getGarronejLinkInfos(params) {
623
604
  function installWithoutBreakingLinks(params) {
624
605
  const { packageJsonDirPath, garronejLinkInfos: { linkedModuleNames, yarnHomeDirPath } } = params;
625
606
  const parsedPackageJson = (() => {
626
- const packageJsonFilePath = (0,external_path_.join)(packageJsonDirPath, "package.json");
607
+ const packageJsonFilePath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, "package.json");
627
608
  const zParsedPackageJson = (() => {
628
- const zTargetType = lib.z.object({
629
- scripts: lib.z.record(lib.z.string()).optional()
609
+ const zTargetType = zod__WEBPACK_IMPORTED_MODULE_7__.z.object({
610
+ scripts: zod__WEBPACK_IMPORTED_MODULE_7__.z.record(zod__WEBPACK_IMPORTED_MODULE_7__.z.string()).optional()
630
611
  });
631
- assert/* assert */.h;
632
- return (0,id.id)(zTargetType);
612
+ tsafe_assert__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .h;
613
+ return (0,tsafe_id__WEBPACK_IMPORTED_MODULE_8__.id)(zTargetType);
633
614
  })();
634
- const parsedPackageJson = JSON.parse(external_fs_.readFileSync(packageJsonFilePath).toString("utf8"));
615
+ const parsedPackageJson = JSON.parse(fs__WEBPACK_IMPORTED_MODULE_0__.readFileSync(packageJsonFilePath).toString("utf8"));
635
616
  zParsedPackageJson.parse(parsedPackageJson);
636
- (0,assert/* assert */.h)((0,assert.is)(parsedPackageJson));
617
+ (0,tsafe_assert__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .h)((0,tsafe_assert__WEBPACK_IMPORTED_MODULE_4__.is)(parsedPackageJson));
637
618
  return parsedPackageJson;
638
619
  })();
639
620
  const isImplementedScriptByName = {
@@ -644,7 +625,7 @@ function installWithoutBreakingLinks(params) {
644
625
  if (parsedPackageJson.scripts === undefined) {
645
626
  break delete_postinstall_script;
646
627
  }
647
- for (const scriptName of objectKeys(isImplementedScriptByName)) {
628
+ for (const scriptName of (0,tsafe_objectKeys__WEBPACK_IMPORTED_MODULE_9__/* .objectKeys */ .Y)(isImplementedScriptByName)) {
648
629
  if (parsedPackageJson.scripts[scriptName] === undefined) {
649
630
  continue;
650
631
  }
@@ -652,15 +633,15 @@ function installWithoutBreakingLinks(params) {
652
633
  delete parsedPackageJson.scripts[scriptName];
653
634
  }
654
635
  }
655
- const tmpProjectDirPath = (0,external_path_.join)(yarnHomeDirPath, "tmpProject");
656
- if (external_fs_.existsSync(tmpProjectDirPath)) {
657
- (0,fs_rmSync/* rmSync */.a)(tmpProjectDirPath, { recursive: true });
636
+ const tmpProjectDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(yarnHomeDirPath, "tmpProject");
637
+ if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(tmpProjectDirPath)) {
638
+ (0,_fs_rmSync__WEBPACK_IMPORTED_MODULE_6__/* .rmSync */ .a)(tmpProjectDirPath, { recursive: true });
658
639
  }
659
- external_fs_.mkdirSync(tmpProjectDirPath, { recursive: true });
660
- external_fs_.writeFileSync((0,external_path_.join)(tmpProjectDirPath, "package.json"), JSON.stringify(parsedPackageJson, undefined, 4));
640
+ fs__WEBPACK_IMPORTED_MODULE_0__.mkdirSync(tmpProjectDirPath, { recursive: true });
641
+ fs__WEBPACK_IMPORTED_MODULE_0__.writeFileSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(tmpProjectDirPath, "package.json"), JSON.stringify(parsedPackageJson, undefined, 4));
661
642
  const YARN_LOCK = "yarn.lock";
662
- external_fs_.copyFileSync((0,external_path_.join)(packageJsonDirPath, YARN_LOCK), (0,external_path_.join)(tmpProjectDirPath, YARN_LOCK));
663
- external_child_process_.execSync(`yarn install`, {
643
+ fs__WEBPACK_IMPORTED_MODULE_0__.copyFileSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, YARN_LOCK), (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(tmpProjectDirPath, YARN_LOCK));
644
+ child_process__WEBPACK_IMPORTED_MODULE_2__.execSync(`yarn install`, {
664
645
  cwd: tmpProjectDirPath,
665
646
  stdio: "inherit"
666
647
  });
@@ -669,18 +650,18 @@ function installWithoutBreakingLinks(params) {
669
650
  {
670
651
  const { getAreSameVersions } = (() => {
671
652
  const zParsedPackageJson = (() => {
672
- const zTargetType = lib.z.object({
673
- version: lib.z.string()
653
+ const zTargetType = zod__WEBPACK_IMPORTED_MODULE_7__.z.object({
654
+ version: zod__WEBPACK_IMPORTED_MODULE_7__.z.string()
674
655
  });
675
- assert/* assert */.h;
676
- return (0,id.id)(zTargetType);
656
+ tsafe_assert__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .h;
657
+ return (0,tsafe_id__WEBPACK_IMPORTED_MODULE_8__.id)(zTargetType);
677
658
  })();
678
659
  function readVersion(params) {
679
660
  const { moduleDirPath } = params;
680
- const packageJsonFilePath = (0,external_path_.join)(moduleDirPath, "package.json");
681
- const packageJson = JSON.parse(external_fs_.readFileSync(packageJsonFilePath).toString("utf8"));
661
+ const packageJsonFilePath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(moduleDirPath, "package.json");
662
+ const packageJson = JSON.parse(fs__WEBPACK_IMPORTED_MODULE_0__.readFileSync(packageJsonFilePath).toString("utf8"));
682
663
  zParsedPackageJson.parse(packageJson);
683
- (0,assert/* assert */.h)((0,assert.is)(packageJson));
664
+ (0,tsafe_assert__WEBPACK_IMPORTED_MODULE_4__/* .assert */ .h)((0,tsafe_assert__WEBPACK_IMPORTED_MODULE_4__.is)(packageJson));
684
665
  return packageJson.version;
685
666
  }
686
667
  function getAreSameVersions(params) {
@@ -690,44 +671,44 @@ function installWithoutBreakingLinks(params) {
690
671
  }
691
672
  return { getAreSameVersions };
692
673
  })();
693
- const nodeModulesDirPath_tmpProject = (0,external_path_.join)(tmpProjectDirPath, "node_modules");
694
- const nodeModulesDirPath = (0,external_path_.join)(packageJsonDirPath, "node_modules");
695
- const modulePaths = external_fs_.readdirSync(nodeModulesDirPath_tmpProject)
674
+ const nodeModulesDirPath_tmpProject = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(tmpProjectDirPath, "node_modules");
675
+ const nodeModulesDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, "node_modules");
676
+ const modulePaths = fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(nodeModulesDirPath_tmpProject)
696
677
  .map(basename => {
697
678
  if (basename.startsWith(".")) {
698
679
  return undefined;
699
680
  }
700
- const path = (0,external_path_.join)(nodeModulesDirPath_tmpProject, basename);
681
+ const path = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath_tmpProject, basename);
701
682
  if (basename.startsWith("@")) {
702
- return external_fs_.readdirSync(path)
683
+ return fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(path)
703
684
  .map(subBasename => {
704
685
  if (subBasename.startsWith(".")) {
705
686
  return undefined;
706
687
  }
707
- const subPath = (0,external_path_.join)(path, subBasename);
708
- if (!external_fs_.lstatSync(subPath).isDirectory()) {
688
+ const subPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(path, subBasename);
689
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(subPath).isDirectory()) {
709
690
  return undefined;
710
691
  }
711
692
  return {
712
693
  moduleName: `${basename}/${subBasename}`,
713
694
  moduleDirPath_tmpProject: subPath,
714
- moduleDirPath: (0,external_path_.join)(nodeModulesDirPath, basename, subBasename)
695
+ moduleDirPath: (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath, basename, subBasename)
715
696
  };
716
697
  })
717
- .filter((0,exclude/* exclude */.D)(undefined));
698
+ .filter((0,tsafe_exclude__WEBPACK_IMPORTED_MODULE_10__/* .exclude */ .D)(undefined));
718
699
  }
719
- if (!external_fs_.lstatSync(path).isDirectory()) {
700
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.lstatSync(path).isDirectory()) {
720
701
  return undefined;
721
702
  }
722
703
  return [
723
704
  {
724
705
  moduleName: basename,
725
706
  moduleDirPath_tmpProject: path,
726
- moduleDirPath: (0,external_path_.join)(nodeModulesDirPath, basename)
707
+ moduleDirPath: (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath, basename)
727
708
  }
728
709
  ];
729
710
  })
730
- .filter((0,exclude/* exclude */.D)(undefined))
711
+ .filter((0,tsafe_exclude__WEBPACK_IMPORTED_MODULE_10__/* .exclude */ .D)(undefined))
731
712
  .flat();
732
713
  for (const { moduleName, moduleDirPath, moduleDirPath_tmpProject } of modulePaths) {
733
714
  if (linkedModuleNames.includes(moduleName)) {
@@ -735,7 +716,7 @@ function installWithoutBreakingLinks(params) {
735
716
  }
736
717
  let doesTargetModuleExist = false;
737
718
  skip_condition: {
738
- if (!external_fs_.existsSync(moduleDirPath)) {
719
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(moduleDirPath)) {
739
720
  break skip_condition;
740
721
  }
741
722
  doesTargetModuleExist = true;
@@ -749,39 +730,39 @@ function installWithoutBreakingLinks(params) {
749
730
  continue;
750
731
  }
751
732
  if (doesTargetModuleExist) {
752
- (0,fs_rmSync/* rmSync */.a)(moduleDirPath, { recursive: true });
733
+ (0,_fs_rmSync__WEBPACK_IMPORTED_MODULE_6__/* .rmSync */ .a)(moduleDirPath, { recursive: true });
753
734
  }
754
735
  {
755
- const dirPath = (0,external_path_.dirname)(moduleDirPath);
756
- if (!external_fs_.existsSync(dirPath)) {
757
- external_fs_.mkdirSync(dirPath, { recursive: true });
736
+ const dirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.dirname)(moduleDirPath);
737
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(dirPath)) {
738
+ fs__WEBPACK_IMPORTED_MODULE_0__.mkdirSync(dirPath, { recursive: true });
758
739
  }
759
740
  }
760
- external_fs_.renameSync(moduleDirPath_tmpProject, moduleDirPath);
741
+ fs__WEBPACK_IMPORTED_MODULE_0__.renameSync(moduleDirPath_tmpProject, moduleDirPath);
761
742
  }
762
743
  move_bin: {
763
- const binDirPath_tmpProject = (0,external_path_.join)(nodeModulesDirPath_tmpProject, ".bin");
764
- const binDirPath = (0,external_path_.join)(nodeModulesDirPath, ".bin");
765
- if (!external_fs_.existsSync(binDirPath_tmpProject)) {
744
+ const binDirPath_tmpProject = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath_tmpProject, ".bin");
745
+ const binDirPath = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(nodeModulesDirPath, ".bin");
746
+ if (!fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(binDirPath_tmpProject)) {
766
747
  break move_bin;
767
748
  }
768
- for (const basename of external_fs_.readdirSync(binDirPath_tmpProject)) {
769
- const path_tmpProject = (0,external_path_.join)(binDirPath_tmpProject, basename);
770
- const path = (0,external_path_.join)(binDirPath, basename);
771
- if (external_fs_.existsSync(path)) {
749
+ for (const basename of fs__WEBPACK_IMPORTED_MODULE_0__.readdirSync(binDirPath_tmpProject)) {
750
+ const path_tmpProject = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(binDirPath_tmpProject, basename);
751
+ const path = (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(binDirPath, basename);
752
+ if (fs__WEBPACK_IMPORTED_MODULE_0__.existsSync(path)) {
772
753
  continue;
773
754
  }
774
- external_fs_.renameSync(path_tmpProject, path);
755
+ fs__WEBPACK_IMPORTED_MODULE_0__.renameSync(path_tmpProject, path);
775
756
  }
776
757
  }
777
758
  }
778
- external_fs_.cpSync((0,external_path_.join)(tmpProjectDirPath, YARN_LOCK), (0,external_path_.join)(packageJsonDirPath, YARN_LOCK));
779
- (0,fs_rmSync/* rmSync */.a)(tmpProjectDirPath, { recursive: true });
780
- for (const scriptName of objectKeys(isImplementedScriptByName)) {
759
+ fs__WEBPACK_IMPORTED_MODULE_0__.cpSync((0,path__WEBPACK_IMPORTED_MODULE_1__.join)(tmpProjectDirPath, YARN_LOCK), (0,path__WEBPACK_IMPORTED_MODULE_1__.join)(packageJsonDirPath, YARN_LOCK));
760
+ (0,_fs_rmSync__WEBPACK_IMPORTED_MODULE_6__/* .rmSync */ .a)(tmpProjectDirPath, { recursive: true });
761
+ for (const scriptName of (0,tsafe_objectKeys__WEBPACK_IMPORTED_MODULE_9__/* .objectKeys */ .Y)(isImplementedScriptByName)) {
781
762
  if (!isImplementedScriptByName[scriptName]) {
782
763
  continue;
783
764
  }
784
- external_child_process_.execSync(`yarn run ${scriptName}`, {
765
+ child_process__WEBPACK_IMPORTED_MODULE_2__.execSync(`yarn run ${scriptName}`, {
785
766
  cwd: packageJsonDirPath,
786
767
  stdio: "inherit"
787
768
  });
@@ -789,6 +770,23 @@ function installWithoutBreakingLinks(params) {
789
770
  }
790
771
  //# sourceMappingURL=npmInstall.js.map
791
772
 
773
+ /***/ }),
774
+
775
+ /***/ 23483:
776
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
777
+
778
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
779
+ /* harmony export */ "Y": () => (/* binding */ objectKeys)
780
+ /* harmony export */ });
781
+ /** https://docs.tsafe.dev/objectKeys */
782
+ function objectKeys(o) {
783
+ return Object.keys(o);
784
+ }
785
+
786
+
787
+ //# sourceMappingURL=objectKeys.mjs.map
788
+
789
+
792
790
  /***/ })
793
791
 
794
792
  };
package/bin/921.index.js CHANGED
@@ -160,7 +160,7 @@ async function command(params) {
160
160
  break;
161
161
  case "Single-Page":
162
162
  {
163
- const { initializeAccountTheme_singlePage } = await Promise.all(/* import() */[__webpack_require__.e(805), __webpack_require__.e(450), __webpack_require__.e(735)]).then(__webpack_require__.bind(__webpack_require__, 84735));
163
+ const { initializeAccountTheme_singlePage } = await Promise.all(/* import() */[__webpack_require__.e(805), __webpack_require__.e(525), __webpack_require__.e(375), __webpack_require__.e(735)]).then(__webpack_require__.bind(__webpack_require__, 84735));
164
164
  await initializeAccountTheme_singlePage({
165
165
  accountThemeSrcDirPath,
166
166
  buildContext
package/bin/main.js CHANGED
@@ -12,13 +12,16 @@
12
12
  /* harmony export */ "PC": () => (/* binding */ KEYCLOAK_THEME),
13
13
  /* harmony export */ "Sz": () => (/* binding */ KEYCLOAKIFY_SPA_DEV_SERVER_PORT),
14
14
  /* harmony export */ "TE": () => (/* binding */ VITE_PLUGIN_SUB_SCRIPTS_ENV_NAMES),
15
+ /* harmony export */ "Tr": () => (/* binding */ KEYCLOAKIFY_LOGIN_JAR_BASENAME),
15
16
  /* harmony export */ "XV": () => (/* binding */ LOGIN_THEME_PAGE_IDS),
16
17
  /* harmony export */ "_L": () => (/* binding */ FALLBACK_LANGUAGE_TAG),
17
18
  /* harmony export */ "_S": () => (/* binding */ CUSTOM_HANDLER_ENV_NAMES),
18
19
  /* harmony export */ "ac": () => (/* binding */ BUILD_FOR_KEYCLOAK_MAJOR_VERSION_ENV_NAME),
20
+ /* harmony export */ "jp": () => (/* binding */ TEST_APP_URL),
19
21
  /* harmony export */ "sv": () => (/* binding */ CONTAINER_NAME),
20
22
  /* harmony export */ "yV": () => (/* binding */ ACCOUNT_THEME_PAGE_IDS)
21
23
  /* harmony export */ });
24
+ /* unused harmony export KEYCLOAKIFY_LOGGING_VERSION */
22
25
  const WELL_KNOWN_DIRECTORY_BASE_NAME = {
23
26
  KEYCLOAKIFY_DEV_RESOURCES: "keycloakify-dev-resources",
24
27
  RESOURCES_COMMON: "resources-common",
@@ -86,6 +89,9 @@ const CUSTOM_HANDLER_ENV_NAMES = {
86
89
  };
87
90
  const KEYCLOAK_THEME = "keycloak-theme";
88
91
  const KEYCLOAKIFY_SPA_DEV_SERVER_PORT = "KEYCLOAKIFY_SPA_DEV_SERVER_PORT";
92
+ const KEYCLOAKIFY_LOGGING_VERSION = "1.0.3";
93
+ const KEYCLOAKIFY_LOGIN_JAR_BASENAME = `keycloakify-logging-${KEYCLOAKIFY_LOGGING_VERSION}.jar`;
94
+ const TEST_APP_URL = "https://my-theme.keycloakify.dev";
89
95
  //# sourceMappingURL=constants.js.map
90
96
 
91
97
  /***/ }),
@@ -16286,7 +16292,7 @@ program
16286
16292
  .task({
16287
16293
  skip,
16288
16294
  handler: async ({ projectDirPath, keycloakVersion, port, realmJsonFilePath }) => {
16289
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(805), __nccwpck_require__.e(450), __nccwpck_require__.e(33), __nccwpck_require__.e(36), __nccwpck_require__.e(20), __nccwpck_require__.e(392)]).then(__nccwpck_require__.bind(__nccwpck_require__, 18392));
16295
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(805), __nccwpck_require__.e(525), __nccwpck_require__.e(33), __nccwpck_require__.e(503), __nccwpck_require__.e(682)]).then(__nccwpck_require__.bind(__nccwpck_require__, 6682));
16290
16296
  validate_keycloak_version: {
16291
16297
  if (keycloakVersion === undefined) {
16292
16298
  break validate_keycloak_version;
@@ -16355,7 +16361,7 @@ program
16355
16361
  .task({
16356
16362
  skip,
16357
16363
  handler: async ({ projectDirPath }) => {
16358
- const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(805), __nccwpck_require__.e(450), __nccwpck_require__.e(33), __nccwpck_require__.e(20), __nccwpck_require__.e(932)]).then(__nccwpck_require__.bind(__nccwpck_require__, 16932));
16364
+ const { command } = await Promise.all(/* import() */[__nccwpck_require__.e(805), __nccwpck_require__.e(525), __nccwpck_require__.e(375), __nccwpck_require__.e(33), __nccwpck_require__.e(490)]).then(__nccwpck_require__.bind(__nccwpck_require__, 23490));
16359
16365
  await command({ buildContext: getBuildContext({ projectDirPath }) });
16360
16366
  }
16361
16367
  });
@@ -23,3 +23,6 @@ export declare const CUSTOM_HANDLER_ENV_NAMES: {
23
23
  };
24
24
  export declare const KEYCLOAK_THEME = "keycloak-theme";
25
25
  export declare const KEYCLOAKIFY_SPA_DEV_SERVER_PORT = "KEYCLOAKIFY_SPA_DEV_SERVER_PORT";
26
+ export declare const KEYCLOAKIFY_LOGGING_VERSION = "1.0.3";
27
+ export declare const KEYCLOAKIFY_LOGIN_JAR_BASENAME: string;
28
+ export declare const TEST_APP_URL = "https://my-theme.keycloakify.dev";
@@ -65,4 +65,7 @@ export const CUSTOM_HANDLER_ENV_NAMES = {
65
65
  };
66
66
  export const KEYCLOAK_THEME = "keycloak-theme";
67
67
  export const KEYCLOAKIFY_SPA_DEV_SERVER_PORT = "KEYCLOAKIFY_SPA_DEV_SERVER_PORT";
68
+ export const KEYCLOAKIFY_LOGGING_VERSION = "1.0.3";
69
+ export const KEYCLOAKIFY_LOGIN_JAR_BASENAME = `keycloakify-logging-${KEYCLOAKIFY_LOGGING_VERSION}.jar`;
70
+ export const TEST_APP_URL = "https://my-theme.keycloakify.dev";
68
71
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/bin/shared/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC1C,yBAAyB,EAAE,2BAA2B;IACtD,gBAAgB,EAAE,kBAAkB;IACpC,IAAI,EAAE,MAAM;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAU,CAAC;AAIlE,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC7C,qBAAqB,EAAE,mCAAmC;IAC1D,mBAAmB,EAAE,iCAAiC;IACtD,wBAAwB,EAAE,sCAAsC;CAC1D,CAAC;AAEX,MAAM,CAAC,MAAM,yCAAyC,GAClD,8CAA8C,CAAC;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,WAAW;IACX,oBAAoB;IACpB,oBAAoB;IACpB,2BAA2B;IAC3B,uBAAuB;IACvB,cAAc;IACd,UAAU;IACV,WAAW;IACX,0BAA0B;IAC1B,wBAAwB;IACxB,WAAW;IACX,0CAA0C;IAC1C,uBAAuB;IACvB,eAAe;IACf,0BAA0B;IAC1B,2BAA2B;IAC3B,4BAA4B;IAC5B,0BAA0B;IAC1B,wBAAwB;IACxB,uBAAuB;IACvB,oBAAoB;IACpB,6BAA6B;IAC7B,kBAAkB;IAClB,0BAA0B;IAC1B,oBAAoB;IACpB,uBAAuB;IACvB,UAAU;IACV,4BAA4B;IAC5B,yBAAyB;IACzB,sCAAsC;IACtC,qCAAqC;IACrC,qBAAqB;IACrB,qBAAqB;IACrB,oBAAoB;IACpB,6CAA6C;IAC7C,qCAAqC;CAC/B,CAAC;AAEX,MAAM,CAAC,MAAM,sBAAsB,GAAG;IAClC,cAAc;IACd,aAAa;IACb,cAAc;IACd,UAAU;IACV,kBAAkB;IAClB,SAAS;IACT,uBAAuB;CACjB,CAAC;AAKX,MAAM,CAAC,MAAM,cAAc,GAAG,sBAAsB,CAAC;AAErD,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACpC,YAAY,EAAE,0BAA0B;IACxC,aAAa,EAAE,2BAA2B;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,+BAA+B,GAAG,iCAAiC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/bin/shared/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC1C,yBAAyB,EAAE,2BAA2B;IACtD,gBAAgB,EAAE,kBAAkB;IACpC,IAAI,EAAE,MAAM;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAU,CAAC;AAIlE,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC7C,qBAAqB,EAAE,mCAAmC;IAC1D,mBAAmB,EAAE,iCAAiC;IACtD,wBAAwB,EAAE,sCAAsC;CAC1D,CAAC;AAEX,MAAM,CAAC,MAAM,yCAAyC,GAClD,8CAA8C,CAAC;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,WAAW;IACX,oBAAoB;IACpB,oBAAoB;IACpB,2BAA2B;IAC3B,uBAAuB;IACvB,cAAc;IACd,UAAU;IACV,WAAW;IACX,0BAA0B;IAC1B,wBAAwB;IACxB,WAAW;IACX,0CAA0C;IAC1C,uBAAuB;IACvB,eAAe;IACf,0BAA0B;IAC1B,2BAA2B;IAC3B,4BAA4B;IAC5B,0BAA0B;IAC1B,wBAAwB;IACxB,uBAAuB;IACvB,oBAAoB;IACpB,6BAA6B;IAC7B,kBAAkB;IAClB,0BAA0B;IAC1B,oBAAoB;IACpB,uBAAuB;IACvB,UAAU;IACV,4BAA4B;IAC5B,yBAAyB;IACzB,sCAAsC;IACtC,qCAAqC;IACrC,qBAAqB;IACrB,qBAAqB;IACrB,oBAAoB;IACpB,6CAA6C;IAC7C,qCAAqC;CAC/B,CAAC;AAEX,MAAM,CAAC,MAAM,sBAAsB,GAAG;IAClC,cAAc;IACd,aAAa;IACb,cAAc;IACd,UAAU;IACV,kBAAkB;IAClB,SAAS;IACT,uBAAuB;CACjB,CAAC;AAKX,MAAM,CAAC,MAAM,cAAc,GAAG,sBAAsB,CAAC;AAErD,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAE1C,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACpC,YAAY,EAAE,0BAA0B;IACxC,aAAa,EAAE,2BAA2B;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,+BAA+B,GAAG,iCAAiC,CAAC;AAEjF,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAEnD,MAAM,CAAC,MAAM,8BAA8B,GAAG,uBAAuB,2BAA2B,MAAM,CAAC;AAEvG,MAAM,CAAC,MAAM,YAAY,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { BuildContext } from "../shared/buildContext";
2
+ export type BuildContextLike = {
3
+ fetchOptions: BuildContext["fetchOptions"];
4
+ cacheDirPath: string;
5
+ };
6
+ export declare function getSupportedDockerImageTags(params: {
7
+ buildContext: BuildContextLike;
8
+ }): Promise<string[]>;
@@ -0,0 +1,45 @@
1
+ export type ParsedRealmJson = {
2
+ realm: string;
3
+ loginTheme?: string;
4
+ accountTheme?: string;
5
+ adminTheme?: string;
6
+ emailTheme?: string;
7
+ eventsListeners: string[];
8
+ users: {
9
+ id: string;
10
+ email: string;
11
+ username: string;
12
+ credentials: {
13
+ type: string;
14
+ }[];
15
+ clientRoles?: Record<string, string[]>;
16
+ }[];
17
+ roles: {
18
+ client: Record<string, {
19
+ name: string;
20
+ containerId: string;
21
+ }[]>;
22
+ };
23
+ clients: {
24
+ id: string;
25
+ clientId: string;
26
+ baseUrl?: string;
27
+ redirectUris?: string[];
28
+ webOrigins?: string[];
29
+ attributes?: {
30
+ "post.logout.redirect.uris"?: string;
31
+ };
32
+ protocol?: string;
33
+ protocolMappers?: {
34
+ id: string;
35
+ name: string;
36
+ protocol: string;
37
+ protocolMapper: string;
38
+ consentRequired: boolean;
39
+ config?: Record<string, string>;
40
+ }[];
41
+ }[];
42
+ };
43
+ export declare function readRealmJsonFile(params: {
44
+ realmJsonFilePath: string;
45
+ }): ParsedRealmJson;
@@ -0,0 +1,8 @@
1
+ import { type ParsedRealmJson } from "../ParsedRealmJson";
2
+ export declare function getDefaultRealmJsonFilePath(params: {
3
+ keycloakMajorVersionNumber: number;
4
+ }): string;
5
+ export declare const getSupportedKeycloakMajorVersions: () => number[];
6
+ export declare function getDefaultConfig(params: {
7
+ keycloakMajorVersionNumber: number;
8
+ }): ParsedRealmJson;
@@ -0,0 +1 @@
1
+ export * from "./defaultConfig";
@@ -0,0 +1,9 @@
1
+ import { type ParsedRealmJson } from "./ParsedRealmJson";
2
+ export type BuildContextLike = {
3
+ cacheDirPath: string;
4
+ };
5
+ export declare function dumpContainerConfig(params: {
6
+ realmName: string;
7
+ keycloakMajorVersionNumber: number;
8
+ buildContext: BuildContextLike;
9
+ }): Promise<ParsedRealmJson>;
@@ -0,0 +1 @@
1
+ export * from "./realmConfig";
@@ -0,0 +1,15 @@
1
+ import type { ParsedRealmJson } from "./ParsedRealmJson";
2
+ import type { BuildContext } from "../../shared/buildContext";
3
+ export type BuildContextLike = {
4
+ themeNames: BuildContext["themeNames"];
5
+ implementedThemeTypes: BuildContext["implementedThemeTypes"];
6
+ };
7
+ export declare function prepareRealmConfig(params: {
8
+ parsedRealmJson: ParsedRealmJson;
9
+ keycloakMajorVersionNumber: number;
10
+ buildContext: BuildContextLike;
11
+ }): {
12
+ realmName: string;
13
+ clientName: string;
14
+ username: string;
15
+ };
@@ -0,0 +1,16 @@
1
+ import { type BuildContextLike as BuildContextLike_prepareRealmConfig } from "./prepareRealmConfig";
2
+ import { type BuildContextLike as BuildContextLike_dumpContainerConfig } from "./dumpContainerConfig";
3
+ export type BuildContextLike = BuildContextLike_dumpContainerConfig & BuildContextLike_prepareRealmConfig & {
4
+ projectDirPath: string;
5
+ };
6
+ export declare function getRealmConfig(params: {
7
+ keycloakMajorVersionNumber: number;
8
+ realmJsonFilePath_userProvided: string | undefined;
9
+ buildContext: BuildContextLike;
10
+ }): Promise<{
11
+ realmJsonFilePath: string;
12
+ clientName: string;
13
+ realmName: string;
14
+ username: string;
15
+ onRealmConfigChange: () => Promise<void>;
16
+ }>;