@lovrabet/rabetbase-cli 2.5.2-beta.3 → 2.5.2-beta.4
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/README.md +1 -1
- package/lib/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/api/generate-sdk-config-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/members-list.js +1 -1
- package/lib/commands/app/remote-directory.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/delete.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/app-config/list.js +1 -1
- package/lib/commands/app-config/set.js +1 -1
- package/lib/commands/app-config/shared.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-registry.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/async-task.js +1 -1
- package/lib/commands/common/dry-run.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/delete.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/init.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/dataset/business-group-update.js +1 -1
- package/lib/commands/dataset/business-groups.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-restore.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/generate.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-audit.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/dataset/restore.js +1 -1
- package/lib/commands/dataset/user-deleted-field-list.js +1 -1
- package/lib/commands/db/analysis-batching.js +1 -1
- package/lib/commands/db/analyze-batch-plan.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff-refresh-start.js +1 -1
- package/lib/commands/db/diff-refresh-status.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/table-diff-shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/deployment/auto-sync.js +1 -1
- package/lib/commands/deployment/index.js +1 -1
- package/lib/commands/deployment/sync-all.js +1 -1
- package/lib/commands/deployment/sync-jobs.js +1 -1
- package/lib/commands/deployment/sync-status.js +1 -1
- package/lib/commands/deployment/sync.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/instant-api-policy/current.js +1 -1
- package/lib/commands/instant-api-policy/index.js +1 -1
- package/lib/commands/instant-api-policy/init.js +1 -1
- package/lib/commands/instant-api-policy/publish.js +1 -1
- package/lib/commands/instant-api-policy/pull.js +1 -1
- package/lib/commands/instant-api-policy/revision.js +1 -1
- package/lib/commands/instant-api-policy/revisions.js +1 -1
- package/lib/commands/instant-api-policy/rollback.js +1 -1
- package/lib/commands/instant-api-policy/shared.js +1 -1
- package/lib/commands/instant-api-policy/validate.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/nudge.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/issue/shared.js +1 -1
- package/lib/commands/kb/create.js +1 -1
- package/lib/commands/kb/delete.js +1 -1
- package/lib/commands/kb/detail.js +1 -1
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/kb/list.js +1 -1
- package/lib/commands/kb/search.js +1 -1
- package/lib/commands/kb/shared.js +1 -1
- package/lib/commands/kb/update.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/asset-update.js +1 -1
- package/lib/commands/menu/delete.js +1 -1
- package/lib/commands/menu/external-link-create.js +1 -1
- package/lib/commands/menu/external-link-update.js +1 -1
- package/lib/commands/menu/group-create.js +1 -1
- package/lib/commands/menu/group-update.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/list.js +1 -1
- package/lib/commands/menu/move.js +1 -1
- package/lib/commands/menu/regroup-start.js +1 -1
- package/lib/commands/menu/rename.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/delete-plan.js +1 -1
- package/lib/commands/menu/shared/facts.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/mutations.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/visibility-update.js +1 -1
- package/lib/commands/notification/config-create.js +1 -1
- package/lib/commands/notification/config-delete.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/config-update.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/notification/shared.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/page/create.js +1 -1
- package/lib/commands/page/custom/detail.js +1 -1
- package/lib/commands/page/custom/list.js +1 -1
- package/lib/commands/page/custom/publish.js +1 -1
- package/lib/commands/page/custom/shared.d.ts +0 -8
- package/lib/commands/page/custom/shared.js +1 -1
- package/lib/commands/page/custom/syntax.js +1 -1
- package/lib/commands/page/custom/update.js +1 -1
- package/lib/commands/page/data-list-status.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/relation-audit.js +1 -1
- package/lib/commands/page/restore.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/materialize-project-template.js +1 -1
- package/lib/commands/project/create/project-name.js +1 -1
- package/lib/commands/project/create/project-template-archive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/domain-routing-sync.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/role/delete.js +1 -1
- package/lib/commands/role/detail.js +1 -1
- package/lib/commands/role/index.js +1 -1
- package/lib/commands/role/list.js +1 -1
- package/lib/commands/role/shared.js +1 -1
- package/lib/commands/role/update.js +1 -1
- package/lib/commands/role/user-add.js +1 -1
- package/lib/commands/role/user-remove.js +1 -1
- package/lib/commands/role/user-resolve.js +1 -1
- package/lib/commands/rule/get.js +1 -1
- package/lib/commands/rule/index.js +1 -1
- package/lib/commands/rule/list.js +1 -1
- package/lib/commands/rule/set.js +1 -1
- package/lib/commands/rule/shared.js +1 -1
- package/lib/commands/run/index.d.ts +4 -0
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/commands/task/index.js +1 -1
- package/lib/commands/task/status.js +1 -1
- package/lib/commands/tenant/index.js +1 -1
- package/lib/commands/tenant/members-list.js +1 -1
- package/lib/commands/tenant/shared.js +1 -1
- package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/add.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/commands/workspace/remove.js +1 -1
- package/lib/config/domain-config.js +1 -1
- package/lib/config/project-domain-routing.d.ts +5 -1
- package/lib/config/project-domain-routing.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/paths.js +1 -1
- package/lib/constant/region.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/routing-profile.js +1 -1
- package/lib/context/app-resolver.js +1 -1
- package/lib/context/auth-resolver.js +1 -1
- package/lib/context/config-loader.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.d.ts +0 -26
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/instant-api-policy/config.js +1 -1
- package/lib/core/kb-search-client.js +1 -1
- package/lib/core/page/file-system.d.ts +43 -0
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-index-auditor.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/error-output.js +1 -1
- package/lib/framework/explicit-yes.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-alias.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/supported-flags.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.d.ts +4 -4
- package/lib/generated/build-info.js +1 -1
- package/lib/generated/official-routing.js +1 -1
- package/lib/generated/routing-contract.js +1 -1
- package/lib/help.js +1 -1
- package/lib/postinstall.js +1 -1
- package/lib/runtime/confirmation.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/skills/builtin-skill.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +2 -1
- package/skills/rabetbase/SKILL.md +5 -5
- package/skills/rabetbase/guides/custom-page-workflow.md +35 -17
- package/skills/rabetbase/guides/page-development-workflow.md +1 -1
- package/skills/rabetbase/knowledge/components.md +292 -0
- package/skills/rabetbase/knowledge/custom-page/generation-standards.md +74 -4
- package/skills/rabetbase/knowledge/custom-page/page-templates.md +68 -0
- package/skills/rabetbase/references/rabetbase-page-create.md +21 -9
- package/skills/rabetbase/references/rabetbase-page-custom-detail.md +1 -1
- package/skills/rabetbase/references/rabetbase-page-custom-update.md +13 -9
- package/skills/rabetbase/references/rabetbase-project-create.md +5 -2
- package/skills/rabetbase/references/rabetbase-project-domain-routing-sync.md +2 -2
- package/skills/rabetbase/references/rabetbase-run.md +1 -0
- package/skills/rabetbase.manifest.json +5 -4
- package/templates/README.md +10 -4
- package/templates/custom-pages/blank.json +5 -0
- package/templates/custom-pages/dashboard.json +5 -0
- package/templates/custom-pages/onepage.json +5 -0
- package/templates/generate-api/api.ts.tpl +1 -1
- package/lib/commands/page/custom/template.d.ts +0 -8
- package/lib/commands/page/custom/template.js +0 -1
- package/skills/rabetbase/knowledge/custom-page/components.md +0 -225
package/lib/constant/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a234_0x2dc487=a234_0x5250;(function(_0xad397a,_0x11ae7f){const _0x4a0870=a234_0x5250,_0x353d11=_0xad397a();while(!![]){try{const _0x33af9e=parseInt(_0x4a0870(0xbf))/0x1*(parseInt(_0x4a0870(0x95))/0x2)+-parseInt(_0x4a0870(0x80))/0x3*(-parseInt(_0x4a0870(0x8e))/0x4)+-parseInt(_0x4a0870(0x79))/0x5*(parseInt(_0x4a0870(0xd0))/0x6)+-parseInt(_0x4a0870(0x77))/0x7*(-parseInt(_0x4a0870(0xad))/0x8)+parseInt(_0x4a0870(0xb7))/0x9*(parseInt(_0x4a0870(0x98))/0xa)+-parseInt(_0x4a0870(0xda))/0xb*(parseInt(_0x4a0870(0x7a))/0xc)+parseInt(_0x4a0870(0xd8))/0xd;if(_0x33af9e===_0x11ae7f)break;else _0x353d11['push'](_0x353d11['shift']());}catch(_0x5570e5){_0x353d11['push'](_0x353d11['shift']());}}}(a234_0x22ea,0xbbf8c));export const CLI_BIN_NAME=a234_0x2dc487(0xc1);export const CLI_DISPLAY_NAME=a234_0x2dc487(0x76);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a234_0x2dc487(0xd1),'meowKey':a234_0x2dc487(0xd1),'type':a234_0x2dc487(0x90),'description':'Override\x20appcode','hint':a234_0x2dc487(0xb2)},{'name':a234_0x2dc487(0xa8),'meowKey':a234_0x2dc487(0xa8),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xde),'hint':a234_0x2dc487(0xc3)},{'name':a234_0x2dc487(0xe3),'meowKey':a234_0x2dc487(0xe3),'type':'string','description':'Environment','hint':'production\x20|\x20daily'},{'name':a234_0x2dc487(0x6e),'meowKey':a234_0x2dc487(0x6e),'type':a234_0x2dc487(0x90),'description':'Output\x20format','hint':a234_0x2dc487(0x8d)},{'name':'jq','meowKey':'jq','type':'string','description':a234_0x2dc487(0x9b),'hint':'<expr>'},{'name':a234_0x2dc487(0xd9),'meowKey':'dryRun','type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xc8)},{'name':a234_0x2dc487(0xea),'meowKey':a234_0x2dc487(0xea),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xba)},{'name':a234_0x2dc487(0x83),'meowKey':a234_0x2dc487(0xa3),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x97)},{'name':'global','meowKey':'global','type':'boolean','description':'Use\x20global\x20config\x20scope'},{'name':a234_0x2dc487(0xc7),'meowKey':a234_0x2dc487(0xc7),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xa1)},{'name':'ci','meowKey':'ci','type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x9e),'hidden':!![]},{'name':a234_0x2dc487(0xcb),'meowKey':a234_0x2dc487(0xcb),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x96)},{'name':a234_0x2dc487(0x88),'meowKey':a234_0x2dc487(0x88),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x70),'hidden':!![],'hint':a234_0x2dc487(0x7f)},{'name':a234_0x2dc487(0x7b),'meowKey':'name','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x8f),'hidden':!![]},{'name':'title','meowKey':a234_0x2dc487(0xc9),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xee),'hidden':!![]},{'name':a234_0x2dc487(0xb0),'meowKey':a234_0x2dc487(0xb0),'type':a234_0x2dc487(0x90),'description':'Search\x20query','hidden':!![]},{'name':'topk','meowKey':a234_0x2dc487(0xbc),'type':'string','description':a234_0x2dc487(0xb4),'hidden':!![]},{'name':a234_0x2dc487(0xce),'meowKey':a234_0x2dc487(0xce),'type':a234_0x2dc487(0xdb),'description':'Clear','hidden':!![]},{'name':'watch','meowKey':a234_0x2dc487(0x9a),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xf0),'hidden':!![]},{'name':a234_0x2dc487(0x6f),'meowKey':a234_0x2dc487(0x6f),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x7c),'hidden':!![]},{'name':'params','meowKey':a234_0x2dc487(0x91),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xd4),'hidden':!![]},{'name':'datasetcode','meowKey':a234_0x2dc487(0x84),'type':a234_0x2dc487(0x90),'description':'Dataset\x20code','hidden':!![]},{'name':a234_0x2dc487(0x8b),'meowKey':a234_0x2dc487(0x8b),'type':a234_0x2dc487(0xdb),'description':'Apply\x20to\x20all','hidden':!![]},{'name':a234_0x2dc487(0xd7),'meowKey':a234_0x2dc487(0xab),'type':'boolean','description':a234_0x2dc487(0xcd),'hidden':!![]},{'name':'id','meowKey':'id','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xe4),'hidden':!![]},{'name':'type','meowKey':a234_0x2dc487(0x85),'type':a234_0x2dc487(0x90),'description':'Type\x20filter','hidden':!![]},{'name':a234_0x2dc487(0xdc),'meowKey':a234_0x2dc487(0xdc),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xe9),'hidden':!![]},{'name':a234_0x2dc487(0xa0),'meowKey':a234_0x2dc487(0xa0),'type':a234_0x2dc487(0x90),'description':'SQL\x20code','hidden':!![]},{'name':a234_0x2dc487(0xca),'meowKey':'sqlName','type':'string','description':a234_0x2dc487(0xa7),'hidden':!![]},{'name':a234_0x2dc487(0x72),'meowKey':a234_0x2dc487(0x72),'type':a234_0x2dc487(0x90),'description':'SQL\x20name','hidden':!![]},{'name':a234_0x2dc487(0xeb),'meowKey':a234_0x2dc487(0xc6),'type':a234_0x2dc487(0x90),'description':'DB\x20ID','hidden':!![]},{'name':a234_0x2dc487(0xe0),'meowKey':a234_0x2dc487(0xe0),'type':a234_0x2dc487(0x90),'description':'DB\x20ID','hidden':!![]},{'name':a234_0x2dc487(0xa9),'meowKey':a234_0x2dc487(0xa9),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x93),'hidden':!![]},{'name':a234_0x2dc487(0xdf),'meowKey':a234_0x2dc487(0x81),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xe1),'hidden':!![]},{'name':'page','meowKey':a234_0x2dc487(0xec),'type':'string','description':'Page\x20number','hidden':!![]},{'name':'pagesize','meowKey':'pagesize','type':a234_0x2dc487(0x90),'description':'Page\x20size','hidden':!![]},{'name':'keyword','meowKey':a234_0x2dc487(0xc2),'type':'string','description':a234_0x2dc487(0xa6),'hidden':!![]},{'name':a234_0x2dc487(0xae),'meowKey':a234_0x2dc487(0xae),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x6a),'hidden':!![]},{'name':a234_0x2dc487(0x6b),'meowKey':a234_0x2dc487(0x6b),'type':a234_0x2dc487(0x90),'description':'SQL\x20string','hidden':!![]},{'name':a234_0x2dc487(0x92),'meowKey':a234_0x2dc487(0x92),'type':a234_0x2dc487(0x90),'description':'Schemas','hidden':!![]},{'name':a234_0x2dc487(0x8c),'meowKey':a234_0x2dc487(0x8c),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x89),'hidden':!![]},{'name':'target','meowKey':'target','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xc0),'hidden':!![]},{'name':a234_0x2dc487(0xef),'meowKey':a234_0x2dc487(0x7e),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xb3),'hidden':!![]},{'name':a234_0x2dc487(0xaa),'meowKey':a234_0x2dc487(0xaa),'type':'string','description':a234_0x2dc487(0xb5),'hidden':!![]},{'name':a234_0x2dc487(0xd3),'meowKey':a234_0x2dc487(0xd3),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x9d),'hidden':!![]},{'name':a234_0x2dc487(0xa4),'meowKey':a234_0x2dc487(0xa4),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xbe),'hidden':!![]},{'name':a234_0x2dc487(0x8a),'meowKey':a234_0x2dc487(0x8a),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x7d),'hidden':!![]},{'name':'from-env','meowKey':'fromEnv','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xc4),'hidden':!![]},{'name':a234_0x2dc487(0x87),'meowKey':a234_0x2dc487(0x87),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x9c),'hidden':!![]},{'name':a234_0x2dc487(0xd6),'meowKey':a234_0x2dc487(0xd6),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xe6),'hidden':!![]},{'name':a234_0x2dc487(0x6c),'meowKey':a234_0x2dc487(0x6c),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xc5),'hidden':!![]},{'name':a234_0x2dc487(0x6d),'meowKey':a234_0x2dc487(0x6d),'type':'boolean','description':a234_0x2dc487(0x73),'hidden':!![]},{'name':a234_0x2dc487(0xb6),'meowKey':a234_0x2dc487(0xb6),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xe8),'hidden':!![]},{'name':'expected-count','meowKey':a234_0x2dc487(0xed),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xa2),'hidden':!![]},{'name':a234_0x2dc487(0xb9),'meowKey':a234_0x2dc487(0xb9),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x86),'hidden':!![]},{'name':'parent-id','meowKey':a234_0x2dc487(0x78),'type':a234_0x2dc487(0x90),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a234_0x2dc487(0xb1),'meowKey':a234_0x2dc487(0xb1),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xaf),'hidden':!![]},{'name':a234_0x2dc487(0xe2),'meowKey':a234_0x2dc487(0xa5),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x75),'hidden':!![]},{'name':a234_0x2dc487(0xdd),'meowKey':'expectPath','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xbb),'hidden':!![]},{'name':'expected-children-count','meowKey':a234_0x2dc487(0xac),'type':a234_0x2dc487(0x90),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a234_0x2dc487(0xcf),'meowKey':a234_0x2dc487(0xd2),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x99),'hidden':!![]},{'name':a234_0x2dc487(0xbd),'meowKey':a234_0x2dc487(0xcc),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xb8),'hidden':!![]},{'name':a234_0x2dc487(0x74),'meowKey':'operationType','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x89),'hidden':!![]},{'name':a234_0x2dc487(0x9f),'meowKey':'functionNode','type':'string','description':a234_0x2dc487(0x71),'hidden':!![]},{'name':a234_0x2dc487(0x82),'meowKey':'codes','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xd5),'hidden':!![]}];function a234_0x5250(_0x483387,_0x27b3dd){_0x483387=_0x483387-0x6a;const _0x22ea5f=a234_0x22ea();let _0x5250a5=_0x22ea5f[_0x483387];return _0x5250a5;}export const PIPELINE_FLAG_NAMES=new Set([a234_0x2dc487(0xd1),a234_0x2dc487(0xa8),a234_0x2dc487(0xe3),a234_0x2dc487(0x6e),'jq',a234_0x2dc487(0xd9),a234_0x2dc487(0xea),a234_0x2dc487(0x83),'ci']);function a234_0x22ea(){const _0x3743dd=['enableBffSave','expectedChildrenCount','33568gGjNho','code','Menu\x20sort\x20value','query','sort','<code>','Skip\x20import\x20generation','Maximum\x20search\x20hits','Config\x20key','verbose','675639SScakZ','Asynchronous\x20task\x20ID','label','Skip\x20confirmation\x20for\x20high-risk\x20writes','Expected\x20current\x20menu\x20path','topk','task-id','Tags','1KqqIxS','Target\x20path','rabetbase','keyword','<name>','Read\x20value\x20from\x20environment\x20variable','Confirm\x20destructive\x20action','dbId','project','Preview\x20operation\x20without\x20executing','title','sql-name','help','taskId','Enable\x20Backend\x20Function\x20save','clear','menu-ids','7689804lNUhlz','appcode','menuIds','value','JSON\x20params','Comma-separated\x20metadata\x20codes','force','enable-bff-save','27773616jnjFSS','dry-run','118008OFblWS','boolean','file','expect-path','Select\x20app\x20profile\x20by\x20name','description-file','dbid','Description\x20file','expect-parent-id','env','Record\x20ID','map','Force\x20overwrite','meowKey','Verbose\x20output','File\x20path','yes','db-id','page','expectedCount','Title','skip-imports','Watch\x20mode','Code\x20filter','sql','confirm','remote','format','output','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','Function\x20node','sqlname','Use\x20remote','operation-type','Expected\x20current\x20parent\x20menu\x20id','Rabetbase\x20CLI','1253xzbNGr','parentId','5dbfONs','1428wuyshV','name','Output\x20path','Read\x20value\x20from\x20stdin','skipImports','zh-CN\x20|\x20en-US','105NXWbNZ','descriptionFile','codes','non-interactive','datasetcode','type','Menu\x20label','reveal','locale','Operation\x20type','stdin','all','operation','json\x20|\x20pretty\x20|\x20compress','8780elZfHK','Name','string','params','schemas','Description','fromEntries','127146DAKBJw','Show\x20help','Force\x20non-interactive\x20mode\x20(CI)','40MBkNnU','Comma-separated\x20menu\x20IDs','watch','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','Reveal\x20sensitive\x20value','Config\x20value','Alias\x20for\x20--non-interactive','function-node','sqlcode','Use\x20project\x20config\x20scope','Expected\x20affected\x20count','nonInteractive','tags','expectParentId','Keyword\x20filter','SQL\x20name','app','description','key'];a234_0x22ea=function(){return _0x3743dd;};return a234_0x22ea();}export function buildMeowFlags(){const _0x460d1f=a234_0x2dc487;return Object[_0x460d1f(0x94)](GLOBAL_FLAGS[_0x460d1f(0xe5)](_0x26f8aa=>[_0x26f8aa[_0x460d1f(0xe7)],{'type':_0x26f8aa[_0x460d1f(0x85)]}]));}
|
|
1
|
+
const a233_0x18f0bc=a233_0x2b77;(function(_0x5aab30,_0x1595c4){const _0x23124b=a233_0x2b77,_0x18c6b6=_0x5aab30();while(!![]){try{const _0x5991e5=parseInt(_0x23124b(0x27a))/0x1+parseInt(_0x23124b(0x23e))/0x2*(parseInt(_0x23124b(0x211))/0x3)+parseInt(_0x23124b(0x1fa))/0x4*(parseInt(_0x23124b(0x1ff))/0x5)+-parseInt(_0x23124b(0x1f8))/0x6*(-parseInt(_0x23124b(0x273))/0x7)+parseInt(_0x23124b(0x21e))/0x8+parseInt(_0x23124b(0x245))/0x9+-parseInt(_0x23124b(0x23d))/0xa;if(_0x5991e5===_0x1595c4)break;else _0x18c6b6['push'](_0x18c6b6['shift']());}catch(_0x5a3edd){_0x18c6b6['push'](_0x18c6b6['shift']());}}}(a233_0x3fc5,0x9c781));export const CLI_BIN_NAME=a233_0x18f0bc(0x241);export const CLI_DISPLAY_NAME=a233_0x18f0bc(0x255);function a233_0x3fc5(){const _0xfa7ce7=['Search\x20query','Expected\x20current\x20child\x20count','SQL\x20string','SQL\x20code','Comma-separated\x20menu\x20IDs','<expr>','type','Schemas','sqlName','name','nonInteractive','description','expectedCount','Menu\x20sort\x20value','Parent\x20menu\x20id','DB\x20ID','function-node','enableBffSave','Preview\x20operation\x20without\x20executing','Apply\x20to\x20all','expectPath','sqlcode','Read\x20value\x20from\x20environment\x20variable','code','db-id','Reveal\x20sensitive\x20value','production\x20|\x20daily','<code>','Page\x20size','Output\x20format','16183670dTVbpv','172mzXgKp','Dataset\x20code','watch','rabetbase','clear','Show\x20help','string','671139tvCfPq','Target\x20path','parentId','Confirm\x20destructive\x20action','reveal','Alias\x20for\x20--non-interactive','dryRun','enable-bff-save','menuIds','output','Watch\x20mode','confirm','file','topk','Function\x20node','dbid','Rabetbase\x20CLI','yes','Config\x20key','target','menu-ids','env','Use\x20project\x20config\x20scope','params','datasetcode','meowKey','description-file','parent-id','Use\x20global\x20config\x20scope','Read\x20value\x20from\x20stdin','from-env','Code\x20filter','skip-imports','Expected\x20current\x20menu\x20path','Skip\x20confirmation\x20for\x20high-risk\x20writes','functionNode','keyword','help','expected-count','Use\x20remote','Enable\x20Backend\x20Function\x20save','zh-CN\x20|\x20en-US','query','Config\x20value','Force\x20overwrite','dry-run','1309hQVYYz','operationType','locale','expectParentId','Description\x20file','tags','boolean','834961MhVKLS','taskId','json\x20|\x20pretty\x20|\x20compress','Force\x20non-interactive\x20mode\x20(CI)','Description','Name','Comma-separated\x20metadata\x20codes','force','dbId','app','sort','expect-parent-id','9228EBdzGJ','page','20ucDlLF','Verbose\x20output','expectedChildrenCount','Operation\x20type','all','587075EXySEE','Title','Type\x20filter','Tags','remote','Record\x20ID','appcode','Keyword\x20filter','non-interactive','Asynchronous\x20task\x20ID','Select\x20app\x20profile\x20by\x20name','title','skipImports','label','value','SQL\x20name','format','global','6693zSytjk','<name>','stdin','fromEnv','schemas','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','key','Menu\x20label','codes','project','expect-path','JSON\x20params','task-id','2265480YyyyRr'];a233_0x3fc5=function(){return _0xfa7ce7;};return a233_0x3fc5();}export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a233_0x18f0bc(0x205),'meowKey':a233_0x18f0bc(0x205),'type':'string','description':'Override\x20appcode','hint':a233_0x18f0bc(0x23a)},{'name':'app','meowKey':'app','type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x209),'hint':a233_0x18f0bc(0x212)},{'name':'env','meowKey':a233_0x18f0bc(0x25a),'type':'string','description':'Environment','hint':a233_0x18f0bc(0x239)},{'name':a233_0x18f0bc(0x20f),'meowKey':a233_0x18f0bc(0x20f),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x23c),'hint':a233_0x18f0bc(0x27c)},{'name':'jq','meowKey':'jq','type':'string','description':a233_0x18f0bc(0x216),'hint':a233_0x18f0bc(0x224)},{'name':a233_0x18f0bc(0x272),'meowKey':a233_0x18f0bc(0x24b),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x231)},{'name':'yes','meowKey':a233_0x18f0bc(0x256),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x267)},{'name':'non-interactive','meowKey':a233_0x18f0bc(0x229),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x27d)},{'name':a233_0x18f0bc(0x210),'meowKey':a233_0x18f0bc(0x210),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x261)},{'name':a233_0x18f0bc(0x21a),'meowKey':a233_0x18f0bc(0x21a),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x25b)},{'name':'ci','meowKey':'ci','type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x24a),'hidden':!![]},{'name':a233_0x18f0bc(0x26a),'meowKey':a233_0x18f0bc(0x26a),'type':'boolean','description':a233_0x18f0bc(0x243)},{'name':a233_0x18f0bc(0x275),'meowKey':a233_0x18f0bc(0x275),'type':a233_0x18f0bc(0x244),'description':'App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','hidden':!![],'hint':a233_0x18f0bc(0x26e)},{'name':a233_0x18f0bc(0x228),'meowKey':a233_0x18f0bc(0x228),'type':'string','description':a233_0x18f0bc(0x1f1),'hidden':!![]},{'name':a233_0x18f0bc(0x20a),'meowKey':a233_0x18f0bc(0x20a),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x200),'hidden':!![]},{'name':a233_0x18f0bc(0x26f),'meowKey':a233_0x18f0bc(0x26f),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x21f),'hidden':!![]},{'name':a233_0x18f0bc(0x252),'meowKey':a233_0x18f0bc(0x252),'type':a233_0x18f0bc(0x244),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a233_0x18f0bc(0x242),'meowKey':'clear','type':'boolean','description':'Clear','hidden':!![]},{'name':a233_0x18f0bc(0x240),'meowKey':a233_0x18f0bc(0x240),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x24f),'hidden':!![]},{'name':a233_0x18f0bc(0x24e),'meowKey':a233_0x18f0bc(0x24e),'type':a233_0x18f0bc(0x244),'description':'Output\x20path','hidden':!![]},{'name':a233_0x18f0bc(0x25c),'meowKey':'params','type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x21c),'hidden':!![]},{'name':a233_0x18f0bc(0x25d),'meowKey':a233_0x18f0bc(0x25d),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x23f),'hidden':!![]},{'name':a233_0x18f0bc(0x1fe),'meowKey':'all','type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x232),'hidden':!![]},{'name':a233_0x18f0bc(0x24c),'meowKey':a233_0x18f0bc(0x230),'type':'boolean','description':a233_0x18f0bc(0x26d),'hidden':!![]},{'name':'id','meowKey':'id','type':'string','description':a233_0x18f0bc(0x204),'hidden':!![]},{'name':'type','meowKey':a233_0x18f0bc(0x225),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x201),'hidden':!![]},{'name':a233_0x18f0bc(0x251),'meowKey':'file','type':a233_0x18f0bc(0x244),'description':'File\x20path','hidden':!![]},{'name':a233_0x18f0bc(0x234),'meowKey':a233_0x18f0bc(0x234),'type':'string','description':a233_0x18f0bc(0x222),'hidden':!![]},{'name':'sql-name','meowKey':a233_0x18f0bc(0x227),'type':a233_0x18f0bc(0x244),'description':'SQL\x20name','hidden':!![]},{'name':'sqlname','meowKey':'sqlname','type':'string','description':a233_0x18f0bc(0x20e),'hidden':!![]},{'name':a233_0x18f0bc(0x237),'meowKey':a233_0x18f0bc(0x1f4),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x22e),'hidden':!![]},{'name':a233_0x18f0bc(0x254),'meowKey':a233_0x18f0bc(0x254),'type':'string','description':a233_0x18f0bc(0x22e),'hidden':!![]},{'name':a233_0x18f0bc(0x22a),'meowKey':a233_0x18f0bc(0x22a),'type':'string','description':a233_0x18f0bc(0x1f0),'hidden':!![]},{'name':a233_0x18f0bc(0x25f),'meowKey':'descriptionFile','type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x277),'hidden':!![]},{'name':a233_0x18f0bc(0x1f9),'meowKey':a233_0x18f0bc(0x1f9),'type':a233_0x18f0bc(0x244),'description':'Page\x20number','hidden':!![]},{'name':'pagesize','meowKey':'pagesize','type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x23b),'hidden':!![]},{'name':a233_0x18f0bc(0x269),'meowKey':a233_0x18f0bc(0x269),'type':'string','description':a233_0x18f0bc(0x206),'hidden':!![]},{'name':'code','meowKey':a233_0x18f0bc(0x236),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x264),'hidden':!![]},{'name':'sql','meowKey':'sql','type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x221),'hidden':!![]},{'name':a233_0x18f0bc(0x215),'meowKey':a233_0x18f0bc(0x215),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x226),'hidden':!![]},{'name':'operation','meowKey':'operation','type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x1fd),'hidden':!![]},{'name':'target','meowKey':a233_0x18f0bc(0x258),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x246),'hidden':!![]},{'name':a233_0x18f0bc(0x265),'meowKey':a233_0x18f0bc(0x20b),'type':a233_0x18f0bc(0x279),'description':'Skip\x20import\x20generation','hidden':!![]},{'name':'key','meowKey':a233_0x18f0bc(0x217),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x257),'hidden':!![]},{'name':a233_0x18f0bc(0x20d),'meowKey':'value','type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x270),'hidden':!![]},{'name':a233_0x18f0bc(0x278),'meowKey':a233_0x18f0bc(0x278),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x202),'hidden':!![]},{'name':a233_0x18f0bc(0x213),'meowKey':a233_0x18f0bc(0x213),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x262),'hidden':!![]},{'name':a233_0x18f0bc(0x263),'meowKey':a233_0x18f0bc(0x214),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x235),'hidden':!![]},{'name':a233_0x18f0bc(0x249),'meowKey':a233_0x18f0bc(0x249),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x238),'hidden':!![]},{'name':a233_0x18f0bc(0x1f3),'meowKey':a233_0x18f0bc(0x1f3),'type':'boolean','description':a233_0x18f0bc(0x271),'hidden':!![]},{'name':a233_0x18f0bc(0x250),'meowKey':'confirm','type':'boolean','description':a233_0x18f0bc(0x248),'hidden':!![]},{'name':a233_0x18f0bc(0x203),'meowKey':a233_0x18f0bc(0x203),'type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x26c),'hidden':!![]},{'name':'verbose','meowKey':'verbose','type':a233_0x18f0bc(0x279),'description':a233_0x18f0bc(0x1fb),'hidden':!![]},{'name':a233_0x18f0bc(0x26b),'meowKey':a233_0x18f0bc(0x22b),'type':'string','description':'Expected\x20affected\x20count','hidden':!![]},{'name':a233_0x18f0bc(0x20c),'meowKey':a233_0x18f0bc(0x20c),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x218),'hidden':!![]},{'name':a233_0x18f0bc(0x260),'meowKey':a233_0x18f0bc(0x247),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x22d),'hidden':!![]},{'name':'sort','meowKey':a233_0x18f0bc(0x1f6),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x22c),'hidden':!![]},{'name':a233_0x18f0bc(0x1f7),'meowKey':a233_0x18f0bc(0x276),'type':a233_0x18f0bc(0x244),'description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':a233_0x18f0bc(0x21b),'meowKey':a233_0x18f0bc(0x233),'type':'string','description':a233_0x18f0bc(0x266),'hidden':!![]},{'name':'expected-children-count','meowKey':a233_0x18f0bc(0x1fc),'type':'string','description':a233_0x18f0bc(0x220),'hidden':!![]},{'name':a233_0x18f0bc(0x259),'meowKey':a233_0x18f0bc(0x24d),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x223),'hidden':!![]},{'name':a233_0x18f0bc(0x21d),'meowKey':a233_0x18f0bc(0x27b),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x208),'hidden':!![]},{'name':'operation-type','meowKey':a233_0x18f0bc(0x274),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x1fd),'hidden':!![]},{'name':a233_0x18f0bc(0x22f),'meowKey':a233_0x18f0bc(0x268),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x253),'hidden':!![]},{'name':a233_0x18f0bc(0x219),'meowKey':a233_0x18f0bc(0x219),'type':a233_0x18f0bc(0x244),'description':a233_0x18f0bc(0x1f2),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a233_0x18f0bc(0x205),a233_0x18f0bc(0x1f5),'env',a233_0x18f0bc(0x20f),'jq','dry-run',a233_0x18f0bc(0x256),a233_0x18f0bc(0x207),'ci']);function a233_0x2b77(_0x1c44ae,_0x511c62){_0x1c44ae=_0x1c44ae-0x1f0;const _0x3fc517=a233_0x3fc5();let _0x2b77c1=_0x3fc517[_0x1c44ae];return _0x2b77c1;}export function buildMeowFlags(){const _0x354972=a233_0x18f0bc;return Object['fromEntries'](GLOBAL_FLAGS['map'](_0x2d2ed6=>[_0x2d2ed6[_0x354972(0x25e)],{'type':_0x2d2ed6[_0x354972(0x225)]}]));}
|
package/lib/constant/defaults.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a234_0x5a5b40=a234_0x4b9f;function a234_0x4b9f(_0x19c84a,_0x382189){_0x19c84a=_0x19c84a-0x111;const _0xf954e4=a234_0xf954();let _0x4b9fca=_0xf954e4[_0x19c84a];return _0x4b9fca;}function a234_0xf954(){const _0x174859=['2159836dErhXs','write','production','3619688kVMMMH','447720zFawqC','compress','1783335EBGYwM','144VGJrlE','3783747BjcUcX','7AFJYlH','3zyUXnP','14PAIgkE','355270RPbkwf','58773OzLTrU'];a234_0xf954=function(){return _0x174859;};return a234_0xf954();}(function(_0x39ee16,_0x398e0c){const _0x3c3be5=a234_0x4b9f,_0x595af1=_0x39ee16();while(!![]){try{const _0x523e13=parseInt(_0x3c3be5(0x118))/0x1*(parseInt(_0x3c3be5(0x116))/0x2)+-parseInt(_0x3c3be5(0x115))/0x3*(-parseInt(_0x3c3be5(0x119))/0x4)+-parseInt(_0x3c3be5(0x111))/0x5+-parseInt(_0x3c3be5(0x11d))/0x6+-parseInt(_0x3c3be5(0x114))/0x7*(parseInt(_0x3c3be5(0x11c))/0x8)+-parseInt(_0x3c3be5(0x112))/0x9*(-parseInt(_0x3c3be5(0x117))/0xa)+-parseInt(_0x3c3be5(0x113))/0xb;if(_0x523e13===_0x398e0c)break;else _0x595af1['push'](_0x595af1['shift']());}catch(_0x304198){_0x595af1['push'](_0x595af1['shift']());}}}(a234_0xf954,0x474ed));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a234_0x5a5b40(0x11b),'format':a234_0x5a5b40(0x11e),'locale':'en-US','riskLevel':a234_0x5a5b40(0x11a),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
|
package/lib/constant/domain.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a235_0x1a8506=a235_0x4049;(function(_0x50dcec,_0x72b2c6){const _0x218c7c=a235_0x4049,_0x1fa7dd=_0x50dcec();while(!![]){try{const _0x2cba15=parseInt(_0x218c7c(0x19e))/0x1+-parseInt(_0x218c7c(0x1a0))/0x2*(parseInt(_0x218c7c(0x19a))/0x3)+parseInt(_0x218c7c(0x18a))/0x4+parseInt(_0x218c7c(0x1a1))/0x5*(-parseInt(_0x218c7c(0x190))/0x6)+-parseInt(_0x218c7c(0x194))/0x7*(-parseInt(_0x218c7c(0x19b))/0x8)+-parseInt(_0x218c7c(0x189))/0x9*(-parseInt(_0x218c7c(0x1a2))/0xa)+parseInt(_0x218c7c(0x18d))/0xb;if(_0x2cba15===_0x72b2c6)break;else _0x1fa7dd['push'](_0x1fa7dd['shift']());}catch(_0x34c133){_0x1fa7dd['push'](_0x1fa7dd['shift']());}}}(a235_0x2645,0x9b3f4));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x29cd4b=a235_0x4049,_0x12321b=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x12321b['serviceDomains']['production']:_0x12321b['serviceDomains'][_0x29cd4b(0x19c)]??_0x12321b[_0x29cd4b(0x19d)][_0x29cd4b(0x18c)];}export function initDomains(_0x316bfb){const _0x13e4b6=a235_0x4049;customApiDomain=_0x316bfb?.[_0x13e4b6(0x184)],customUserDomain=_0x316bfb?.[_0x13e4b6(0x18b)],customRuntimeDomain=_0x316bfb?.[_0x13e4b6(0x198)],customSkillDomain=_0x316bfb?.['skillDomain'],customKbDomain=_0x316bfb?.[_0x13e4b6(0x18f)],customAppDomain=_0x316bfb?.[_0x13e4b6(0x1a3)],customLocalDomain=_0x316bfb?.[_0x13e4b6(0x186)],customCertificateDomain=_0x316bfb?.[_0x13e4b6(0x18e)],customCdn=_0x316bfb?.[_0x13e4b6(0x196)],activeRegion=_0x316bfb?.[_0x13e4b6(0x195)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a235_0x1a8506(0x191)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a235_0x1a8506(0x187)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a235_0x1a8506(0x199)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];function a235_0x4049(_0x3ba6dd,_0x36d436){_0x3ba6dd=_0x3ba6dd-0x184;const _0x26455c=a235_0x2645();let _0x404970=_0x26455c[_0x3ba6dd];return _0x404970;}export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a235_0x1a8506(0x185)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}function a235_0x2645(){const _0x50b7c2=['162TwJjnh','3327380IukFcY','userDomain','production','10176804LbvGdF','certificateDomain','kbDomain','6CMsLOL','user','origin','trim','20251rBLxse','region','cdn','/web-app/app/','runtimeDomain','runtime','3QoaIIE','432XYEaex','daily','serviceDomains','12595nKPByu','hostname','2060106BVPejv','3209835DjiVbV','212270RUKZIo','appDomain','apiDomain','app','localDomain','api','/app/'];a235_0x2645=function(){return _0x50b7c2;};return a235_0x2645();}export const getAppBaseUrl=_0x5874b3=>{const _0x31d126=a235_0x1a8506,_0x1868b0=encodeURIComponent(_0x5874b3[_0x31d126(0x193)]());return isProduction(getEnv())?getAppDomain()+_0x31d126(0x188)+_0x1868b0:getAppDomain()+_0x31d126(0x197)+_0x1868b0;};export const getPublishedAppDomain=_0x2a19ca=>{const _0x5d741f=a235_0x1a8506,_0x4351a4=new URL(getAppDomain());return _0x4351a4[_0x5d741f(0x19f)]=_0x2a19ca[_0x5d741f(0x193)]()+'.'+_0x4351a4[_0x5d741f(0x19f)],_0x4351a4[_0x5d741f(0x192)];};
|
package/lib/constant/env.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a236_0x26bee3=a236_0x388c;(function(_0x5cf6a5,_0x5023b4){const _0x407349=a236_0x388c,_0x129b8a=_0x5cf6a5();while(!![]){try{const _0x32c61a=parseInt(_0x407349(0x180))/0x1+parseInt(_0x407349(0x183))/0x2+-parseInt(_0x407349(0x189))/0x3*(parseInt(_0x407349(0x17d))/0x4)+parseInt(_0x407349(0x17c))/0x5*(parseInt(_0x407349(0x187))/0x6)+-parseInt(_0x407349(0x17e))/0x7+parseInt(_0x407349(0x188))/0x8+-parseInt(_0x407349(0x186))/0x9*(parseInt(_0x407349(0x185))/0xa);if(_0x32c61a===_0x5023b4)break;else _0x129b8a['push'](_0x129b8a['shift']());}catch(_0x2c8498){_0x129b8a['push'](_0x129b8a['shift']());}}}(a236_0xcd9d,0x60f00));function a236_0x388c(_0x4e865a,_0x18b248){_0x4e865a=_0x4e865a-0x17c;const _0xcd9db1=a236_0xcd9d();let _0x388ce9=_0xcd9db1[_0x4e865a];return _0x388ce9;}export const RABETBASE_ENV_VALUES=[a236_0x26bee3(0x182),a236_0x26bee3(0x17f)];function a236_0xcd9d(){const _0x1c11e5=['development','10sbrkow','9394551oSsTQS','2681826xWlmRz','3183104DNXALM','234084Eqbour','5OVHtOU','20XIApnq','999061VfFuAj','daily','725730LqWkAC','online','production','806338odrLCg'];a236_0xcd9d=function(){return _0x1c11e5;};return a236_0xcd9d();}export function normalizeEnv(_0x3eae6e){const _0xd117f6=a236_0x26bee3;return _0x3eae6e===_0xd117f6(0x181)?'production':_0x3eae6e;}export function isProduction(_0x5bbae6){const _0x4ad1fb=a236_0x26bee3;return normalizeEnv(_0x5bbae6)===_0x4ad1fb(0x182);}export function isDaily(_0x252211){return normalizeEnv(_0x252211)==='daily';}export function isDev(_0x329088){const _0x4ae77a=a236_0x26bee3,_0xfeeb38=normalizeEnv(_0x329088);return _0xfeeb38===_0x4ae77a(0x184)||_0xfeeb38==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a236_0x26bee3(0x182));export function getEnv(){return env;}export function initEnv(_0x1620eb){env=normalizeEnv(_0x1620eb);}
|
package/lib/constant/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a237_0x47af(_0x15543a,_0x13e140){_0x15543a=_0x15543a-0xbe;const _0x2fabae=a237_0x2fab();let _0x47affb=_0x2fabae[_0x15543a];return _0x47affb;}function a237_0x2fab(){const _0x34df83=['4576413heVprX','2328831TFALNZ','12284SNJlHW','1123588UuKkQK','10842354nEiZqp','245aXOKmX','140sBXeLc','pretty','10NzbBgY','6033152pdOZQr','compress','10954629CcRWsh','json'];a237_0x2fab=function(){return _0x34df83;};return a237_0x2fab();}const a237_0x3ad6c7=a237_0x47af;(function(_0x49c30e,_0x4327cc){const _0x1ee4b1=a237_0x47af,_0x1e94d5=_0x49c30e();while(!![]){try{const _0x5ed615=parseInt(_0x1ee4b1(0xc4))/0x1*(parseInt(_0x1ee4b1(0xc1))/0x2)+parseInt(_0x1ee4b1(0xbf))/0x3+-parseInt(_0x1ee4b1(0xc2))/0x4*(-parseInt(_0x1ee4b1(0xc7))/0x5)+parseInt(_0x1ee4b1(0xc3))/0x6+-parseInt(_0x1ee4b1(0xca))/0x7+parseInt(_0x1ee4b1(0xc8))/0x8+-parseInt(_0x1ee4b1(0xc0))/0x9*(parseInt(_0x1ee4b1(0xc5))/0xa);if(_0x5ed615===_0x4327cc)break;else _0x1e94d5['push'](_0x1e94d5['shift']());}catch(_0x2ab3db){_0x1e94d5['push'](_0x1e94d5['shift']());}}}(a237_0x2fab,0xebc35));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a237_0x3ad6c7(0xbe),a237_0x3ad6c7(0xc6),a237_0x3ad6c7(0xc9)];
|
package/lib/constant/paths.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a238_0x2f6d(_0x3e38e7,_0x174f4f){_0x3e38e7=_0x3e38e7-0x64;const _0xd5e298=a238_0xd5e2();let _0x2f6d99=_0xd5e298[_0x3e38e7];return _0x2f6d99;}const a238_0x2beb75=a238_0x2f6d;(function(_0x4b9e05,_0x15a257){const _0x2217d2=a238_0x2f6d,_0x3e5b3d=_0x4b9e05();while(!![]){try{const _0x2ca161=parseInt(_0x2217d2(0x64))/0x1*(parseInt(_0x2217d2(0x6e))/0x2)+-parseInt(_0x2217d2(0x67))/0x3+parseInt(_0x2217d2(0x6c))/0x4*(-parseInt(_0x2217d2(0x65))/0x5)+parseInt(_0x2217d2(0x68))/0x6*(-parseInt(_0x2217d2(0x6b))/0x7)+-parseInt(_0x2217d2(0x69))/0x8*(-parseInt(_0x2217d2(0x6a))/0x9)+parseInt(_0x2217d2(0x6d))/0xa*(-parseInt(_0x2217d2(0x6f))/0xb)+parseInt(_0x2217d2(0x66))/0xc;if(_0x2ca161===_0x15a257)break;else _0x3e5b3d['push'](_0x3e5b3d['shift']());}catch(_0x5c56fb){_0x3e5b3d['push'](_0x3e5b3d['shift']());}}}(a238_0xd5e2,0xee017));export const DEFAULT_API_DIR=a238_0x2beb75(0x70);function a238_0xd5e2(){const _0x1279d5=['412720dQAKnC','126bmkfge','95515FviknQ','152WFQWMl','109390hJHNGz','2588798iXEnjf','979cgfoIL','./src/api','1KcqFUP','237970rJjNRw','31069908WaMbqQ','2341737PCcjTx','30iDRWsP'];a238_0xd5e2=function(){return _0x1279d5;};return a238_0xd5e2();}
|
package/lib/constant/region.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x574049,_0x1083f3){const _0x3f094b=a239_0x300e,_0x50419e=_0x574049();while(!![]){try{const _0x31bbb9=parseInt(_0x3f094b(0xba))/0x1*(parseInt(_0x3f094b(0xb5))/0x2)+-parseInt(_0x3f094b(0xb2))/0x3*(parseInt(_0x3f094b(0xb9))/0x4)+-parseInt(_0x3f094b(0xb8))/0x5+parseInt(_0x3f094b(0xb1))/0x6*(parseInt(_0x3f094b(0xbd))/0x7)+parseInt(_0x3f094b(0xb4))/0x8+parseInt(_0x3f094b(0xbb))/0x9+parseInt(_0x3f094b(0xb7))/0xa*(-parseInt(_0x3f094b(0xbc))/0xb);if(_0x31bbb9===_0x1083f3)break;else _0x50419e['push'](_0x50419e['shift']());}catch(_0x8d7aa8){_0x50419e['push'](_0x50419e['shift']());}}}(a239_0x5c3c,0xe06a7));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;function a239_0x300e(_0x1e7361,_0x4d6b94){_0x1e7361=_0x1e7361-0xb1;const _0x5c3c95=a239_0x5c3c();let _0x300e74=_0x5c3c95[_0x1e7361];return _0x300e74;}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x127e6f){return typeof _0x127e6f==='string'&&LOVRABET_REGION_VALUES['includes'](_0x127e6f);}function a239_0x5c3c(){const _0x446e85=['742NFmpth','15369876RcSwgl','154MyxZnX','371yaAvwo','195618qITaKy','3mPQeyh','string','7062240CIZstV','2738MAlips','includes','2638810SLSDgK','612865knSYXo','2392748HIhCoE'];a239_0x5c3c=function(){return _0x446e85;};return a239_0x5c3c();}export function isEnabledLovrabetRegion(_0x310aab){const _0x201c8e=a239_0x300e;return typeof _0x310aab===_0x201c8e(0xb3)&&ENABLED_LOVRABET_REGION_VALUES[_0x201c8e(0xb6)](_0x310aab);}export function normalizeLovrabetRegion(_0x35c71f){if(typeof _0x35c71f!=='string')return undefined;const _0x568ae2=REGION_ALIASES[_0x35c71f]??_0x35c71f;return isLovrabetRegion(_0x568ae2)?_0x568ae2:undefined;}export function isInvalidLovrabetRegion(_0x25431f){return _0x25431f!==undefined&&_0x25431f!==null&&_0x25431f!==''&&normalizeLovrabetRegion(_0x25431f)===undefined;}
|
package/lib/constant/risk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a240_0x72672e=a240_0x2c66;(function(_0x1455cc,_0x2436c3){const _0x5400c0=a240_0x2c66,_0x57a6df=_0x1455cc();while(!![]){try{const _0x737782=-parseInt(_0x5400c0(0xf5))/0x1+parseInt(_0x5400c0(0xf6))/0x2*(-parseInt(_0x5400c0(0xf1))/0x3)+-parseInt(_0x5400c0(0xf4))/0x4+-parseInt(_0x5400c0(0xf9))/0x5*(-parseInt(_0x5400c0(0xf2))/0x6)+-parseInt(_0x5400c0(0xfa))/0x7*(parseInt(_0x5400c0(0xfb))/0x8)+-parseInt(_0x5400c0(0xf8))/0x9+parseInt(_0x5400c0(0xf0))/0xa;if(_0x737782===_0x2436c3)break;else _0x57a6df['push'](_0x57a6df['shift']());}catch(_0x38ad56){_0x57a6df['push'](_0x57a6df['shift']());}}}(a240_0x1da6,0x1f88c));function a240_0x1da6(){const _0x40dd0a=['4ejmkkO','high-risk-write','303750ljkLgq','278215wQaKve','7zxZdDx','89168TkyrPA','2905830lssKfz','213258QEDlRb','12dCLtlY','write','69284koTbTr','68316YvXVNv'];a240_0x1da6=function(){return _0x40dd0a;};return a240_0x1da6();}function a240_0x2c66(_0x35f01c,_0x3e03a0){_0x35f01c=_0x35f01c-0xf0;const _0x1da635=a240_0x1da6();let _0x2c6688=_0x1da635[_0x35f01c];return _0x2c6688;}export const RISK_LEVEL_VALUES=['read',a240_0x72672e(0xf3),a240_0x72672e(0xf7)];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a241_0xb1ca(_0x149e49,_0x433cde){_0x149e49=_0x149e49-0x14a;const _0x5b9b08=a241_0x5b9b();let _0xb1ca0b=_0x5b9b08[_0x149e49];return _0xb1ca0b;}(function(_0x467475,_0x139e69){const _0x4e3af4=a241_0xb1ca,_0x478084=_0x467475();while(!![]){try{const _0x59afbc=-parseInt(_0x4e3af4(0x154))/0x1*(-parseInt(_0x4e3af4(0x155))/0x2)+-parseInt(_0x4e3af4(0x150))/0x3+-parseInt(_0x4e3af4(0x14c))/0x4*(-parseInt(_0x4e3af4(0x14b))/0x5)+parseInt(_0x4e3af4(0x14d))/0x6*(-parseInt(_0x4e3af4(0x157))/0x7)+parseInt(_0x4e3af4(0x159))/0x8*(-parseInt(_0x4e3af4(0x14f))/0x9)+-parseInt(_0x4e3af4(0x14a))/0xa*(-parseInt(_0x4e3af4(0x152))/0xb)+-parseInt(_0x4e3af4(0x158))/0xc;if(_0x59afbc===_0x139e69)break;else _0x478084['push'](_0x478084['shift']());}catch(_0xb33e4a){_0x478084['push'](_0x478084['shift']());}}}(a241_0x5b9b,0x1cf07));import{OFFICIAL_ROUTING_PROFILES as a241_0x55b6e6,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a241_0x55b6e6;function a241_0x5b9b(){const _0x5c0a35=['11MXOEpU','Official\x20routing\x20for\x20region\x20\x22','82rZFHfz','5562bXGhAo','libraries','7FIsppO','956664LvPMCY','16eeQfop','1795620KOrRUK','275785edFPhl','4FqIYRb','875754VMMfdn','lovrabet','121707wlyNkW','274497JzYSHK','cdn'];a241_0x5b9b=function(){return _0x5c0a35;};return a241_0x5b9b();}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x2b955f){return OFFICIAL_ROUTING_PROFILES[_0x2b955f];}export function getOfficialRoutingCdn(_0x4d876e){const _0x51b7cb=a241_0xb1ca,_0x5b82a5=getOfficialRoutingProfile(_0x4d876e)[_0x51b7cb(0x151)];if(!_0x5b82a5[_0x51b7cb(0x14e)])throw new Error(_0x51b7cb(0x153)+_0x4d876e+'\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.');return{'libraries':_0x5b82a5[_0x51b7cb(0x156)],'lovrabet':_0x5b82a5[_0x51b7cb(0x14e)]};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a242_0x41c7(){const _0xfcbd74=['write','597122dLRygo','object','APP','find','ENV','pageSize','FORMAT','keys','daily','8IXuMpM','VERBOSE','app','982176hMfuXL','10659313uHBmtd','format','appcode','length','high-risk-write','string','cookie','apps','globalConfig','623564NaGvkQ','entries','trim','projectPath','production','ACCESS_KEY','1394752xwupeT','read','locale','694743qPXBMc','riskLevel','COOKIE','env','1824030dGNsuE','apiDir','RISK_LEVEL','projectConfig','accessKey'];a242_0x41c7=function(){return _0xfcbd74;};return a242_0x41c7();}(function(_0x165d74,_0x5439ed){const _0x56327d=a242_0x5d37,_0x7b145e=_0x165d74();while(!![]){try{const _0x4a6412=-parseInt(_0x56327d(0xa1))/0x1+-parseInt(_0x56327d(0x94))/0x2+-parseInt(_0x56327d(0x97))/0x3+-parseInt(_0x56327d(0x8e))/0x4+parseInt(_0x56327d(0x9b))/0x5+parseInt(_0x56327d(0x84))/0x6+-parseInt(_0x56327d(0x85))/0x7*(-parseInt(_0x56327d(0x81))/0x8);if(_0x4a6412===_0x5439ed)break;else _0x7b145e['push'](_0x7b145e['shift']());}catch(_0x18d530){_0x7b145e['push'](_0x7b145e['shift']());}}}(a242_0x41c7,0x5a28b));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0x3ec9b1){const _0x2c3efc=a242_0x5d37;return typeof _0x3ec9b1===_0x2c3efc(0x8a)&&_0x3ec9b1[_0x2c3efc(0x90)]()?_0x3ec9b1[_0x2c3efc(0x90)]():undefined;}function appProfiles(_0x25c1f0){const _0x5e6caf=a242_0x5d37;return _0x25c1f0[_0x5e6caf(0x8c)]&&typeof _0x25c1f0[_0x5e6caf(0x8c)]===_0x5e6caf(0x79)?_0x25c1f0[_0x5e6caf(0x8c)]:{};}function resolveDefaultAppName(_0x40403e){const _0x21194e=a242_0x5d37,_0x5a4cfd=stringConfigValue(_0x40403e['defaultApp']);if(_0x5a4cfd)return _0x5a4cfd;const _0x7602ea=Object[_0x21194e(0x7f)](appProfiles(_0x40403e));return _0x7602ea['length']===0x1?_0x7602ea[0x0]:undefined;}function a242_0x5d37(_0x117397,_0x581b46){_0x117397=_0x117397-0x79;const _0x41c747=a242_0x41c7();let _0x5d37d0=_0x41c747[_0x117397];return _0x5d37d0;}function resolveTopLevelAppCode(_0x4566c6){const _0x20b904=a242_0x5d37;return stringConfigValue(_0x4566c6['appcode'])||stringConfigValue(_0x4566c6[_0x20b904(0x83)]);}function normalizeRiskCeiling(_0x21e9a8){const _0x64a940=a242_0x5d37;if(_0x21e9a8===undefined||_0x21e9a8===null)return undefined;if(_0x21e9a8==='read'||_0x21e9a8===_0x64a940(0xa0)||_0x21e9a8===_0x64a940(0x89))return _0x21e9a8;return _0x64a940(0x95);}function resolveRiskCeiling(..._0x51d123){let _0x33c364;for(const _0x3414ca of _0x51d123){const _0x36f070=normalizeRiskCeiling(_0x3414ca);_0x36f070&&(!_0x33c364||riskLevelOrder(_0x36f070)<riskLevelOrder(_0x33c364))&&(_0x33c364=_0x36f070);}return _0x33c364??DEFAULT_CONFIG_VALUES['riskLevel'];}export function resolveAppConfig({raw:_0x1260f1,flags:_0x563588,layers:_0x51fc9e,readEnv:_0xf6abab}){const _0x9d0cec=a242_0x5d37,_0x1b8efd=_0x51fc9e?.[_0x9d0cec(0x9e)]??{},_0x1f65e0=_0x51fc9e?.[_0x9d0cec(0x8d)]??{},_0x124402=!!_0x51fc9e?.[_0x9d0cec(0x91)]||Object[_0x9d0cec(0x7f)](_0x1b8efd)[_0x9d0cec(0x88)]>0x0,_0x1dfe28=!_0x124402,_0x396f0d=_0x124402?resolveDefaultAppName(_0x1b8efd):undefined,_0x34ea72=_0x1dfe28?resolveDefaultAppName(_0x1f65e0):undefined,_0x29e6b4=stringConfigValue(_0x563588[_0x9d0cec(0x83)]),_0x157d5c=_0xf6abab(_0x9d0cec(0x7a)),_0x509e74={};if(_0x1260f1[_0x9d0cec(0x8c)]&&typeof _0x1260f1[_0x9d0cec(0x8c)]===_0x9d0cec(0x79))for(const [_0x24537c,_0x18448a]of Object[_0x9d0cec(0x8f)](_0x1260f1['apps'])){_0x18448a&&typeof _0x18448a===_0x9d0cec(0x79)&&_0x18448a['appcode']&&(_0x509e74[_0x24537c]=_0x18448a);}const _0x4b4c52=_0x396f0d||_0x34ea72||resolveDefaultAppName(_0x1260f1),_0xfa2f6b=Object[_0x9d0cec(0x7f)](_0x509e74)['length']>0x0,_0x1ec395=_0x29e6b4||_0x396f0d||_0x157d5c||_0x34ea72||_0x4b4c52||undefined,_0x50f365=stringConfigValue(_0x563588[_0x9d0cec(0x87)]),_0x3fa52e=_0x50f365?Object[_0x9d0cec(0x8f)](_0x509e74)[_0x9d0cec(0x7b)](([,_0x3315a2])=>_0x3315a2?.['appcode']===_0x50f365):undefined,_0x60c2e4=_0x3fa52e?.[0x0],_0x3ae2b3=_0x3fa52e?.[0x1],_0x4dd718=_0x50f365?_0x60c2e4:_0x1ec395;let _0x557708=_0x4dd718&&_0x509e74[_0x4dd718]?_0x509e74[_0x4dd718]:undefined;_0x50f365&&_0x3ae2b3&&(_0x557708=_0x3ae2b3);const _0x3d983c=_0x50f365?_0x3ae2b3??_0x557708:_0x557708,_0x4aba8a=!_0x29e6b4&&!_0x396f0d&&_0x157d5c&&_0x4dd718===_0x157d5c,_0x5d66f2=_0x29e6b4||(_0x4aba8a?_0x157d5c:undefined)||(_0x50f365?_0x60c2e4:undefined),_0x23ea16=_0x3d983c?.[_0x9d0cec(0x87)],_0x264324=_0x124402?resolveTopLevelAppCode(_0x1b8efd):undefined,_0x9a3bdd=_0x1dfe28?resolveTopLevelAppCode(_0x1f65e0):undefined,_0x5b5ad4=_0x29e6b4||_0x396f0d?_0x23ea16:undefined,_0xc135d0=!_0x29e6b4&&!_0x396f0d?_0x23ea16:undefined,_0x1881d2=_0x50f365||_0x5b5ad4||_0x264324||_0xc135d0||_0x9a3bdd||undefined,_0x447a10=_0x124402?stringConfigValue(_0x1b8efd['env']):undefined,_0xdd93b5=_0x1dfe28?stringConfigValue(_0x1f65e0[_0x9d0cec(0x9a)]):undefined,_0x36cb94=_0x563588['env']||_0x3d983c?.[_0x9d0cec(0x9a)]||_0x447a10||_0xf6abab(_0x9d0cec(0x7c))||_0xdd93b5||_0x1260f1[_0x9d0cec(0x9a)]||DEFAULT_CONFIG_VALUES[_0x9d0cec(0x9a)],_0x53414d=_0x3d983c?.[_0x9d0cec(0x96)]||_0x1260f1['locale']||DEFAULT_CONFIG_VALUES[_0x9d0cec(0x96)],_0x10afa6=_0xf6abab(_0x9d0cec(0x99))||_0x3d983c?.[_0x9d0cec(0x8b)]||_0x1260f1['cookie']||undefined,_0x4e08da=_0xf6abab(_0x9d0cec(0x93))||_0x3d983c?.[_0x9d0cec(0x9f)]||_0x1260f1[_0x9d0cec(0x9f)]||undefined,_0x1eef7d=_0x563588[_0x9d0cec(0x86)]||_0xf6abab(_0x9d0cec(0x7e))||_0x3d983c?.[_0x9d0cec(0x86)]||_0x1260f1[_0x9d0cec(0x86)],_0x1092b2=normalizeLegacyOutputFormat(_0x1eef7d),_0x5e521f=_0xf6abab('PAGE_SIZE')||_0x3d983c?.[_0x9d0cec(0x7d)]||_0x1260f1['pageSize'],_0x16684f=_0x5e521f?Number(_0x5e521f)||undefined:undefined,_0x1fb5f4=_0x51fc9e?[_0x51fc9e[_0x9d0cec(0x8d)][_0x9d0cec(0x98)],_0x51fc9e['projectConfig'][_0x9d0cec(0x98)]]:[_0x1260f1[_0x9d0cec(0x98)]],_0x3910bf=resolveRiskCeiling(..._0x1fb5f4,_0x3d983c?.[_0x9d0cec(0x98)]),_0x1f10be=resolveRiskCeiling(_0x3910bf,_0xf6abab(_0x9d0cec(0x9d))),_0x498297=_0xf6abab(_0x9d0cec(0x82)),_0x5e1606=_0x498297==='1'||_0x498297==='true',_0x82a546=_0x3d983c?.['apiDir']||_0x1260f1[_0x9d0cec(0x9c)]||DEFAULT_CONFIG_VALUES[_0x9d0cec(0x9c)],_0x8dc51b=isDaily(normalizeEnv(String(_0x36cb94)))?_0x9d0cec(0x80):_0x9d0cec(0x92);return{'appCode':typeof _0x1881d2===_0x9d0cec(0x8a)&&_0x1881d2[_0x9d0cec(0x90)]()?_0x1881d2[_0x9d0cec(0x90)]():undefined,'env':_0x8dc51b,'locale':_0x53414d,'cookie':_0x10afa6,'accessKey':_0x4e08da,'format':_0x1092b2,'pageSize':_0x16684f,'riskLevel':_0x1f10be,'verbose':_0x5e1606,'apiDir':_0x82a546,'apps':_0x509e74,'defaultApp':_0x4b4c52,'currentApp':_0xfa2f6b?_0x4dd718:undefined,'explicitAppName':_0x5d66f2};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x11e219,_0x285cb6){const _0x4eaaaf=a243_0x8703,_0x463444=_0x11e219();while(!![]){try{const _0x4e863e=parseInt(_0x4eaaaf(0xd1))/0x1*(-parseInt(_0x4eaaaf(0xd8))/0x2)+parseInt(_0x4eaaaf(0xd6))/0x3*(parseInt(_0x4eaaaf(0xd0))/0x4)+-parseInt(_0x4eaaaf(0xd4))/0x5*(-parseInt(_0x4eaaaf(0xda))/0x6)+parseInt(_0x4eaaaf(0xd7))/0x7+parseInt(_0x4eaaaf(0xd9))/0x8+parseInt(_0x4eaaaf(0xd5))/0x9*(parseInt(_0x4eaaaf(0xcf))/0xa)+-parseInt(_0x4eaaaf(0xd3))/0xb;if(_0x4e863e===_0x285cb6)break;else _0x463444['push'](_0x463444['shift']());}catch(_0x2bd42c){_0x463444['push'](_0x463444['shift']());}}}(a243_0x16b5,0xf1cdd));import{getIsSessionValid}from'../auth/is-session-valid.js';function a243_0x8703(_0x58d503,_0x302634){_0x58d503=_0x58d503-0xce;const _0x16b57d=a243_0x16b5();let _0x870306=_0x16b57d[_0x58d503];return _0x870306;}import{CliErrors}from'../errors.js';function a243_0x16b5(){const _0x424ea3=['cookie','27849723mINslW','785ANwvnU','58518DEewAI','270NzpcXp','13046327oegRvi','183316dVWKsW','5738304IkDVxe','26946wecMPE','authRequired','../auth/get-cookie.js','270PifLWU','6764cEjzNb','1zRGnxG'];a243_0x16b5=function(){return _0x424ea3;};return a243_0x16b5();}export async function buildAuth(_0x4c9a35){const _0x41c9c9=a243_0x8703,{getCookie:_0x5a472f}=await import(_0x41c9c9(0xce)),_0x434855=_0x4c9a35[_0x41c9c9(0xd2)]||_0x5a472f(),_0x54fd52=_0x434855?await getIsSessionValid():![];return{'cookie':_0x434855,'isLoggedIn':_0x54fd52,async 'getOrLogin'(){const _0x5132da=_0x41c9c9;if(_0x434855&&_0x54fd52)return _0x434855;throw CliErrors[_0x5132da(0xdb)]();}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a244_0x40f8(){const _0x58b8e0=['apiDir','certificateDomain','12YRiofB','10Xvdpbn','string','warn','status','length','missing','userDomain','12qpOEUj','pageSize','cwd','runtimeDomain','error','utf8','126408jRAuSW','format','config','1374kzTWEq','783wfmWBI','project','empty','1977309GFQACX','kbDomain','keys','silent','64339FnOgWo','riskLevel','apps','.rabetbase.json','env','routing','migrated','\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20','stringify','appcode','trim','Project','1440280CJVWww','accessKey','11256HEBnPR','inherit','skillDomain','Global','object','data','defaultApp','257293gRYNlq','app','message','set','projectPath','locale','407720LUBpHk','get','\x0a\x20\x20','cookie'];a244_0x40f8=function(){return _0x58b8e0;};return a244_0x40f8();}const a244_0x4f36d5=a244_0x4ffc;function a244_0x4ffc(_0x49bcd7,_0x10141a){_0x49bcd7=_0x49bcd7-0x1a4;const _0x40f844=a244_0x40f8();let _0x4ffc05=_0x40f844[_0x49bcd7];return _0x4ffc05;}(function(_0x1ae88e,_0x5b09c0){const _0x5097ea=a244_0x4ffc,_0x1721a9=_0x1ae88e();while(!![]){try{const _0x21e6f3=-parseInt(_0x5097ea(0x1d8))/0x1*(-parseInt(_0x5097ea(0x1b2))/0x2)+parseInt(_0x5097ea(0x1bf))/0x3+parseInt(_0x5097ea(0x1a4))/0x4*(-parseInt(_0x5097ea(0x1ab))/0x5)+-parseInt(_0x5097ea(0x1bb))/0x6*(-parseInt(_0x5097ea(0x1d1))/0x7)+-parseInt(_0x5097ea(0x1b8))/0x8*(parseInt(_0x5097ea(0x1bc))/0x9)+-parseInt(_0x5097ea(0x1cf))/0xa+parseInt(_0x5097ea(0x1c3))/0xb*(parseInt(_0x5097ea(0x1aa))/0xc);if(_0x21e6f3===_0x5b09c0)break;else _0x1721a9['push'](_0x1721a9['shift']());}catch(_0x48252a){_0x1721a9['push'](_0x1721a9['shift']());}}}(a244_0x40f8,0xd095f));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';import{homedir}from'node:os';import{CLI_BIN_NAME}from'../constant/cli.js';export const NEW_CONFIG_NAME=a244_0x4f36d5(0x1c6);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x54fd68){for(const _0x4ee6d3 of CONFIG_NAMES){const _0x57c5bf=resolve(_0x54fd68,_0x4ee6d3);if(existsSync(_0x57c5bf))return _0x57c5bf;}return undefined;}export function findProjectRootDirectory(_0x3d78f7=process['cwd']()){let _0xae8dbf=resolve(_0x3d78f7);const {root:_0x341881}=parse(_0xae8dbf),_0x2ecf80=homedir();while(!![]){if(resolveConfigPath(_0xae8dbf)){if(_0xae8dbf===_0x2ecf80)break;return _0xae8dbf;}if(_0xae8dbf===_0x341881||_0xae8dbf===_0x2ecf80)break;const _0x41bc5b=dirname(_0xae8dbf);if(_0x41bc5b===_0xae8dbf)break;_0xae8dbf=_0x41bc5b;}return resolve(_0x3d78f7);}export function getProjectConfigPath(){const _0xe2b662=a244_0x4f36d5;return resolveConfigPath(process[_0xe2b662(0x1b4)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x5529eb){const _0x5cfd58=a244_0x4f36d5;if(!existsSync(_0x5529eb))return{'status':_0x5cfd58(0x1b0)};try{const _0x1231c6=readFileSync(_0x5529eb,{'encoding':_0x5cfd58(0x1b7)});if(!_0x1231c6?.[_0x5cfd58(0x1cd)]())return{'status':_0x5cfd58(0x1be)};const _0x3652cc=JSON['parse'](_0x1231c6);return{'status':'ok','data':_0x3652cc};}catch(_0x21d8ad){return{'status':'error','message':_0x21d8ad instanceof Error?_0x21d8ad['message']:String(_0x21d8ad)};}}function parseCliConfigJsonFile(_0x125e77,_0x2d8a05,_0x5ef588){const _0x223b9b=a244_0x4f36d5,_0x42d106=inspectCliConfigJsonFile(_0x125e77);if(_0x42d106[_0x223b9b(0x1ae)]===_0x223b9b(0x1b0)||_0x42d106[_0x223b9b(0x1ae)]==='empty')return{};if(_0x42d106['status']==='ok')return _0x42d106[_0x223b9b(0x1d6)];return _0x2d8a05===_0x223b9b(0x1ad)&&_0x5ef588&&console[_0x223b9b(0x1b6)](CLI_BIN_NAME+':\x20'+_0x5ef588+_0x223b9b(0x1ca)+_0x125e77+_0x223b9b(0x1a6)+_0x42d106[_0x223b9b(0x1da)]),{};}function normalizeLegacyConfigShape(_0x402f1f){const _0x516cf7=a244_0x4f36d5;if(!_0x402f1f||typeof _0x402f1f!==_0x516cf7(0x1d5))return{'config':{},'migrated':![]};const _0xa1a63f={..._0x402f1f},_0xd0a994=_0xa1a63f[_0x516cf7(0x1c5)]&&typeof _0xa1a63f[_0x516cf7(0x1c5)]===_0x516cf7(0x1d5)?{..._0xa1a63f[_0x516cf7(0x1c5)]}:{},_0x5eb4c0=Object[_0x516cf7(0x1c1)](_0xd0a994)[_0x516cf7(0x1af)],_0x3be5ce=_0xa1a63f['appcode']||_0xa1a63f['app'];let _0x2649ae=![];if(_0x3be5ce&&_0x5eb4c0===0x0){const _0x25dbe1=typeof _0xa1a63f[_0x516cf7(0x1d7)]===_0x516cf7(0x1ac)&&_0xa1a63f[_0x516cf7(0x1d7)][_0x516cf7(0x1cd)]()?_0xa1a63f['defaultApp']:String(_0x3be5ce)[_0x516cf7(0x1cd)]();_0xd0a994[_0x25dbe1]={'appcode':String(_0x3be5ce)[_0x516cf7(0x1cd)](),..._0xa1a63f[_0x516cf7(0x1c7)]!=null?{'env':_0xa1a63f[_0x516cf7(0x1c7)]}:{},..._0xa1a63f[_0x516cf7(0x1a8)]!=null?{'apiDir':_0xa1a63f['apiDir']}:{},..._0xa1a63f[_0x516cf7(0x1a7)]!=null?{'cookie':_0xa1a63f[_0x516cf7(0x1a7)]}:{},..._0xa1a63f[_0x516cf7(0x1d0)]!=null?{'accessKey':_0xa1a63f['accessKey']}:{},..._0xa1a63f[_0x516cf7(0x1b9)]!=null?{'format':_0xa1a63f[_0x516cf7(0x1b9)]}:{},..._0xa1a63f[_0x516cf7(0x1b3)]!=null?{'pageSize':_0xa1a63f[_0x516cf7(0x1b3)]}:{},..._0xa1a63f[_0x516cf7(0x1c4)]!=null?{'riskLevel':_0xa1a63f[_0x516cf7(0x1c4)]}:{},..._0xa1a63f[_0x516cf7(0x1dd)]!=null?{'locale':_0xa1a63f[_0x516cf7(0x1dd)]}:{}},_0xa1a63f['apps']=_0xd0a994,delete _0xa1a63f['defaultApp'],_0x2649ae=!![];}return(_0x516cf7(0x1cc)in _0xa1a63f||_0x516cf7(0x1d9)in _0xa1a63f)&&(delete _0xa1a63f['appcode'],delete _0xa1a63f[_0x516cf7(0x1d9)],_0x2649ae=!![]),{'config':_0xa1a63f,'migrated':_0x2649ae};}function writeNormalizedConfigIfNeeded(_0x2a6f3d,_0x31ae9d){const _0xe0d4ff=a244_0x4f36d5,_0x374da7=JSON[_0xe0d4ff(0x1cb)](_0x31ae9d,null,0x2)+'\x0a';if(normalizedWriteCache[_0xe0d4ff(0x1a5)](_0x2a6f3d)===_0x374da7)return;writeConfigFile(_0x2a6f3d,_0x31ae9d),normalizedWriteCache[_0xe0d4ff(0x1db)](_0x2a6f3d,_0x374da7);}function parseAndNormalizeConfig(_0x37fd51,_0x14865a,_0x46a749){const _0x6452d9=a244_0x4f36d5,_0x2d4e70=parseCliConfigJsonFile(_0x37fd51,_0x14865a,_0x46a749),_0x5bb0e1=normalizeLegacyConfigShape(_0x2d4e70);if(_0x5bb0e1[_0x6452d9(0x1c9)])try{writeNormalizedConfigIfNeeded(_0x37fd51,_0x5bb0e1[_0x6452d9(0x1ba)]);}catch{}return _0x5bb0e1['config'];}export function loadRawConfigLayers(_0x52ea9){const _0x3a2a99=a244_0x4f36d5;let _0x8a4617={},_0x585ff7={};const _0x321d21=resolveConfigPath(homedir());_0x321d21&&(_0x8a4617=parseAndNormalizeConfig(_0x321d21,'warn',_0x3a2a99(0x1d4)));const _0x3c79d3=_0x52ea9??findProjectRootDirectory(),_0x601dac=resolveConfigPath(_0x3c79d3);return _0x601dac&&(_0x585ff7=parseAndNormalizeConfig(_0x601dac,_0x3a2a99(0x1ad),_0x3a2a99(0x1ce))),{'globalPath':_0x321d21,'projectPath':_0x601dac,'globalConfig':_0x8a4617,'projectConfig':_0x585ff7};}const INHERIT_WHITELIST=[a244_0x4f36d5(0x1a7),a244_0x4f36d5(0x1d0),a244_0x4f36d5(0x1dd),a244_0x4f36d5(0x1b9),a244_0x4f36d5(0x1c4),a244_0x4f36d5(0x1b3),'region',a244_0x4f36d5(0x1c8),a244_0x4f36d5(0x1b1),'apiDomain',a244_0x4f36d5(0x1b5),a244_0x4f36d5(0x1d3),a244_0x4f36d5(0x1c0),'appDomain','localDomain',a244_0x4f36d5(0x1a9)];export function mergeRawConfigLayers(_0x4667f4){const _0xcf9a43=a244_0x4f36d5,{globalConfig:_0x4eba5e,projectConfig:_0x28766b}=_0x4667f4,_0x1100be=!!_0x4667f4[_0xcf9a43(0x1dc)]||Object[_0xcf9a43(0x1c1)](_0x28766b)['length']>0x0;if(!_0x1100be)return mergeGlobalOnly(_0x4eba5e);return mergeProjectFirst(_0x4eba5e,_0x28766b);}function mergeGlobalOnly(_0x5b0cc6){const _0x2093bc=a244_0x4f36d5,_0x4c5125={..._0x5b0cc6};delete _0x4c5125['inherit'];const _0x5cdab6=_0x5b0cc6[_0x2093bc(0x1c5)]&&typeof _0x5b0cc6['apps']===_0x2093bc(0x1d5)?_0x5b0cc6[_0x2093bc(0x1c5)]:{};if(Object[_0x2093bc(0x1c1)](_0x5cdab6)[_0x2093bc(0x1af)]>0x0)_0x4c5125[_0x2093bc(0x1c5)]=_0x5cdab6;if(_0x5b0cc6[_0x2093bc(0x1d7)])_0x4c5125[_0x2093bc(0x1d7)]=_0x5b0cc6[_0x2093bc(0x1d7)];return _0x4c5125;}function mergeProjectFirst(_0x3efa71,_0x197000){const _0x347a5b=a244_0x4f36d5,_0x4f2986={..._0x197000};delete _0x4f2986[_0x347a5b(0x1d2)];for(const _0xd0655b of INHERIT_WHITELIST){!(_0xd0655b in _0x4f2986)&&_0xd0655b in _0x3efa71&&(_0x4f2986[_0xd0655b]=_0x3efa71[_0xd0655b]);}const _0x365098=_0x197000[_0x347a5b(0x1c5)]&&typeof _0x197000[_0x347a5b(0x1c5)]==='object'?_0x197000[_0x347a5b(0x1c5)]:{};return Object[_0x347a5b(0x1c1)](_0x365098)[_0x347a5b(0x1af)]>0x0?_0x4f2986['apps']=_0x365098:delete _0x4f2986[_0x347a5b(0x1c5)],_0x347a5b(0x1d7)in _0x197000?_0x4f2986[_0x347a5b(0x1d7)]=_0x197000[_0x347a5b(0x1d7)]:delete _0x4f2986[_0x347a5b(0x1d7)],_0x4f2986;}export function readRawConfigWithLayers(_0x4fc760){const _0x421f3d=loadRawConfigLayers(_0x4fc760);return{'config':mergeRawConfigLayers(_0x421f3d),'layers':_0x421f3d};}export function readRawConfig(_0x50fc82){return mergeRawConfigLayers(loadRawConfigLayers(_0x50fc82));}export function readConfigFile(_0x5701fe){const _0x117b3c=a244_0x4f36d5;return parseAndNormalizeConfig(_0x5701fe,_0x117b3c(0x1c2));}export function writeConfigFile(_0x1a292b,_0x193af3){const _0x1b631b=a244_0x4f36d5,_0x1d0f8b=dirname(_0x1a292b);!existsSync(_0x1d0f8b)&&mkdirSync(_0x1d0f8b,{'recursive':!![]});const _0x4a33b9=_0x1a292b+'.tmp';try{writeFileSync(_0x4a33b9,JSON[_0x1b631b(0x1cb)](_0x193af3,null,0x2)+'\x0a',{'encoding':_0x1b631b(0x1b7),'mode':0x180}),renameSync(_0x4a33b9,_0x1a292b);}catch(_0x5a1689){try{unlinkSync(_0x4a33b9);}catch{}throw _0x5a1689;}}export function resolveWriteConfigPath(_0x1ee827){const _0x4191ef=a244_0x4f36d5,_0x4ec350=_0x1ee827===_0x4191ef(0x1bd)?process[_0x4191ef(0x1b4)]():homedir(),_0x3a6c27=resolveConfigPath(_0x4ec350);return _0x3a6c27??resolve(_0x4ec350,NEW_CONFIG_NAME);}
|
package/lib/context.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a245_0x3b4cac=a245_0x2985;(function(_0x4463e2,_0x155059){const _0x12029c=a245_0x2985,_0x246d3f=_0x4463e2();while(!![]){try{const _0x5197f2=-parseInt(_0x12029c(0x199))/0x1*(parseInt(_0x12029c(0x18a))/0x2)+-parseInt(_0x12029c(0x192))/0x3+-parseInt(_0x12029c(0x193))/0x4+parseInt(_0x12029c(0x1a7))/0x5+-parseInt(_0x12029c(0x198))/0x6+-parseInt(_0x12029c(0x19c))/0x7*(-parseInt(_0x12029c(0x189))/0x8)+parseInt(_0x12029c(0x195))/0x9;if(_0x5197f2===_0x155059)break;else _0x246d3f['push'](_0x246d3f['shift']());}catch(_0x5bbb4c){_0x246d3f['push'](_0x246d3f['shift']());}}}(a245_0x55fc,0x779df));import{resolve}from'node:path';import{CLI_BIN_NAME}from'./constant/cli.js';import{buildAuth}from'./context/auth-resolver.js';import{resolveAppConfig}from'./context/app-resolver.js';import{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile}from'./context/config-loader.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'./constant/region.js';import{resolveEnterpriseRoutingManifest}from'./config/domain-config.js';import{logger}from'./utils/logger.js';import{CliErrors}from'./errors.js';export{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile};function env(_0x2aba5b){return process.env[`RABETBASE_${_0x2aba5b}`]||process.env[`LOVRABET_${_0x2aba5b}`]||undefined;}function optionalString(_0x2202d1){const _0x29f1fd=a245_0x2985;return typeof _0x2202d1==='string'&&_0x2202d1[_0x29f1fd(0x182)]()?_0x2202d1[_0x29f1fd(0x182)]():undefined;}function describeConfiguredRegion(_0x2ed9ae){const _0x2432d2=a245_0x2985;return typeof _0x2ed9ae==='string'?JSON[_0x2432d2(0x19d)](_0x2ed9ae):_0x2432d2(0x1a3)+(_0x2ed9ae===null?_0x2432d2(0x1b0):typeof _0x2ed9ae);}function a245_0x55fc(){const _0x43a385=['agentDomain','4431888IYkxnE','88730PNfgAo','-api.ts','platformDomain','5617493oveqpw','stringify','length','certificateDomain','cookie','merged','replace','a\x20value\x20of\x20type\x20','raw','skillDomain','env','2997730nJgVQc','values','appcode','domains','routing','object','./utils/is-non-interactive.js','entries','join','null','argv','./constant/domain.js','validation','projectConfig','project','https://g.lovrabet.com/dist/lovrabet-skill','kbDomain','runtimeDomain','region','userDomain','keys','trim','Run\x20`','skillHubDomain','globalConfig','app','string','defaultApp','8QkEftZ','20Xftakr','find','apps','apiDir','apiDomain','template_base_url','localDomain','setRawCommand','1986504vVtVNK','3232444mTIhCp','appDomain','19657197dzfDvF','filter'];a245_0x55fc=function(){return _0x43a385;};return a245_0x55fc();}function resolveConfiguredRegion(_0x17d2e4){const _0x54fe60=a245_0x2985;if(isInvalidLovrabetRegion(_0x17d2e4))throw CliErrors[_0x54fe60(0x1b3)]('Invalid\x20country/region\x20'+describeConfiguredRegion(_0x17d2e4)+'\x20in\x20Rabetbase\x20configuration.',_0x54fe60(0x183)+CLI_BIN_NAME+'\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.');return normalizeLovrabetRegion(_0x17d2e4)??DEFAULT_LOVRABET_REGION;}export function isRoutingRecoveryService(_0x23c43b){return _0x23c43b==='config'||_0x23c43b==='doctor';}export async function createContext(_0x3b5fe3){const _0x34eb07=a245_0x2985,{config:_0x4c73b6,layers:_0x3992d3}=readRawConfigWithLayers(),_0x1542ae=buildConfig(_0x4c73b6,_0x3b5fe3,_0x3992d3);await initGlobalEnvironment(_0x1542ae);const {getUserDomain:_0x5b9c7d,getApiDomain:_0x52e81a}=await import(_0x34eb07(0x1b2)),_0x19bcb9={'apiDomain':_0x52e81a(),'userDomain':_0x5b9c7d()},_0xa93007=await buildAuth(_0x1542ae);logger['setLogPath'](process['cwd']());const _0x457219=(CLI_BIN_NAME+'\x20'+process[_0x34eb07(0x1b1)]['slice'](0x2)[_0x34eb07(0x1af)]('\x20'))[_0x34eb07(0x182)]();logger[_0x34eb07(0x191)](_0x457219);const {isNonInteractive:_0x2d8cd8}=await import(_0x34eb07(0x1ad)),_0x55ef7c=_0x2d8cd8(_0x3b5fe3);return{'config':_0x1542ae,'auth':_0xa93007,'logger':logger,'env':_0x19bcb9,'nonInteractive':_0x55ef7c};}export function buildConfigFromFlags(_0x1779e9){const {config:_0x58e5f3,layers:_0x4af7c7}=readRawConfigWithLayers();return buildConfig(_0x58e5f3,_0x1779e9,_0x4af7c7);}export async function initGlobalEnvironment(_0x491d3e){const _0x4d684d=a245_0x2985,_0x21f1cd=resolveConfiguredRegion(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x17f)]),_0xbbfe7a=resolveEnterpriseRoutingManifest(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x1ab)]),_0x4b4d8f={'region':_0x21f1cd,'apiDomain':_0xbbfe7a?_0xbbfe7a['domains']['apiDomain']:optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x18e)]),'userDomain':_0xbbfe7a?_0xbbfe7a[_0x4d684d(0x1aa)][_0x4d684d(0x180)]:optionalString(_0x491d3e['raw']?.[_0x4d684d(0x180)]),'runtimeDomain':_0xbbfe7a?_0xbbfe7a[_0x4d684d(0x1aa)][_0x4d684d(0x1b8)]:optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x1b8)]),'skillDomain':_0xbbfe7a?_0xbbfe7a[_0x4d684d(0x1aa)][_0x4d684d(0x1a5)]:optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x1a5)])||optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x184)])||optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x197)])||optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x19b)]),'kbDomain':_0xbbfe7a?_0xbbfe7a[_0x4d684d(0x1aa)][_0x4d684d(0x1b7)]:optionalString(_0x491d3e['raw']?.[_0x4d684d(0x1b7)])||optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x197)])||optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x19b)]),'appDomain':_0xbbfe7a?_0xbbfe7a[_0x4d684d(0x1aa)][_0x4d684d(0x194)]:optionalString(_0x491d3e['raw']?.['appDomain']),'localDomain':_0xbbfe7a?_0xbbfe7a[_0x4d684d(0x1aa)][_0x4d684d(0x190)]:optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.['localDomain']),'certificateDomain':_0xbbfe7a?_0xbbfe7a[_0x4d684d(0x1aa)][_0x4d684d(0x19f)]:optionalString(_0x491d3e[_0x4d684d(0x1a4)]?.[_0x4d684d(0x19f)]),'cdn':_0xbbfe7a?.['cdn']},{initEnv:_0x579e21}=await import('./constant/env.js'),{initDomains:_0xc21d93}=await import(_0x4d684d(0x1b2));_0x579e21(_0x491d3e[_0x4d684d(0x1a6)]),_0xc21d93(_0x4b4d8f);}function a245_0x2985(_0x2b1bda,_0x44b956){_0x2b1bda=_0x2b1bda-0x17f;const _0x55fc6b=a245_0x55fc();let _0x298552=_0x55fc6b[_0x2b1bda];return _0x298552;}export function getConfigAppCode(_0x412f2b){const _0x2abc0a=a245_0x2985,_0x307492=readRawConfig(_0x412f2b);if(_0x307492[_0x2abc0a(0x18c)]&&typeof _0x307492[_0x2abc0a(0x18c)]===_0x2abc0a(0x1ac)){const _0x4ec36e=_0x307492[_0x2abc0a(0x188)];if(_0x4ec36e)return _0x307492['apps'][_0x4ec36e]?.[_0x2abc0a(0x1a9)]?String(_0x307492[_0x2abc0a(0x18c)][_0x4ec36e]['appcode'])[_0x2abc0a(0x182)]():undefined;const _0x4ce6fd=Object[_0x2abc0a(0x1a8)](_0x307492[_0x2abc0a(0x18c)]);if(_0x4ce6fd['length']===0x1&&_0x4ce6fd[0x0]?.[_0x2abc0a(0x1a9)])return String(_0x4ce6fd[0x0]['appcode'])[_0x2abc0a(0x182)]();}const _0x542564=_0x307492['appcode']||_0x307492[_0x2abc0a(0x186)];if(typeof _0x542564!=='string'||_0x542564[_0x2abc0a(0x182)]()==='')return undefined;return _0x542564[_0x2abc0a(0x182)]();}export function getMultiAppConfigs(_0x536e9a=a245_0x3b4cac(0x1b5),_0xf4b3ca){const _0x48c2c4=a245_0x3b4cac,_0x57c5a4=loadRawConfigLayers(_0xf4b3ca);let _0x17a3fa,_0x2f694d;if(_0x536e9a===_0x48c2c4(0x1a1)){const _0x3a3536=_0x57c5a4[_0x48c2c4(0x185)]['apps']&&typeof _0x57c5a4[_0x48c2c4(0x185)][_0x48c2c4(0x18c)]===_0x48c2c4(0x1ac)?_0x57c5a4[_0x48c2c4(0x185)]['apps']:{},_0x13ccef=_0x57c5a4[_0x48c2c4(0x1b4)][_0x48c2c4(0x18c)]&&typeof _0x57c5a4[_0x48c2c4(0x1b4)]['apps']===_0x48c2c4(0x1ac)?_0x57c5a4['projectConfig'][_0x48c2c4(0x18c)]:{};_0x17a3fa={..._0x3a3536,..._0x13ccef};const _0x490999=readRawConfig(_0xf4b3ca);_0x2f694d=_0x490999[_0x48c2c4(0x188)];}else _0x17a3fa=_0x57c5a4['projectConfig']['apps'],_0x2f694d=_0x57c5a4[_0x48c2c4(0x1b4)][_0x48c2c4(0x188)];!_0x2f694d&&_0x17a3fa&&typeof _0x17a3fa===_0x48c2c4(0x1ac)&&Object[_0x48c2c4(0x181)](_0x17a3fa)[_0x48c2c4(0x19e)]===0x1&&(_0x2f694d=Object[_0x48c2c4(0x181)](_0x17a3fa)[0x0]);if(!_0x17a3fa||typeof _0x17a3fa!=='object'||Object[_0x48c2c4(0x181)](_0x17a3fa)['length']===0x0)return null;return Object[_0x48c2c4(0x1ae)](_0x17a3fa)['map'](([_0x2c52c5,_0x343c18])=>({'name':_0x2c52c5,'appcode':_0x343c18?.[_0x48c2c4(0x1a9)]||'','isDefault':_0x2c52c5===_0x2f694d,'env':_0x343c18?.['env'],'apiDir':_0x343c18?.[_0x48c2c4(0x18d)],'cookie':_0x343c18?.[_0x48c2c4(0x1a0)]||undefined}))[_0x48c2c4(0x196)](_0x34e2b8=>_0x34e2b8['appcode']);}export function getTemplateBaseUrl(_0x44a56b){const _0x172fa7=a245_0x3b4cac,_0x12536f=readRawConfig(_0x44a56b);if(_0x12536f['template_base_url']&&typeof _0x12536f[_0x172fa7(0x18f)]===_0x172fa7(0x187))return _0x12536f['template_base_url'][_0x172fa7(0x1a2)](/\/$/,'');return _0x172fa7(0x1b6);}function buildConfig(_0xb0fee8,_0x88e0d7,_0xc65553){return{...resolveAppConfig({'raw':_0xb0fee8,'flags':_0x88e0d7,'layers':_0xc65553,'readEnv':env}),'raw':_0xb0fee8};}export function resolveApiFilePath(_0x18fe97,_0x27a98b){const _0x118e3b=a245_0x3b4cac,_0xef5fa6=resolve(process['cwd'](),_0x18fe97),_0x5c130b=resolve(_0xef5fa6,'api.ts');if(!_0x27a98b)return _0x5c130b;const _0x544f56=readRawConfig(),_0x3aae5c=_0x544f56[_0x118e3b(0x18c)]&&typeof _0x544f56[_0x118e3b(0x18c)]===_0x118e3b(0x1ac)?_0x544f56[_0x118e3b(0x18c)]:{},_0x51f310=Object[_0x118e3b(0x1ae)](_0x3aae5c)[_0x118e3b(0x18b)](([,_0x53a783])=>_0x53a783?.[_0x118e3b(0x1a9)]===_0x27a98b);if(!_0x51f310)return _0x5c130b;const [_0x9e0dad,_0x26c925]=_0x51f310,_0x2225c5=typeof _0x544f56[_0x118e3b(0x188)]===_0x118e3b(0x187)?_0x544f56['defaultApp']:undefined;if(_0x26c925?.[_0x118e3b(0x18d)])return _0x5c130b;if(_0x2225c5&&_0x9e0dad!==_0x2225c5)return resolve(_0xef5fa6,_0x9e0dad+_0x118e3b(0x19a));return _0x5c130b;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x288c76,_0x573af8){const _0x5dedc6=a246_0x263a,_0x5ea77a=_0x288c76();while(!![]){try{const _0x1b5669=parseInt(_0x5dedc6(0xe2))/0x1+-parseInt(_0x5dedc6(0xdc))/0x2+parseInt(_0x5dedc6(0xdd))/0x3+-parseInt(_0x5dedc6(0xd8))/0x4*(-parseInt(_0x5dedc6(0xdb))/0x5)+parseInt(_0x5dedc6(0xe3))/0x6*(-parseInt(_0x5dedc6(0xde))/0x7)+parseInt(_0x5dedc6(0xe4))/0x8+-parseInt(_0x5dedc6(0xe0))/0x9;if(_0x1b5669===_0x573af8)break;else _0x5ea77a['push'](_0x5ea77a['shift']());}catch(_0x1ab5b5){_0x5ea77a['push'](_0x5ea77a['shift']());}}}(a246_0x55fa,0x8a485));import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';const cache=new Map();function parseApiFile(_0x586378){const _0x55545b=a246_0x263a,_0x2a4084=[],_0x2447ee=/\{\s*datasetCode:\s*"([^"]+)"\s*,\s*tableName:\s*"([^"]+)"\s*,\s*name:\s*"([^"]*?)"\s*,\s*alias:\s*"([^"]+)"\s*,?\s*\}/g;let _0x3df2bc;while((_0x3df2bc=_0x2447ee['exec'](_0x586378))!==null){_0x2a4084[_0x55545b(0xda)]({'datasetCode':_0x3df2bc[0x1],'tableName':_0x3df2bc[0x2],'name':_0x3df2bc[0x3],'alias':_0x3df2bc[0x4]});}return _0x2a4084;}function a246_0x263a(_0x32beda,_0x48fb79){_0x32beda=_0x32beda-0xd6;const _0x55fa95=a246_0x55fa();let _0x263a7b=_0x55fa95[_0x32beda];return _0x263a7b;}export function loadAliasMap(_0x35207c,_0x712667,_0x196b0e){const _0x3d9ce5=a246_0x263a,_0x2e5a3a=_0x196b0e??resolve(process['cwd'](),_0x35207c,'api.ts');if(cache[_0x3d9ce5(0xe1)](_0x2e5a3a))return cache[_0x3d9ce5(0xd7)](_0x2e5a3a);if(!existsSync(_0x2e5a3a))return cache[_0x3d9ce5(0xdf)](_0x2e5a3a,[]),[];try{const _0x1bfc8b=readFileSync(_0x2e5a3a,_0x3d9ce5(0xd6)),_0x280fd3=parseApiFile(_0x1bfc8b);return cache[_0x3d9ce5(0xdf)](_0x2e5a3a,_0x280fd3),_0x280fd3;}catch{return cache[_0x3d9ce5(0xdf)](_0x2e5a3a,[]),[];}}export function resolveAlias(_0x26ad80,_0x50d33d,_0x1cd5bd,_0x3c49fc){const _0x24eeca=a246_0x263a;if(!_0x50d33d)return undefined;const _0x23d9ff=loadAliasMap(_0x26ad80,_0x1cd5bd,_0x3c49fc),_0x462659=_0x23d9ff[_0x24eeca(0xe5)](_0x42d2ed=>_0x42d2ed['alias']===_0x50d33d);return _0x462659?.[_0x24eeca(0xd9)];}export function listAliases(_0xe89c5e,_0x3ad96c,_0xc3ba02){return loadAliasMap(_0xe89c5e,_0x3ad96c,_0xc3ba02);}function a246_0x55fa(){const _0x38918d=['get','4nOEDYF','datasetCode','push','3083005nGKtjo','450926AZUdhW','3378120wszUyt','42PNkJBD','set','10938204eKEtBR','has','439372hFMzBB','658848LSViqL','3872472YHPsnq','find','utf-8'];a246_0x55fa=function(){return _0x38918d;};return a246_0x55fa();}
|
package/lib/core/api-client.d.ts
CHANGED
|
@@ -735,32 +735,6 @@ export interface CustomPagePublishRequest {
|
|
|
735
735
|
pageId: number;
|
|
736
736
|
remark?: string;
|
|
737
737
|
}
|
|
738
|
-
export interface AppI18nInfo {
|
|
739
|
-
enableI18n?: boolean;
|
|
740
|
-
langs?: string[];
|
|
741
|
-
}
|
|
742
|
-
export interface AppInfo {
|
|
743
|
-
appCode: string;
|
|
744
|
-
appDomain?: string;
|
|
745
|
-
appName?: string;
|
|
746
|
-
appDesc?: string;
|
|
747
|
-
enableI18n?: boolean;
|
|
748
|
-
i18nInfo?: AppI18nInfo;
|
|
749
|
-
}
|
|
750
|
-
/**
|
|
751
|
-
* 获取应用信息
|
|
752
|
-
*
|
|
753
|
-
* @param appCode 目标应用 code
|
|
754
|
-
* @returns 应用详情
|
|
755
|
-
*/
|
|
756
|
-
export declare function getAppInfo(appCode: string): Promise<AppInfo>;
|
|
757
|
-
/**
|
|
758
|
-
* 获取应用国际化配置
|
|
759
|
-
*
|
|
760
|
-
* @param appCode 目标应用 code
|
|
761
|
-
* @returns 应用国际化开关和语言列表
|
|
762
|
-
*/
|
|
763
|
-
export declare function getI18nInfo(appCode: string): Promise<AppI18nInfo>;
|
|
764
738
|
/**
|
|
765
739
|
* 创建自定义页面(React JSX 实现)
|
|
766
740
|
*
|