@lovrabet/rabetbase-cli 2.3.16-beta.6 → 2.3.16-beta.7
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/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/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/get.js +1 -1
- package/lib/commands/config/index.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/data/filter.js +1 -1
- package/lib/commands/data/getOne.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/data/shared.js +1 -1
- package/lib/commands/dataset/business-group-update.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-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/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.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/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/init/index.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/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/notification/config-list.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/ocr/index.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/standard-page-status.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/permit/index.js +1 -1
- package/lib/commands/permit/page-get.js +1 -1
- package/lib/commands/permit/page-set.js +1 -1
- package/lib/commands/permit/role-apis-set.js +1 -1
- package/lib/commands/permit/role-menus-set.js +1 -1
- package/lib/commands/permit/role-menus.js +1 -1
- package/lib/commands/permit/shared.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/non-interactive.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/index.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/role/create.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/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/workspace/add.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/commands/workspace/remove.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/risk.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.d.ts +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- 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/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/types.js +1 -1
- package/lib/generated/build-info.d.ts +4 -4
- package/lib/generated/build-info.js +1 -1
- package/lib/help.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/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/copy-directory.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/rules-cdn.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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a185_0x15f84e=a185_0x5582;(function(_0x133a9a,_0x44c4d4){const _0x131363=a185_0x5582,_0x195420=_0x133a9a();while(!![]){try{const _0x4b5506=parseInt(_0x131363(0x1af))/0x1*(-parseInt(_0x131363(0x1e1))/0x2)+parseInt(_0x131363(0x1b3))/0x3+-parseInt(_0x131363(0x1c4))/0x4+-parseInt(_0x131363(0x1db))/0x5*(parseInt(_0x131363(0x1e4))/0x6)+parseInt(_0x131363(0x1a2))/0x7+parseInt(_0x131363(0x1c0))/0x8*(parseInt(_0x131363(0x1d2))/0x9)+-parseInt(_0x131363(0x1ba))/0xa;if(_0x4b5506===_0x44c4d4)break;else _0x195420['push'](_0x195420['shift']());}catch(_0x3b9fd4){_0x195420['push'](_0x195420['shift']());}}}(a185_0x33c2,0x706a9));function a185_0x33c2(){const _0x3a125e=['map','trim','string','get','Validate\x20SQL\x20content\x20without\x20saving\x20(type\x20detection,\x20parameter\x20extraction,\x20optional\x20schema\x20check)','Comma-separated\x20dataset\x20codes\x20to\x20cross-check\x20table/column\x20names\x20against','18XqPIvF','isArray','pkField','index_type','flatMap','primary','tables','boolean','length','15WVqvJV','push','\x22\x20not\x20found\x20or\x20not\x20accessible','indexName','utf-8','isSelectOnly','29798vErkDs','toLowerCase','reason','172206iXytpD','--check-indexes\x20requires\x20--schemas.','file','\x22\x20not\x20found\x20in\x20any\x20dataset','split','dbtableConfig','Table\x20\x22','3050621LTwoEv','columns','index_name','Dataset\x20\x22','index_columns','type','unshift','find','filter','check-indexes','dataset','isDangerous','read','3xkRbAX','SQL\x20schema\x20validation','message','fields','866448JJsegZ','valid','sql','from','Audit\x20top-level\x20JOIN\x20equality\x20predicates\x20against\x20dataset\x20index\x20metadata','schemas','cwd','1149570yyBQio','indexes','Provide\x20--file\x20or\x20--sql','name','sqlType','str','1246472dcIgvq','File\x20not\x20found:\x20','tableName','columnNames','1320092QJheot','schemaWarnings','Inline\x20SQL\x20content\x20to\x20validate\x20(alternative\x20to\x20--file)','appCode','schema:','validation','Path\x20to\x20the\x20SQL\x20file\x20to\x20validate','bool'];a185_0x33c2=function(){return _0x3a125e;};return a185_0x33c2();}function a185_0x5582(_0x2d8468,_0xb35ace){_0x2d8468=_0x2d8468-0x1a2;const _0x33c2f3=a185_0x33c2();let _0x558231=_0x33c2f3[_0x2d8468];return _0x558231;}import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';import{validateSql}from'../../core/sql-validator.js';import{auditSqlJoinIndexes}from'../../core/sql-index-auditor.js';import{getDatasetDetail,listDatasets}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{assertDatasetIsDbTableBacked,filterDbTableBackedDatasets}from'../../commands/dataset/capability.js';export const sqlValidate={'service':a185_0x15f84e(0x1b5),'command':'validate','description':a185_0x15f84e(0x1d0),'risk':a185_0x15f84e(0x1ae),'flags':[{'name':'file','type':'string','description':a185_0x15f84e(0x1ca)},{'name':'sql','type':a185_0x15f84e(0x1ce),'description':a185_0x15f84e(0x1c6)},{'name':a185_0x15f84e(0x1b8),'type':a185_0x15f84e(0x1ce),'description':a185_0x15f84e(0x1d1)},{'name':'check-indexes','type':a185_0x15f84e(0x1d9),'description':a185_0x15f84e(0x1b7)}],async 'execute'(_0x1f8150){const _0x567d3b=a185_0x15f84e,_0x35a623=_0x1f8150[_0x567d3b(0x1bf)](_0x567d3b(0x1e6)),_0x281664=_0x1f8150[_0x567d3b(0x1bf)](_0x567d3b(0x1b5)),_0x3cb552=_0x1f8150['str'](_0x567d3b(0x1b8)),_0x47f2b4=_0x1f8150[_0x567d3b(0x1cb)](_0x567d3b(0x1ab));if(!_0x35a623&&!_0x281664)throw CliErrors['flagMissing'](_0x567d3b(0x1e6),_0x567d3b(0x1bc));if(_0x47f2b4&&!_0x3cb552)throw CliErrors[_0x567d3b(0x1c9)](_0x567d3b(0x1e5));let _0x289063;if(_0x35a623){const _0xdd8cf7=resolve(process[_0x567d3b(0x1b9)](),_0x35a623);if(!existsSync(_0xdd8cf7))throw CliErrors[_0x567d3b(0x1c9)](_0x567d3b(0x1c1)+_0xdd8cf7);_0x289063=readFileSync(_0xdd8cf7,_0x567d3b(0x1df));}else _0x289063=_0x281664;const _0xe9f2df=validateSql(_0x289063),_0x5e1ba6={'valid':_0xe9f2df[_0x567d3b(0x1b4)],'sqlType':_0xe9f2df['sqlType'][_0x567d3b(0x1a7)],'isSelectOnly':_0xe9f2df[_0x567d3b(0x1be)][_0x567d3b(0x1e0)],'isDangerous':_0xe9f2df[_0x567d3b(0x1be)][_0x567d3b(0x1ad)],'tables':_0xe9f2df[_0x567d3b(0x1d8)],'parameters':_0xe9f2df['parameters'],'message':_0xe9f2df[_0x567d3b(0x1b1)]};_0xe9f2df[_0x567d3b(0x1be)][_0x567d3b(0x1e3)]&&(_0x5e1ba6[_0x567d3b(0x1e3)]=_0xe9f2df[_0x567d3b(0x1be)]['reason']);if(_0x3cb552&&_0xe9f2df[_0x567d3b(0x1b4)]){const _0x5aa84d=_0x3cb552['split'](',')[_0x567d3b(0x1cc)](_0x29af7=>_0x29af7[_0x567d3b(0x1cd)]())['filter'](Boolean),_0x47562=[],_0xadeda4=[],_0xa66547=filterDbTableBackedDatasets(await listDatasets(_0x1f8150[_0x567d3b(0x1c7)])),_0x2ae68d=new Map(_0xa66547[_0x567d3b(0x1cc)](_0x4158e2=>[_0x4158e2[_0x567d3b(0x1e9)]?.[_0x567d3b(0x1c2)]?.[_0x567d3b(0x1e2)](),_0x4158e2]));for(const _0x439dad of _0xe9f2df[_0x567d3b(0x1d8)]){const _0x3671c4=_0x2ae68d[_0x567d3b(0x1cf)](_0x439dad[_0x567d3b(0x1e2)]());!_0x3671c4&&_0x47562['push'](_0x567d3b(0x1ea)+_0x439dad+_0x567d3b(0x1e7));}for(const _0x4a326e of _0x5aa84d){let _0x4bd756;try{_0x4bd756=await getDatasetDetail(_0x4a326e);}catch{_0x47562[_0x567d3b(0x1dc)](_0x567d3b(0x1a5)+_0x4a326e+_0x567d3b(0x1dd));continue;}assertDatasetIsDbTableBacked(_0x4bd756,_0x567d3b(0x1b0));const _0xfe3994=Array['isArray'](_0x4bd756['fields'])?_0x4bd756[_0x567d3b(0x1b2)]:[],_0x319d4f=new Set(_0xfe3994[_0x567d3b(0x1cc)](_0x519c88=>_0x519c88['name']?.['toLowerCase']())),_0x8be81f=_0x4bd756[_0x567d3b(0x1e9)]?.[_0x567d3b(0x1c2)]||_0x4bd756[_0x567d3b(0x1c2)]||_0x4a326e;_0x5e1ba6[_0x567d3b(0x1c8)+_0x8be81f]={'code':_0x4a326e,'tableName':_0x8be81f,'fieldCount':_0x319d4f['size'],'fields':Array[_0x567d3b(0x1b6)](_0x319d4f)};if(_0x47f2b4){const _0x22d156=normalizeDatasetIndexes(_0x4bd756);_0xadeda4['push']({'tableName':_0x8be81f,..._0x22d156});}}_0x47562[_0x567d3b(0x1da)]>0x0&&(_0x5e1ba6[_0x567d3b(0x1c5)]=_0x47562),_0x47f2b4&&(_0x5e1ba6['joinAudit']=auditSqlJoinIndexes(_0x289063,_0xadeda4));}return{'ok':_0xe9f2df[_0x567d3b(0x1b4)],'data':_0x5e1ba6,'message':_0xe9f2df[_0x567d3b(0x1b1)]};}};function normalizeDatasetIndexes(_0x2d7370){const _0x6fd141=a185_0x15f84e,_0x1267a2=Array[_0x6fd141(0x1d3)](_0x2d7370?.[_0x6fd141(0x1ac)]?.[_0x6fd141(0x1bb)])?_0x2d7370['dataset'][_0x6fd141(0x1bb)]:Array[_0x6fd141(0x1d3)](_0x2d7370?.[_0x6fd141(0x1bb)])?_0x2d7370[_0x6fd141(0x1bb)]:[],_0x247f72=_0x1267a2[_0x6fd141(0x1d6)](_0x382d23=>{const _0x5828d1=_0x6fd141,_0x1988f8=Array['isArray'](_0x382d23?.[_0x5828d1(0x1a6)])?_0x382d23[_0x5828d1(0x1a6)]:Array[_0x5828d1(0x1d3)](_0x382d23?.['columnNames'])?_0x382d23[_0x5828d1(0x1c3)]:Array[_0x5828d1(0x1d3)](_0x382d23?.['columns'])?_0x382d23[_0x5828d1(0x1a3)]:[],_0x35956d=_0x1988f8[_0x5828d1(0x1aa)](_0x25bd0b=>typeof _0x25bd0b===_0x5828d1(0x1ce))[_0x5828d1(0x1cc)](_0x299878=>_0x299878[_0x5828d1(0x1cd)]())[_0x5828d1(0x1aa)](Boolean);if(_0x35956d[_0x5828d1(0x1da)]===0x0)return[];const _0x2f5255=[_0x382d23?.[_0x5828d1(0x1de)],_0x382d23?.[_0x5828d1(0x1a4)],_0x382d23?.[_0x5828d1(0x1bd)]][_0x5828d1(0x1a9)](_0x4a1b8f=>typeof _0x4a1b8f===_0x5828d1(0x1ce)&&_0x4a1b8f[_0x5828d1(0x1cd)]()),_0x5641d5=[_0x382d23?.[_0x5828d1(0x1d5)],_0x382d23?.[_0x5828d1(0x1a7)]][_0x5828d1(0x1a9)](_0x28cb15=>typeof _0x28cb15===_0x5828d1(0x1ce)&&_0x28cb15[_0x5828d1(0x1cd)]());return[{..._0x2f5255?{'name':_0x2f5255[_0x5828d1(0x1cd)]()}:{},..._0x5641d5?{'type':_0x5641d5[_0x5828d1(0x1cd)]()}:{},'columns':_0x35956d}];}),_0xe99bdb=[..._0x247f72],_0x4d60db=typeof _0x2d7370?.[_0x6fd141(0x1e9)]?.['pkField']==='string'?_0x2d7370[_0x6fd141(0x1e9)][_0x6fd141(0x1d4)][_0x6fd141(0x1e8)](',')[_0x6fd141(0x1cc)](_0x23d9fa=>_0x23d9fa[_0x6fd141(0x1cd)]())['filter'](Boolean):[];return _0x4d60db[_0x6fd141(0x1da)]>0x0&&_0xe99bdb[_0x6fd141(0x1a8)]({'type':_0x6fd141(0x1d7),'columns':_0x4d60db}),{'indexes':_0xe99bdb,'metadataAvailable':_0x247f72['length']>0x0};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x467d67,_0x3f0d41){const _0x1ee26c=a186_0xf94b,_0x5d980c=_0x467d67();while(!![]){try{const _0x976bb8=-parseInt(_0x1ee26c(0xc9))/0x1+parseInt(_0x1ee26c(0xca))/0x2+-parseInt(_0x1ee26c(0xce))/0x3+parseInt(_0x1ee26c(0xcd))/0x4*(parseInt(_0x1ee26c(0xc7))/0x5)+-parseInt(_0x1ee26c(0xd0))/0x6*(parseInt(_0x1ee26c(0xcf))/0x7)+parseInt(_0x1ee26c(0xcc))/0x8*(-parseInt(_0x1ee26c(0xc8))/0x9)+parseInt(_0x1ee26c(0xcb))/0xa;if(_0x976bb8===_0x3f0d41)break;else _0x5d980c['push'](_0x5d980c['shift']());}catch(_0x2b3a13){_0x5d980c['push'](_0x5d980c['shift']());}}}(a186_0x2676,0x71308));import{taskStatus}from'../../commands/task/status.js';export const taskDefinitions=[taskStatus];function a186_0xf94b(_0xf38c70,_0x17e611){_0xf38c70=_0xf38c70-0xc7;const _0x267692=a186_0x2676();let _0xf94b9=_0x267692[_0xf38c70];return _0xf94b9;}function a186_0x2676(){const _0x14add2=['91vrJYMa','101778ALEejW','3863290roREEw','9nYNomk','496763cLSOtP','1722572iLXJaS','6153540moCeeC','5297696CLkvIM','4vRmEwl','1218540SgevhI'];a186_0x2676=function(){return _0x14add2;};return a186_0x2676();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a187_0x12faca=a187_0x1819;(function(_0x561c42,_0x161f67){const _0x85d657=a187_0x1819,_0x5adf08=_0x561c42();while(!![]){try{const _0x5c0d07=parseInt(_0x85d657(0x1b9))/0x1*(parseInt(_0x85d657(0x1c2))/0x2)+parseInt(_0x85d657(0x1bd))/0x3*(-parseInt(_0x85d657(0x1b0))/0x4)+parseInt(_0x85d657(0x1c0))/0x5+parseInt(_0x85d657(0x1c5))/0x6+-parseInt(_0x85d657(0x1b7))/0x7+-parseInt(_0x85d657(0x1b4))/0x8+parseInt(_0x85d657(0x1b8))/0x9*(parseInt(_0x85d657(0x1c4))/0xa);if(_0x5c0d07===_0x161f67)break;else _0x5adf08['push'](_0x5adf08['shift']());}catch(_0x1471a8){_0x5adf08['push'](_0x5adf08['shift']());}}}(a187_0x1cfb,0x94150));function a187_0x1cfb(){const _0xddda56=['Task\x20id\x20returned\x20by\x20an\x20asynchronous\x20platform\x20command','12xyVitv','cookie',',\x20received\x20','4338985pcWipt','apiError','724468sqZixa','trim','2280snZzeU','3582588tVrcJr','taskId','181000BagQrM','str','compress','Task\x20status\x20response\x20id\x20mismatch:\x20requested\x20','1110720fANPCq','appCode','task-id','7380919KHiJaD','6066FQyeGV','1BJhkxc','flagMissing','isTerminal'];a187_0x1cfb=function(){return _0xddda56;};return a187_0x1cfb();}import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';function a187_0x1819(_0x29d5d1,_0x18e709){_0x29d5d1=_0x29d5d1-0x1b0;const _0x1cfbb9=a187_0x1cfb();let _0x1819e0=_0x1cfbb9[_0x29d5d1];return _0x1819e0;}import{asyncTaskMessage,buildAsyncTaskStatusCommand,normalizeAsyncTask}from'../../commands/common/async-task.js';import{getAsyncTaskStatus}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';export const taskStatus={'service':'task','command':'status','description':'Query\x20an\x20asynchronous\x20task;\x20repeat\x20for\x20PENDING\x20or\x20PROCESSING\x20until\x20SUCCESS\x20or\x20FAILED','risk':'read','defaultOutputFormat':a187_0x12faca(0x1b2),'structuredErrors':!![],'flags':[{'name':a187_0x12faca(0x1b6),'type':'string','required':!![],'description':a187_0x12faca(0x1bc)},APPCODE_FLAG_OPTIONAL],async 'validate'(_0x104f8a){const _0x5067e2=a187_0x12faca;if(!_0x104f8a[_0x5067e2(0x1b1)]('task-id')[_0x5067e2(0x1c3)]())throw CliErrors[_0x5067e2(0x1ba)](_0x5067e2(0x1b6));},async 'execute'(_0x5cd6e5){const _0x258762=a187_0x12faca,_0x3ab2c9=_0x5cd6e5[_0x258762(0x1b1)](_0x258762(0x1b6))['trim'](),_0x48b209=normalizeAsyncTask(await getAsyncTaskStatus(_0x3ab2c9,_0x5cd6e5[_0x258762(0x1b5)],_0x5cd6e5[_0x258762(0x1be)]));if(_0x48b209[_0x258762(0x1c6)]!==_0x3ab2c9)throw CliErrors[_0x258762(0x1c1)](_0x258762(0x1b3)+_0x3ab2c9+_0x258762(0x1bf)+_0x48b209[_0x258762(0x1c6)]+'.');const _0x37dbfa=buildAsyncTaskStatusCommand(_0x48b209[_0x258762(0x1c6)],_0x5cd6e5['appCode']);return{'ok':!![],'message':asyncTaskMessage(_0x48b209),'data':{'appCode':_0x5cd6e5[_0x258762(0x1b5)],..._0x48b209,'query':_0x48b209[_0x258762(0x1bb)]?null:{'command':_0x37dbfa}}};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a188_0x5f19(_0x41ac56,_0x3baa36){_0x41ac56=_0x41ac56-0x14d;const _0x2bdd20=a188_0x2bdd();let _0x5f19db=_0x2bdd20[_0x41ac56];return _0x5f19db;}(function(_0x1b2574,_0x1731aa){const _0x4046f0=a188_0x5f19,_0x18a347=_0x1b2574();while(!![]){try{const _0x3e6a01=parseInt(_0x4046f0(0x152))/0x1+-parseInt(_0x4046f0(0x151))/0x2*(-parseInt(_0x4046f0(0x157))/0x3)+-parseInt(_0x4046f0(0x14f))/0x4*(-parseInt(_0x4046f0(0x155))/0x5)+-parseInt(_0x4046f0(0x150))/0x6+-parseInt(_0x4046f0(0x14e))/0x7*(-parseInt(_0x4046f0(0x154))/0x8)+parseInt(_0x4046f0(0x14d))/0x9*(-parseInt(_0x4046f0(0x156))/0xa)+parseInt(_0x4046f0(0x153))/0xb;if(_0x3e6a01===_0x1731aa)break;else _0x18a347['push'](_0x18a347['shift']());}catch(_0x190b4f){_0x18a347['push'](_0x18a347['shift']());}}}(a188_0x2bdd,0xd1fdf));import{tenantMembersListDefinition}from'../../commands/tenant/members-list.js';export const tenantDefinitions=[tenantMembersListDefinition];function a188_0x2bdd(){const _0xc6598a=['8XcIKOA','175365yxnCfW','2882530pluREI','49026mpSjGo','36sgcXiP','5689257swoDwZ','24lOxWao','9570816RmSfiT','138WIFnvV','83091buHNMj','15118367ccNVOy'];a188_0x2bdd=function(){return _0xc6598a;};return a188_0x2bdd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a189_0x5ec09f=a189_0x5179;(function(_0x501f85,_0x420e3c){const _0x417721=a189_0x5179,_0x100753=_0x501f85();while(!![]){try{const _0x5b3530=-parseInt(_0x417721(0x18f))/0x1+parseInt(_0x417721(0x18b))/0x2+-parseInt(_0x417721(0x18e))/0x3+parseInt(_0x417721(0x187))/0x4+-parseInt(_0x417721(0x192))/0x5*(-parseInt(_0x417721(0x182))/0x6)+parseInt(_0x417721(0x18d))/0x7*(-parseInt(_0x417721(0x184))/0x8)+parseInt(_0x417721(0x188))/0x9*(-parseInt(_0x417721(0x185))/0xa);if(_0x5b3530===_0x420e3c)break;else _0x100753['push'](_0x100753['shift']());}catch(_0x47c09c){_0x100753['push'](_0x100753['shift']());}}}(a189_0x4c41,0x45714));import{listCurrentUserTenantMemberships,listTenantDirectoryMembers}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';function a189_0x4c41(){const _0xaf660d=['99wlsJwA','tenant-code','List\x20members\x20of\x20a\x20tenant\x20available\x20to\x20the\x20current\x20account','259112fKzhYX','Exact\x20tenant\x20code','224917hdLxUt','106212FJPaTW','70020mzXtSL','trim','length','1740090FPoHYt','str','6wftaxo','read','56hRtKeO','327830toZVjM','Found\x20','1991264GNCjIV'];a189_0x4c41=function(){return _0xaf660d;};return a189_0x4c41();}import{assertTenantAccessible,projectTenantMembers}from'../../commands/tenant/shared.js';function a189_0x5179(_0x84e97d,_0x5f0c46){_0x84e97d=_0x84e97d-0x182;const _0x4c41d1=a189_0x4c41();let _0x51792c=_0x4c41d1[_0x84e97d];return _0x51792c;}export const tenantMembersListDefinition={'service':'tenant','command':'members-list','description':a189_0x5ec09f(0x18a),'risk':a189_0x5ec09f(0x183),'requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a189_0x5ec09f(0x189),'type':'string','required':!![],'description':a189_0x5ec09f(0x18c)}],async 'validate'(_0x6b4674){const _0x132703=a189_0x5ec09f;if(!_0x6b4674[_0x132703(0x193)](_0x132703(0x189))[_0x132703(0x190)]())throw CliErrors['flagMissing'](_0x132703(0x189),'Pass\x20--tenant-code\x20<code>.');},async 'execute'(_0x38e655){const _0x1eaed6=a189_0x5ec09f,_0x179a46=_0x38e655[_0x1eaed6(0x193)](_0x1eaed6(0x189))[_0x1eaed6(0x190)](),_0xd06e74=await listCurrentUserTenantMemberships();assertTenantAccessible(_0x179a46,_0xd06e74);const _0x5890f4=projectTenantMembers(await listTenantDirectoryMembers(_0x179a46));return{'ok':!![],'data':{'tenantCode':_0x179a46,'items':_0x5890f4,'totalCount':_0x5890f4[_0x1eaed6(0x191)]},'message':_0x1eaed6(0x186)+_0x5890f4[_0x1eaed6(0x191)]+'\x20tenant\x20member(s)'};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x444913,_0x228495){const _0x889be0=a190_0xb95d,_0x565cf8=_0x444913();while(!![]){try{const _0x20f91e=-parseInt(_0x889be0(0x17f))/0x1+parseInt(_0x889be0(0x16d))/0x2*(parseInt(_0x889be0(0x170))/0x3)+-parseInt(_0x889be0(0x185))/0x4+-parseInt(_0x889be0(0x176))/0x5*(parseInt(_0x889be0(0x177))/0x6)+parseInt(_0x889be0(0x182))/0x7*(parseInt(_0x889be0(0x17d))/0x8)+parseInt(_0x889be0(0x17b))/0x9+-parseInt(_0x889be0(0x184))/0xa;if(_0x20f91e===_0x228495)break;else _0x565cf8['push'](_0x565cf8['shift']());}catch(_0x5b8d54){_0x565cf8['push'](_0x565cf8['shift']());}}}(a190_0x5cce,0x1d694));import{CliErrors}from'../../errors.js';function textOrNull(_0x525f74){const _0x400ba6=a190_0xb95d,_0x55965e=_0x525f74?.[_0x400ba6(0x183)]();return _0x55965e?_0x55965e:null;}function a190_0x5cce(){const _0x57a6e0=['isFinite','username','65IJNZju','6084nrNNHD','role','displayName','values','979911SBAxzE','Check\x20--tenant-code\x20or\x20login\x20with\x20an\x20account\x20that\x20belongs\x20to\x20this\x20tenant.','8XFPWXv','adminFlag','11592NqstHF','ADMIN','userId','687113hbOpRn','trim','86540hNzsnz','549608HnVmUz','nickname','sort','some','10XNGRUS','set','status','50556kfRqqB','tenantCode','validation','Tenant\x20\x22'];a190_0x5cce=function(){return _0x57a6e0;};return a190_0x5cce();}function a190_0xb95d(_0x28ce4a,_0x297358){_0x28ce4a=_0x28ce4a-0x16a;const _0x5cce67=a190_0x5cce();let _0xb95dfd=_0x5cce67[_0x28ce4a];return _0xb95dfd;}export function projectTenantMembers(_0x281b10){const _0x2ee891=a190_0xb95d,_0x4205a7=new Map();for(const _0x185fc8 of _0x281b10){const _0x322d64=Number(_0x185fc8['userId']);if(!Number[_0x2ee891(0x174)](_0x322d64)||_0x322d64<=0x0)continue;const _0x53e337={'userId':_0x322d64,'username':textOrNull(_0x185fc8[_0x2ee891(0x175)]),'displayName':textOrNull(_0x185fc8[_0x2ee891(0x16a)]),'role':_0x185fc8[_0x2ee891(0x17e)]===!![]?_0x2ee891(0x180):'MEMBER','status':textOrNull(_0x185fc8[_0x2ee891(0x16f)])},_0x396ed4=_0x4205a7['get'](_0x322d64);if(!_0x396ed4){_0x4205a7[_0x2ee891(0x16e)](_0x322d64,_0x53e337);continue;}_0x396ed4[_0x2ee891(0x175)]??=_0x53e337[_0x2ee891(0x175)],_0x396ed4[_0x2ee891(0x179)]??=_0x53e337[_0x2ee891(0x179)],_0x396ed4['status']??=_0x53e337['status'];if(_0x53e337['role']===_0x2ee891(0x180))_0x396ed4[_0x2ee891(0x178)]=_0x2ee891(0x180);}return[..._0x4205a7[_0x2ee891(0x17a)]()][_0x2ee891(0x16b)]((_0x121f7d,_0x4adf79)=>_0x121f7d[_0x2ee891(0x181)]-_0x4adf79[_0x2ee891(0x181)]);}export function assertTenantAccessible(_0x27f129,_0x13b462){const _0x3b0bb9=a190_0xb95d;if(_0x13b462[_0x3b0bb9(0x16c)](_0x55d6b5=>_0x55d6b5[_0x3b0bb9(0x171)]===_0x27f129))return;throw CliErrors[_0x3b0bb9(0x172)](_0x3b0bb9(0x173)+_0x27f129+'\x22\x20is\x20not\x20available\x20to\x20the\x20current\x20account.',_0x3b0bb9(0x17c));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a191_0x1d98(){const _0x525fe3=['12776nNXlAF','workspace\x20add','3102cmlDqB','1210870EjjJpp','1191065edxvZL','748446wWNYhn','App\x20profile\x20name','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','write','12alXKMu','881423kJlARt','2711303DpzDOo','add','1502TAvHdE','405eobbmA','workspace'];a191_0x1d98=function(){return _0x525fe3;};return a191_0x1d98();}const a191_0x45b325=a191_0xef98;function a191_0xef98(_0x2f2544,_0x521fe2){_0x2f2544=_0x2f2544-0xd1;const _0x1d9855=a191_0x1d98();let _0xef989e=_0x1d9855[_0x2f2544];return _0xef989e;}(function(_0x4dffe8,_0x5e1cf8){const _0x1a2caf=a191_0xef98,_0x5e7059=_0x4dffe8();while(!![]){try{const _0x3a8516=parseInt(_0x1a2caf(0xe0))/0x1+-parseInt(_0x1a2caf(0xd3))/0x2*(parseInt(_0x1a2caf(0xd8))/0x3)+-parseInt(_0x1a2caf(0xdf))/0x4*(-parseInt(_0x1a2caf(0xda))/0x5)+parseInt(_0x1a2caf(0xdb))/0x6+-parseInt(_0x1a2caf(0xd1))/0x7+-parseInt(_0x1a2caf(0xd6))/0x8*(-parseInt(_0x1a2caf(0xd4))/0x9)+-parseInt(_0x1a2caf(0xd9))/0xa;if(_0x3a8516===_0x5e1cf8)break;else _0x5e7059['push'](_0x5e7059['shift']());}catch(_0x32d6d2){_0x5e7059['push'](_0x5e7059['shift']());}}}(a191_0x1d98,0x7bf46));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a191_0x45b325(0xd5),'command':a191_0x45b325(0xd2),'description':a191_0x45b325(0xdd),'risk':a191_0x45b325(0xde),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':'name','description':a191_0x45b325(0xdc),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x476a72=>validateAppName(_0x476a72,a191_0x45b325(0xd7)),'execute':_0x486fbf=>runAppAdd(_0x486fbf,a191_0x45b325(0xd7))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a192_0x1ac181=a192_0x3818;(function(_0x4a02ca,_0x1f2af9){const _0xe61473=a192_0x3818,_0x16bc52=_0x4a02ca();while(!![]){try{const _0x32dedd=parseInt(_0xe61473(0xf2))/0x1+-parseInt(_0xe61473(0xd5))/0x2+parseInt(_0xe61473(0xcc))/0x3*(-parseInt(_0xe61473(0xe1))/0x4)+parseInt(_0xe61473(0xf3))/0x5+parseInt(_0xe61473(0xbc))/0x6*(parseInt(_0xe61473(0xb7))/0x7)+parseInt(_0xe61473(0xe3))/0x8+-parseInt(_0xe61473(0xe5))/0x9;if(_0x32dedd===_0x1f2af9)break;else _0x16bc52['push'](_0x16bc52['shift']());}catch(_0x4492ee){_0x16bc52['push'](_0x16bc52['shift']());}}}(a192_0x3724,0xda166));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';function a192_0x3818(_0x167779,_0x3ec96b){_0x167779=_0x167779-0xb7;const _0x3724f7=a192_0x3724();let _0x38187a=_0x3724f7[_0x167779];return _0x38187a;}import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';function a192_0x3724(){const _0x1c76d8=['Locale\x20for\x20this\x20workspace\x20app\x20profile','\x20workspace\x20','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','string','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','format','3qcEYbi','\x20workspace\x20use\x20--app\x20<name>`.','apiDir','defaultApp','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','apps','workspace','Workspace\x20','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','1883198PYyQbA','Missing\x20workspace\x20app\x20selector.','appcode','updated','project','globalConfig','use','\x22\x20not\x20found.','env','defaultFormat','number','locale','4444276wOitnY','str','13467136NheTxA','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','14432481OGqNxq','\x20--app\x20','length','object','flag','initialized','riskLevel','write','app','App\x20\x22','Switch\x20the\x20current\x20workspace\x20app\x20binding','pageSize','trim','1365144fxnXgP','1239235pUrqpm','Use\x20`',').\x20Config:\x20','1754452LsKFdz','keys','validation','Target\x20environment','\x20--appcode\x20<code>`.','30qtbvSJ','init','.\x20Credentials:\x20not\x20written.','join','Initialize\x20the\x20current\x20workspace\x20app\x20binding','isArray','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','workspace.'];a192_0x3724=function(){return _0x1c76d8;};return a192_0x3724();}const WORKSPACE_USAGE=CLI_BIN_NAME+a192_0x1ac181(0xc6),SAFE_PROFILE_KEYS=['appcode',a192_0x1ac181(0xdd),'apiDir',a192_0x1ac181(0xcb),a192_0x1ac181(0xf0),a192_0x1ac181(0xeb),a192_0x1ac181(0xe0)],workspaceFlags=[{'name':a192_0x1ac181(0xed),'type':a192_0x1ac181(0xc8),'description':a192_0x1ac181(0xc2)},{'name':a192_0x1ac181(0xd7),'type':'string','description':a192_0x1ac181(0xca)},{'name':a192_0x1ac181(0xdd),'type':a192_0x1ac181(0xc8),'description':a192_0x1ac181(0xba),'enum':[...RABETBASE_ENV_VALUES]},{'name':a192_0x1ac181(0xce),'type':a192_0x1ac181(0xc8),'description':a192_0x1ac181(0xd4)},{'name':a192_0x1ac181(0xde),'type':a192_0x1ac181(0xc8),'description':a192_0x1ac181(0xc7),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a192_0x1ac181(0xf0),'type':a192_0x1ac181(0xdf),'description':a192_0x1ac181(0xe4)},{'name':a192_0x1ac181(0xeb),'type':a192_0x1ac181(0xc8),'description':'Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RISK_LEVEL_VALUES]},{'name':a192_0x1ac181(0xe0),'type':'string','description':a192_0x1ac181(0xc4)}];function isRecord(_0x340c77){const _0x359db9=a192_0x1ac181;return!!_0x340c77&&typeof _0x340c77===_0x359db9(0xe8)&&!Array[_0x359db9(0xc1)](_0x340c77);}function assertValidAppcode(_0xf116f1){const {valid:_0x24011a,message:_0x249658}=validateAppcode(_0xf116f1);if(!_0x24011a)throw CliErrors['validation']('Invalid\x20appcode:\x20'+_0xf116f1,_0x249658);}function sanitizeProfile(_0x354295){if(!isRecord(_0x354295))return{};const _0x2f7e73={};for(const _0x40f45b of SAFE_PROFILE_KEYS){if(_0x354295[_0x40f45b]!==undefined)_0x2f7e73[_0x40f45b]=_0x354295[_0x40f45b];}return _0x2f7e73;}function cloneProfile(_0xd07997){return isRecord(_0xd07997)?{..._0xd07997}:{};}function collectWorkspaceProfileOverrides(_0x48973d){const _0x14030e=a192_0x1ac181,_0x32d06d={},_0x2a3448=_0x48973d[_0x14030e(0xe2)](_0x14030e(0xdd)),_0xd2918=_0x48973d[_0x14030e(0xe2)](_0x14030e(0xce)),_0x490783=_0x48973d['str']('defaultFormat'),_0x1dbc0c=_0x48973d[_0x14030e(0xe9)]('pageSize'),_0x399086=_0x48973d[_0x14030e(0xe2)](_0x14030e(0xeb)),_0x48f086=_0x48973d[_0x14030e(0xe2)](_0x14030e(0xe0));if(_0x2a3448)_0x32d06d['env']=_0x2a3448;if(_0xd2918)_0x32d06d['apiDir']=_0xd2918;if(_0x490783)_0x32d06d[_0x14030e(0xcb)]=_0x490783;if(_0x1dbc0c!==undefined&&_0x1dbc0c!=='')_0x32d06d[_0x14030e(0xf0)]=Number(_0x1dbc0c);if(_0x399086)_0x32d06d[_0x14030e(0xeb)]=_0x399086;if(_0x48f086)_0x32d06d[_0x14030e(0xe0)]=_0x48f086;return _0x32d06d;}async function validateWorkspaceArgs(_0x4fb051){const _0x3b14c2=a192_0x1ac181,_0x48dbd1=_0x4fb051[_0x3b14c2(0xe2)](_0x3b14c2(0xed))[_0x3b14c2(0xf1)](),_0x32cfd9=_0x4fb051['str'](_0x3b14c2(0xd7))[_0x3b14c2(0xf1)]();if(!_0x48dbd1&&!_0x32cfd9)throw CliErrors[_0x3b14c2(0xb9)](_0x3b14c2(0xd6),_0x3b14c2(0xf4)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x3b14c2(0xcd));if(_0x32cfd9)assertValidAppcode(_0x32cfd9);}function resolveKnownApps(){const _0x2e2afc=a192_0x1ac181,{config:_0x4089aa,layers:_0x7b5c90}=readRawConfigWithLayers(),_0x3bc892=isRecord(_0x4089aa[_0x2e2afc(0xd1)])?_0x4089aa[_0x2e2afc(0xd1)]:{},_0x5e4732=isRecord(_0x7b5c90[_0x2e2afc(0xda)][_0x2e2afc(0xd1)])?_0x7b5c90[_0x2e2afc(0xda)][_0x2e2afc(0xd1)]:{};return{..._0x5e4732,..._0x3bc892};}async function configureWorkspace(_0x207925,_0x53b0f3){const _0x5b5d3a=a192_0x1ac181,_0x2b34ff=_0x207925[_0x5b5d3a(0xe2)](_0x5b5d3a(0xed))[_0x5b5d3a(0xf1)](),_0x81804f=_0x207925[_0x5b5d3a(0xe2)]('appcode')[_0x5b5d3a(0xf1)](),_0x3f272a=_0x2b34ff||_0x81804f;if(!_0x3f272a)throw CliErrors[_0x5b5d3a(0xb9)]('Missing\x20workspace\x20app\x20selector.',_0x5b5d3a(0xf4)+CLI_BIN_NAME+_0x5b5d3a(0xc9)+CLI_BIN_NAME+_0x5b5d3a(0xcd));if(_0x81804f)assertValidAppcode(_0x81804f);const _0xb54aac=resolveWriteConfigPath(_0x5b5d3a(0xd9)),_0x16b395=readConfigFile(_0xb54aac),_0x144ddc=resolveKnownApps(),_0x126a8a=isRecord(_0x16b395[_0x5b5d3a(0xd1)])?{..._0x16b395[_0x5b5d3a(0xd1)]}:{},_0x5e1bf7=cloneProfile(_0x126a8a[_0x3f272a]),_0x4aace9=sanitizeProfile(_0x144ddc[_0x3f272a]),_0x78c289=_0x81804f?{}:_0x4aace9,_0x284c6e=_0x81804f||_0x78c289[_0x5b5d3a(0xd7)];if(!_0x284c6e){const _0x1e726d=Object[_0x5b5d3a(0xb8)](_0x144ddc),_0x5d4521=_0x1e726d[_0x5b5d3a(0xe7)]===0x0?_0x5b5d3a(0xf4)+CLI_BIN_NAME+_0x5b5d3a(0xc5)+_0x53b0f3+_0x5b5d3a(0xe6)+_0x3f272a+_0x5b5d3a(0xbb):_0x5b5d3a(0xd0)+_0x1e726d[_0x5b5d3a(0xbf)](',\x20');throw CliErrors[_0x5b5d3a(0xb9)](_0x5b5d3a(0xee)+_0x3f272a+_0x5b5d3a(0xdc),_0x5d4521);}assertValidAppcode(String(_0x284c6e));const _0x593519={..._0x78c289,..._0x5e1bf7,'appcode':String(_0x284c6e),...collectWorkspaceProfileOverrides(_0x207925)};return _0x126a8a[_0x3f272a]=_0x593519,_0x16b395[_0x5b5d3a(0xd1)]=_0x126a8a,_0x16b395[_0x5b5d3a(0xcf)]=_0x3f272a,delete _0x16b395[_0x5b5d3a(0xd7)],delete _0x16b395[_0x5b5d3a(0xed)],_0x593519['env']&&(_0x16b395['env']=_0x593519[_0x5b5d3a(0xdd)]),writeConfigFile(_0xb54aac,_0x16b395),{'ok':!![],'message':_0x5b5d3a(0xd3)+(_0x53b0f3==='init'?_0x5b5d3a(0xea):_0x5b5d3a(0xd8))+':\x20'+_0x3f272a+'\x20(appcode:\x20'+_0x593519[_0x5b5d3a(0xd7)]+_0x5b5d3a(0xf5)+_0xb54aac+_0x5b5d3a(0xbe),'data':{'operation':_0x5b5d3a(0xc3)+_0x53b0f3,'configPath':_0xb54aac,'app':_0x3f272a,'appcode':_0x593519[_0x5b5d3a(0xd7)],'env':_0x593519[_0x5b5d3a(0xdd)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a192_0x1ac181(0xd2),'command':a192_0x1ac181(0xbd),'description':a192_0x1ac181(0xc0),'risk':a192_0x1ac181(0xec),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x5a588a=>configureWorkspace(_0x5a588a,a192_0x1ac181(0xbd))},workspaceUseDefinition={'service':a192_0x1ac181(0xd2),'command':a192_0x1ac181(0xdb),'description':a192_0x1ac181(0xef),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x2c34fd=>configureWorkspace(_0x2c34fd,a192_0x1ac181(0xdb))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a193_0x5eabdf=a193_0x475b;function a193_0x8e2f(){const _0x4f4a9b=['8PhYwvA','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','7ccMvIQ','name','App\x20profile\x20name\x20to\x20remove','714762xJWEnp','workspace','709364ikAHgI','183172sYzDJM','write','3225WxHTge','8630862wshRJq','1347827ZDXDyd','8516PDlWob','5423499HWUnoS','workspace\x20remove','1910zLFVba'];a193_0x8e2f=function(){return _0x4f4a9b;};return a193_0x8e2f();}(function(_0x169ba1,_0x26352d){const _0x22a8d6=a193_0x475b,_0x5ca0d7=_0x169ba1();while(!![]){try{const _0x16f1b2=parseInt(_0x22a8d6(0x13a))/0x1+-parseInt(_0x22a8d6(0x135))/0x2+parseInt(_0x22a8d6(0x133))/0x3+-parseInt(_0x22a8d6(0x13b))/0x4*(parseInt(_0x22a8d6(0x138))/0x5)+parseInt(_0x22a8d6(0x139))/0x6*(-parseInt(_0x22a8d6(0x141))/0x7)+-parseInt(_0x22a8d6(0x13f))/0x8*(parseInt(_0x22a8d6(0x13c))/0x9)+parseInt(_0x22a8d6(0x13e))/0xa*(parseInt(_0x22a8d6(0x136))/0xb);if(_0x16f1b2===_0x26352d)break;else _0x5ca0d7['push'](_0x5ca0d7['shift']());}catch(_0xb1f032){_0x5ca0d7['push'](_0x5ca0d7['shift']());}}}(a193_0x8e2f,0xf3906));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';function a193_0x475b(_0x3f487,_0x239014){_0x3f487=_0x3f487-0x132;const _0x8e2f9f=a193_0x8e2f();let _0x475b71=_0x8e2f9f[_0x3f487];return _0x475b71;}export const workspaceRemoveDefinition={'service':a193_0x5eabdf(0x134),'command':'remove','description':a193_0x5eabdf(0x140),'risk':a193_0x5eabdf(0x137),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a193_0x5eabdf(0x142),'description':a193_0x5eabdf(0x132),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x440713=>validateAppName(_0x440713,a193_0x5eabdf(0x13d)),'execute':_0x4de346=>runAppRemove(_0x4de346,a193_0x5eabdf(0x13d))};
|
package/lib/config/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a194_0x5bf277=a194_0x48af;(function(_0x2ba940,_0x446d4a){const _0x566341=a194_0x48af,_0xaef861=_0x2ba940();while(!![]){try{const _0x20bc97=-parseInt(_0x566341(0x213))/0x1*(parseInt(_0x566341(0x215))/0x2)+parseInt(_0x566341(0x210))/0x3+parseInt(_0x566341(0x1ef))/0x4*(-parseInt(_0x566341(0x1f0))/0x5)+parseInt(_0x566341(0x1fb))/0x6*(parseInt(_0x566341(0x201))/0x7)+parseInt(_0x566341(0x1f5))/0x8*(-parseInt(_0x566341(0x21b))/0x9)+-parseInt(_0x566341(0x202))/0xa*(parseInt(_0x566341(0x204))/0xb)+parseInt(_0x566341(0x212))/0xc*(parseInt(_0x566341(0x1fe))/0xd);if(_0x20bc97===_0x446d4a)break;else _0xaef861['push'](_0xaef861['shift']());}catch(_0x58883a){_0xaef861['push'](_0xaef861['shift']());}}}(a194_0x22ad,0x9e876));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';function a194_0x48af(_0x306ffb,_0x512510){_0x306ffb=_0x306ffb-0x1ed;const _0x22ad2c=a194_0x22ad();let _0x48af57=_0x22ad2c[_0x306ffb];return _0x48af57;}import{RISK_LEVEL_VALUES}from'../constant/risk.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a194_0x5bf277(0x1f6),a194_0x5bf277(0x20e),a194_0x5bf277(0x1ed),a194_0x5bf277(0x214),a194_0x5bf277(0x203)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode','env',a194_0x5bf277(0x1ed),a194_0x5bf277(0x214),'cookie',a194_0x5bf277(0x20e),a194_0x5bf277(0x1ff)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES]};function a194_0x22ad(){const _0x23958c=['Risk\x20level','defaultApp','Access\x20key','accessKey','Target\x20environment','1590321Hokcnp','trim','710652SlbiGE','3699uHYMKF','format','74teetNb','Config\x20key\x20(','apps','pageSize','toLowerCase','has','27cyjSSh','locale','entries','4JXizvl','1876555qaXEVl','length','string','Default\x20page\x20size','Locale','2907288LKSgnD','cookie','keys','Auth\x20cookie','inherit','zh-CN','18JOzcIp','API\x20directory\x20path','en-US','455cCQVmZ','apiDir','join','1320431WjPlDp','2292500Yvncxz','riskLevel','44FUqENP','app','number','appcode','env','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','defaultFormat'];a194_0x22ad=function(){return _0x23958c;};return a194_0x22ad();}export function formatConfigKeyList(_0x57d49d){const _0x298bd7=a194_0x5bf277;return[..._0x57d49d][_0x298bd7(0x200)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x2cf259){const _0x344cbc=a194_0x5bf277;return TOP_LEVEL_CONFIG_KEYS[_0x344cbc(0x21a)](_0x2cf259);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x1910c3=a194_0x5bf277;return _0x1910c3(0x216)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a194_0x5bf277(0x208),'apiDir':a194_0x5bf277(0x1ff),'cookie':a194_0x5bf277(0x1f6),'accessKey':'accessKey','defaultFormat':a194_0x5bf277(0x214),'pageSize':a194_0x5bf277(0x218),'riskLevel':'riskLevel','locale':a194_0x5bf277(0x1ed)};export function getAppProfileFlagDefs(){const _0x136c04=a194_0x5bf277;return[{'name':'env','type':_0x136c04(0x1f2),'description':_0x136c04(0x20f),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x136c04(0x1ff),'type':_0x136c04(0x1f2),'description':_0x136c04(0x1fc)},{'name':_0x136c04(0x1f6),'type':_0x136c04(0x1f2),'description':_0x136c04(0x1f8),'hidden':!![]},{'name':_0x136c04(0x20e),'type':'string','description':_0x136c04(0x20d),'hidden':!![]},{'name':_0x136c04(0x20a),'type':_0x136c04(0x1f2),'description':_0x136c04(0x209),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x136c04(0x218),'type':_0x136c04(0x206),'description':_0x136c04(0x1f3)},{'name':_0x136c04(0x203),'type':_0x136c04(0x1f2),'description':_0x136c04(0x20b),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x136c04(0x1ed),'type':'string','description':_0x136c04(0x1f4)}];}export function collectAppProfileOverrides(_0x1e988b){const _0x16451f=a194_0x5bf277,_0x155263={};for(const [_0x1c8bb2,_0x4a3004]of Object[_0x16451f(0x1ee)](APP_PROFILE_FLAG_KEY_MAP)){const _0xb2fe4d=_0x1e988b(_0x1c8bb2);if(!_0xb2fe4d)continue;_0x155263[_0x4a3004]=_0x4a3004==='pageSize'?Number(_0xb2fe4d):_0xb2fe4d;}return _0x155263;}export function buildAppProfileListFields(_0x1352c2){const _0x21c136=a194_0x5bf277;return{'env':_0x1352c2[_0x21c136(0x208)]??null,'apiDir':_0x1352c2[_0x21c136(0x1ff)]??null,'hasCookie':!!_0x1352c2[_0x21c136(0x1f6)],'hasAccessKey':!!_0x1352c2[_0x21c136(0x20e)],'format':_0x1352c2['format']??null,'pageSize':_0x1352c2[_0x21c136(0x218)]??null,'riskLevel':_0x1352c2[_0x21c136(0x203)]??null,'locale':_0x1352c2[_0x21c136(0x1ed)]??null};}export function buildAppDoctorFields(_0x5c43fb,_0x1a6a89){const _0x22bbaa=a194_0x5bf277;return{'env':{'value':_0x5c43fb[_0x22bbaa(0x208)]||_0x1a6a89[_0x22bbaa(0x208)],'source':_0x5c43fb[_0x22bbaa(0x208)]?_0x22bbaa(0x205):'inherit'},'apiDir':{'value':_0x5c43fb[_0x22bbaa(0x1ff)]||_0x1a6a89['apiDir'],'source':_0x5c43fb[_0x22bbaa(0x1ff)]?'app':'inherit'},'cookie':{'value':_0x5c43fb['cookie']||_0x1a6a89['cookie'],'source':_0x5c43fb['cookie']?_0x22bbaa(0x205):_0x22bbaa(0x1f9)},'accessKey':{'value':_0x5c43fb[_0x22bbaa(0x20e)]||_0x1a6a89[_0x22bbaa(0x20e)],'source':_0x5c43fb[_0x22bbaa(0x20e)]?_0x22bbaa(0x205):'inherit'}};}export function buildCanonicalAppConfig(_0xb4a1fd,_0x4517da){const _0x7a9eda=a194_0x5bf277,_0x2ccd5a=_0xb4a1fd['map'](_0x5541ba=>String(_0x5541ba||'')[_0x7a9eda(0x211)]())['filter'](Boolean);if(_0x2ccd5a[_0x7a9eda(0x1f1)]===0x0)return{};const _0x48aa75={};for(const _0xe1724a of _0x2ccd5a){_0x48aa75[_0xe1724a]=_0x4517da?{'appcode':_0xe1724a,'env':_0x4517da}:{'appcode':_0xe1724a};}return{'apps':_0x48aa75,'defaultApp':_0x2ccd5a[0x0]};}export function buildCanonicalProjectConfig(_0x524f9f,_0x2cda96){const _0xfa2a63=a194_0x5bf277,{appCodes:appCodes=[],env:_0x189456,metadata:_0x252e13}=_0x2cda96,_0x44646b={..._0x524f9f,..._0x252e13||{}};delete _0x44646b[_0xfa2a63(0x207)],delete _0x44646b[_0xfa2a63(0x205)];if(_0x189456)_0x44646b['env']=_0x189456;else!_0x44646b[_0xfa2a63(0x208)]&&(_0x44646b[_0xfa2a63(0x208)]=DEFAULT_CONFIG_VALUES[_0xfa2a63(0x208)]);const _0x7e9321=buildCanonicalAppConfig(appCodes,_0x44646b['env']);return Object[_0xfa2a63(0x1f7)](_0x7e9321)[_0xfa2a63(0x1f1)]>0x0&&(_0x44646b[_0xfa2a63(0x217)]=_0x7e9321[_0xfa2a63(0x217)],_0x44646b[_0xfa2a63(0x20c)]=_0x7e9321[_0xfa2a63(0x20c)]),_0x44646b;}const LOCALE_MAP={'zh':a194_0x5bf277(0x1fa),'zh-cn':a194_0x5bf277(0x1fa),'zh_cn':a194_0x5bf277(0x1fa),'en':'en-US','en-us':a194_0x5bf277(0x1fd),'en_us':a194_0x5bf277(0x1fd)};export function normalizeLocale(_0x47571a){const _0x184188=a194_0x5bf277;if(!_0x47571a)return null;return LOCALE_MAP[_0x47571a[_0x184188(0x219)]()]??null;}
|
package/lib/constant/cdn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4311f4,_0x2187d4){const _0x36dfe0=a195_0x1610,_0x532b5d=_0x4311f4();while(!![]){try{const _0xa6c0de=-parseInt(_0x36dfe0(0x112))/0x1*(parseInt(_0x36dfe0(0x11b))/0x2)+parseInt(_0x36dfe0(0x11c))/0x3*(-parseInt(_0x36dfe0(0x115))/0x4)+-parseInt(_0x36dfe0(0x116))/0x5*(parseInt(_0x36dfe0(0x119))/0x6)+-parseInt(_0x36dfe0(0x113))/0x7+parseInt(_0x36dfe0(0x117))/0x8*(-parseInt(_0x36dfe0(0x11a))/0x9)+-parseInt(_0x36dfe0(0x114))/0xa+parseInt(_0x36dfe0(0x118))/0xb;if(_0xa6c0de===_0x2187d4)break;else _0x532b5d['push'](_0x532b5d['shift']());}catch(_0x116d20){_0x532b5d['push'](_0x532b5d['shift']());}}}(a195_0x230f,0x57676));function a195_0x1610(_0x321823,_0x4a910f){_0x321823=_0x321823-0x112;const _0x230fce=a195_0x230f();let _0x1610eb=_0x230fce[_0x321823];return _0x1610eb;}export const CLI_VERSION_POLICY_URL='https://g.lovrabet.com/dist/rabetbase-cli/config/index.json';function a195_0x230f(){const _0x29b6aa=['29606214RZypBv','6AzfATx','9ROABqj','2vQCzdk','175227eWatUu','478358emTloa','2410254xJjyAc','5787860eqijKm','44pxuVta','127895CNZvcF','2111392wuFklg'];a195_0x230f=function(){return _0x29b6aa;};return a195_0x230f();}
|
package/lib/constant/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a196_0x5257fe=a196_0xac45;function a196_0xac45(_0x3d27bb,_0x27783d){_0x3d27bb=_0x3d27bb-0x7a;const _0x5ec23f=a196_0x5ec2();let _0xac45b7=_0x5ec23f[_0x3d27bb];return _0xac45b7;}(function(_0x5055ce,_0x2fed1c){const _0x29fb4f=a196_0xac45,_0x2335c9=_0x5055ce();while(!![]){try{const _0x2c9411=-parseInt(_0x29fb4f(0xb1))/0x1*(-parseInt(_0x29fb4f(0xf5))/0x2)+-parseInt(_0x29fb4f(0xaf))/0x3+-parseInt(_0x29fb4f(0xea))/0x4*(-parseInt(_0x29fb4f(0xf7))/0x5)+parseInt(_0x29fb4f(0x7d))/0x6*(-parseInt(_0x29fb4f(0xb8))/0x7)+-parseInt(_0x29fb4f(0x92))/0x8+-parseInt(_0x29fb4f(0xcd))/0x9*(-parseInt(_0x29fb4f(0x7a))/0xa)+-parseInt(_0x29fb4f(0xae))/0xb;if(_0x2c9411===_0x2fed1c)break;else _0x2335c9['push'](_0x2335c9['shift']());}catch(_0x30fb9d){_0x2335c9['push'](_0x2335c9['shift']());}}}(a196_0x5ec2,0x89544));export const CLI_BIN_NAME=a196_0x5257fe(0xc0);export const CLI_DISPLAY_NAME=a196_0x5257fe(0xd5);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';function a196_0x5ec2(){const _0x26e46f=['nonInteractive','global','dbId','remote','code','Select\x20app\x20profile\x20by\x20name','Use\x20remote','Menu\x20sort\x20value','Record\x20ID','Name','Environment','SQL\x20code','fromEntries','fromEnv','meowKey','Watch\x20mode','sort','Preview\x20operation\x20without\x20executing','pagesize','Clear','expectPath','key','Config\x20key','Force\x20non-interactive\x20mode\x20(CI)','3552615zxbBvB','314247pYmQmE','description-file','295370RdWuyp','Target\x20path','dbid','datasetcode','Confirm\x20destructive\x20action','<expr>','Page\x20size','119pdNEbF','Code\x20filter','verbose','sql','Read\x20value\x20from\x20stdin','functionNode','confirm','string','rabetbase','tags','parentId','Read\x20value\x20from\x20environment\x20variable','reveal','expected-children-count','help','value','sqlName','sqlname','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','page','label','7578ciMsGK','from-env','taskId','Dataset\x20code','File\x20path','dry-run','Show\x20help','SQL\x20string','Rabetbase\x20CLI','Schemas','DB\x20ID','keyword','task-id','Verbose\x20output','Expected\x20current\x20parent\x20menu\x20id','Menu\x20label','all','file','parent-id','watch','Keyword\x20filter','expect-parent-id','description','type','json\x20|\x20pretty\x20|\x20compress','operationType','function-node','JSON\x20params','env','122860elnjbV','Description\x20file','force','Output\x20path','appcode','Apply\x20to\x20all','Override\x20appcode','Reveal\x20sensitive\x20value','expectedChildrenCount','Expected\x20affected\x20count','Force\x20overwrite','2CquMyD','Config\x20value','145GGUDJO','db-id','clear','name','8490CUjFih','Expected\x20current\x20child\x20count','target','142734BZWpFn','menuIds','expectParentId','<code>','<name>','project','skip-imports','yes','Use\x20global\x20config\x20scope','output','Operation\x20type','sql-name','boolean','title','format','schemas','sqlcode','stdin','SQL\x20name','app','Use\x20project\x20config\x20scope','4050688GBjxRo','params','Alias\x20for\x20--non-interactive','expected-count'];a196_0x5ec2=function(){return _0x26e46f;};return a196_0x5ec2();}export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a196_0x5257fe(0xee),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xf0),'hint':a196_0x5257fe(0x80)},{'name':a196_0x5257fe(0x90),'meowKey':a196_0x5257fe(0x90),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0x9b),'hint':a196_0x5257fe(0x81)},{'name':a196_0x5257fe(0xe9),'meowKey':'env','type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xa0),'hint':'production\x20|\x20daily'},{'name':a196_0x5257fe(0x8b),'meowKey':'format','type':'string','description':'Output\x20format','hint':a196_0x5257fe(0xe5)},{'name':'jq','meowKey':'jq','type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xca),'hint':a196_0x5257fe(0xb6)},{'name':'dry-run','meowKey':'dryRun','type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xa7)},{'name':a196_0x5257fe(0x84),'meowKey':a196_0x5257fe(0x84),'type':a196_0x5257fe(0x89),'description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':'non-interactive','meowKey':a196_0x5257fe(0x96),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xad)},{'name':a196_0x5257fe(0x97),'meowKey':a196_0x5257fe(0x97),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0x85)},{'name':'project','meowKey':a196_0x5257fe(0x82),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0x91)},{'name':'ci','meowKey':'ci','type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0x94),'hidden':!![]},{'name':a196_0x5257fe(0xc6),'meowKey':a196_0x5257fe(0xc6),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xd3)},{'name':'name','meowKey':a196_0x5257fe(0xfa),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0x9f),'hidden':!![]},{'name':a196_0x5257fe(0x8a),'meowKey':a196_0x5257fe(0x8a),'type':'string','description':'Title','hidden':!![]},{'name':a196_0x5257fe(0xf9),'meowKey':'clear','type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xa9),'hidden':!![]},{'name':a196_0x5257fe(0xe0),'meowKey':a196_0x5257fe(0xe0),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xa5),'hidden':!![]},{'name':a196_0x5257fe(0x86),'meowKey':a196_0x5257fe(0x86),'type':'string','description':a196_0x5257fe(0xed),'hidden':!![]},{'name':a196_0x5257fe(0x93),'meowKey':a196_0x5257fe(0x93),'type':'string','description':a196_0x5257fe(0xe8),'hidden':!![]},{'name':a196_0x5257fe(0xb4),'meowKey':a196_0x5257fe(0xb4),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xd0),'hidden':!![]},{'name':a196_0x5257fe(0xdd),'meowKey':a196_0x5257fe(0xdd),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xef),'hidden':!![]},{'name':'enable-bff-save','meowKey':'enableBffSave','type':a196_0x5257fe(0x89),'description':'Enable\x20BFF\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0x9e),'hidden':!![]},{'name':a196_0x5257fe(0xe4),'meowKey':'type','type':a196_0x5257fe(0xbf),'description':'Type\x20filter','hidden':!![]},{'name':'file','meowKey':a196_0x5257fe(0xde),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xd1),'hidden':!![]},{'name':a196_0x5257fe(0x8d),'meowKey':a196_0x5257fe(0x8d),'type':'string','description':a196_0x5257fe(0xa1),'hidden':!![]},{'name':a196_0x5257fe(0x88),'meowKey':a196_0x5257fe(0xc8),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0x8f),'hidden':!![]},{'name':a196_0x5257fe(0xc9),'meowKey':a196_0x5257fe(0xc9),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0x8f),'hidden':!![]},{'name':a196_0x5257fe(0xf8),'meowKey':a196_0x5257fe(0x98),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xd7),'hidden':!![]},{'name':a196_0x5257fe(0xb3),'meowKey':'dbid','type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xd7),'hidden':!![]},{'name':a196_0x5257fe(0xe3),'meowKey':a196_0x5257fe(0xe3),'type':'string','description':'Description','hidden':!![]},{'name':a196_0x5257fe(0xb0),'meowKey':'descriptionFile','type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xeb),'hidden':!![]},{'name':'page','meowKey':a196_0x5257fe(0xcb),'type':'string','description':'Page\x20number','hidden':!![]},{'name':'pagesize','meowKey':a196_0x5257fe(0xa8),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xb7),'hidden':!![]},{'name':a196_0x5257fe(0xd8),'meowKey':a196_0x5257fe(0xd8),'type':'string','description':a196_0x5257fe(0xe1),'hidden':!![]},{'name':a196_0x5257fe(0x9a),'meowKey':a196_0x5257fe(0x9a),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xb9),'hidden':!![]},{'name':a196_0x5257fe(0xbb),'meowKey':'sql','type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xd4),'hidden':!![]},{'name':a196_0x5257fe(0x8c),'meowKey':a196_0x5257fe(0x8c),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xd6),'hidden':!![]},{'name':'operation','meowKey':'operation','type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0x87),'hidden':!![]},{'name':a196_0x5257fe(0x7c),'meowKey':a196_0x5257fe(0x7c),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xb2),'hidden':!![]},{'name':a196_0x5257fe(0x83),'meowKey':'skipImports','type':a196_0x5257fe(0x89),'description':'Skip\x20import\x20generation','hidden':!![]},{'name':a196_0x5257fe(0xab),'meowKey':a196_0x5257fe(0xab),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xac),'hidden':!![]},{'name':a196_0x5257fe(0xc7),'meowKey':a196_0x5257fe(0xc7),'type':'string','description':a196_0x5257fe(0xf6),'hidden':!![]},{'name':a196_0x5257fe(0xc1),'meowKey':'tags','type':a196_0x5257fe(0xbf),'description':'Tags','hidden':!![]},{'name':a196_0x5257fe(0x8e),'meowKey':a196_0x5257fe(0x8e),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xbc),'hidden':!![]},{'name':a196_0x5257fe(0xce),'meowKey':a196_0x5257fe(0xa3),'type':'string','description':a196_0x5257fe(0xc3),'hidden':!![]},{'name':'reveal','meowKey':a196_0x5257fe(0xc4),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xf1),'hidden':!![]},{'name':a196_0x5257fe(0xec),'meowKey':a196_0x5257fe(0xec),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xf4),'hidden':!![]},{'name':a196_0x5257fe(0xbe),'meowKey':'confirm','type':'boolean','description':a196_0x5257fe(0xb5),'hidden':!![]},{'name':a196_0x5257fe(0x99),'meowKey':a196_0x5257fe(0x99),'type':'boolean','description':a196_0x5257fe(0x9c),'hidden':!![]},{'name':a196_0x5257fe(0xba),'meowKey':a196_0x5257fe(0xba),'type':a196_0x5257fe(0x89),'description':a196_0x5257fe(0xda),'hidden':!![]},{'name':a196_0x5257fe(0x95),'meowKey':'expectedCount','type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xf3),'hidden':!![]},{'name':'label','meowKey':a196_0x5257fe(0xcc),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0xdc),'hidden':!![]},{'name':a196_0x5257fe(0xdf),'meowKey':a196_0x5257fe(0xc2),'type':a196_0x5257fe(0xbf),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a196_0x5257fe(0xa6),'meowKey':a196_0x5257fe(0xa6),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0x9d),'hidden':!![]},{'name':a196_0x5257fe(0xe2),'meowKey':a196_0x5257fe(0x7f),'type':'string','description':a196_0x5257fe(0xdb),'hidden':!![]},{'name':'expect-path','meowKey':a196_0x5257fe(0xaa),'type':'string','description':'Expected\x20current\x20menu\x20path','hidden':!![]},{'name':a196_0x5257fe(0xc5),'meowKey':a196_0x5257fe(0xf2),'type':a196_0x5257fe(0xbf),'description':a196_0x5257fe(0x7b),'hidden':!![]},{'name':'menu-ids','meowKey':a196_0x5257fe(0x7e),'type':a196_0x5257fe(0xbf),'description':'Comma-separated\x20menu\x20IDs','hidden':!![]},{'name':a196_0x5257fe(0xd9),'meowKey':a196_0x5257fe(0xcf),'type':a196_0x5257fe(0xbf),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':'operation-type','meowKey':a196_0x5257fe(0xe6),'type':a196_0x5257fe(0xbf),'description':'Operation\x20type','hidden':!![]},{'name':a196_0x5257fe(0xe7),'meowKey':a196_0x5257fe(0xbd),'type':a196_0x5257fe(0xbf),'description':'Function\x20node','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a196_0x5257fe(0xee),a196_0x5257fe(0x90),a196_0x5257fe(0xe9),a196_0x5257fe(0x8b),'jq',a196_0x5257fe(0xd2),a196_0x5257fe(0x84),'non-interactive','ci']);export function buildMeowFlags(){const _0x3b3b7e=a196_0x5257fe;return Object[_0x3b3b7e(0xa2)](GLOBAL_FLAGS['map'](_0x27b78f=>[_0x27b78f[_0x3b3b7e(0xa4)],{'type':_0x27b78f[_0x3b3b7e(0xe4)]}]));}
|
|
1
|
+
const a196_0x468652=a196_0x1a47;(function(_0x706442,_0x2af25f){const _0xe096d3=a196_0x1a47,_0x4562df=_0x706442();while(!![]){try{const _0x4479af=-parseInt(_0xe096d3(0x199))/0x1*(-parseInt(_0xe096d3(0x177))/0x2)+parseInt(_0xe096d3(0x198))/0x3+parseInt(_0xe096d3(0x128))/0x4*(parseInt(_0xe096d3(0x146))/0x5)+parseInt(_0xe096d3(0x12b))/0x6*(-parseInt(_0xe096d3(0x170))/0x7)+parseInt(_0xe096d3(0x12e))/0x8*(-parseInt(_0xe096d3(0x19e))/0x9)+parseInt(_0xe096d3(0x17d))/0xa+-parseInt(_0xe096d3(0x13e))/0xb*(-parseInt(_0xe096d3(0x15a))/0xc);if(_0x4479af===_0x2af25f)break;else _0x4562df['push'](_0x4562df['shift']());}catch(_0x2065fc){_0x4562df['push'](_0x4562df['shift']());}}}(a196_0x3f8c,0xd7514));export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a196_0x468652(0x124);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':'appcode','type':a196_0x468652(0x19d),'description':a196_0x468652(0x193),'hint':a196_0x468652(0x18d)},{'name':a196_0x468652(0x16a),'meowKey':a196_0x468652(0x16a),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x130),'hint':a196_0x468652(0x164)},{'name':a196_0x468652(0x186),'meowKey':'env','type':'string','description':a196_0x468652(0x1a0),'hint':'production\x20|\x20daily'},{'name':a196_0x468652(0x185),'meowKey':a196_0x468652(0x185),'type':'string','description':a196_0x468652(0x14f),'hint':a196_0x468652(0x17a)},{'name':'jq','meowKey':'jq','type':a196_0x468652(0x19d),'description':a196_0x468652(0x139),'hint':a196_0x468652(0x140)},{'name':a196_0x468652(0x180),'meowKey':a196_0x468652(0x19f),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x14d)},{'name':a196_0x468652(0x14e),'meowKey':a196_0x468652(0x14e),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x157)},{'name':a196_0x468652(0x12c),'meowKey':a196_0x468652(0x135),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x158)},{'name':'global','meowKey':'global','type':'boolean','description':a196_0x468652(0x167)},{'name':'project','meowKey':'project','type':a196_0x468652(0x19a),'description':a196_0x468652(0x191)},{'name':'ci','meowKey':'ci','type':a196_0x468652(0x19a),'description':a196_0x468652(0x15c),'hidden':!![]},{'name':a196_0x468652(0x17e),'meowKey':a196_0x468652(0x17e),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x18b)},{'name':a196_0x468652(0x182),'meowKey':a196_0x468652(0x182),'type':a196_0x468652(0x19d),'description':'Name','hidden':!![]},{'name':'title','meowKey':'title','type':a196_0x468652(0x19d),'description':a196_0x468652(0x12a),'hidden':!![]},{'name':a196_0x468652(0x166),'meowKey':a196_0x468652(0x166),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x14c),'hidden':!![]},{'name':'watch','meowKey':a196_0x468652(0x17c),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x13c),'hidden':!![]},{'name':a196_0x468652(0x174),'meowKey':a196_0x468652(0x174),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x156),'hidden':!![]},{'name':a196_0x468652(0x150),'meowKey':a196_0x468652(0x150),'type':'string','description':'JSON\x20params','hidden':!![]},{'name':a196_0x468652(0x1a2),'meowKey':'datasetcode','type':a196_0x468652(0x19d),'description':'Dataset\x20code','hidden':!![]},{'name':'all','meowKey':a196_0x468652(0x196),'type':'boolean','description':a196_0x468652(0x126),'hidden':!![]},{'name':a196_0x468652(0x134),'meowKey':'enableBffSave','type':a196_0x468652(0x19a),'description':'Enable\x20BFF\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':a196_0x468652(0x19d),'description':'Record\x20ID','hidden':!![]},{'name':a196_0x468652(0x13f),'meowKey':a196_0x468652(0x13f),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x18a),'hidden':!![]},{'name':'file','meowKey':a196_0x468652(0x169),'type':'string','description':'File\x20path','hidden':!![]},{'name':a196_0x468652(0x142),'meowKey':'sqlcode','type':a196_0x468652(0x19d),'description':a196_0x468652(0x17f),'hidden':!![]},{'name':a196_0x468652(0x190),'meowKey':a196_0x468652(0x179),'type':'string','description':a196_0x468652(0x144),'hidden':!![]},{'name':'sqlname','meowKey':a196_0x468652(0x165),'type':'string','description':a196_0x468652(0x144),'hidden':!![]},{'name':'db-id','meowKey':'dbId','type':a196_0x468652(0x19d),'description':a196_0x468652(0x18e),'hidden':!![]},{'name':a196_0x468652(0x12f),'meowKey':'dbid','type':'string','description':a196_0x468652(0x18e),'hidden':!![]},{'name':a196_0x468652(0x160),'meowKey':'description','type':'string','description':'Description','hidden':!![]},{'name':a196_0x468652(0x194),'meowKey':a196_0x468652(0x149),'type':'string','description':a196_0x468652(0x13b),'hidden':!![]},{'name':a196_0x468652(0x12d),'meowKey':a196_0x468652(0x12d),'type':a196_0x468652(0x19d),'description':'Page\x20number','hidden':!![]},{'name':a196_0x468652(0x138),'meowKey':a196_0x468652(0x138),'type':'string','description':'Page\x20size','hidden':!![]},{'name':a196_0x468652(0x14a),'meowKey':'keyword','type':'string','description':'Keyword\x20filter','hidden':!![]},{'name':a196_0x468652(0x159),'meowKey':a196_0x468652(0x159),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x1a1),'hidden':!![]},{'name':a196_0x468652(0x175),'meowKey':a196_0x468652(0x175),'type':'string','description':a196_0x468652(0x15b),'hidden':!![]},{'name':a196_0x468652(0x173),'meowKey':a196_0x468652(0x173),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x162),'hidden':!![]},{'name':'operation','meowKey':'operation','type':a196_0x468652(0x19d),'description':a196_0x468652(0x195),'hidden':!![]},{'name':a196_0x468652(0x168),'meowKey':'target','type':a196_0x468652(0x19d),'description':'Target\x20path','hidden':!![]},{'name':a196_0x468652(0x197),'meowKey':a196_0x468652(0x188),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x143),'hidden':!![]},{'name':a196_0x468652(0x13a),'meowKey':a196_0x468652(0x13a),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x147),'hidden':!![]},{'name':a196_0x468652(0x187),'meowKey':'value','type':a196_0x468652(0x19d),'description':a196_0x468652(0x19c),'hidden':!![]},{'name':'tags','meowKey':'tags','type':a196_0x468652(0x19d),'description':a196_0x468652(0x141),'hidden':!![]},{'name':a196_0x468652(0x192),'meowKey':'stdin','type':a196_0x468652(0x19a),'description':a196_0x468652(0x184),'hidden':!![]},{'name':a196_0x468652(0x129),'meowKey':a196_0x468652(0x14b),'type':a196_0x468652(0x19d),'description':'Read\x20value\x20from\x20environment\x20variable','hidden':!![]},{'name':'reveal','meowKey':'reveal','type':a196_0x468652(0x19a),'description':a196_0x468652(0x18f),'hidden':!![]},{'name':a196_0x468652(0x125),'meowKey':a196_0x468652(0x125),'type':a196_0x468652(0x19a),'description':'Force\x20overwrite','hidden':!![]},{'name':a196_0x468652(0x13d),'meowKey':a196_0x468652(0x13d),'type':a196_0x468652(0x19a),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a196_0x468652(0x172),'meowKey':a196_0x468652(0x172),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x181),'hidden':!![]},{'name':a196_0x468652(0x152),'meowKey':a196_0x468652(0x152),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x16d),'hidden':!![]},{'name':a196_0x468652(0x16f),'meowKey':a196_0x468652(0x133),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x15f),'hidden':!![]},{'name':'label','meowKey':a196_0x468652(0x183),'type':a196_0x468652(0x19d),'description':'Menu\x20label','hidden':!![]},{'name':a196_0x468652(0x15d),'meowKey':a196_0x468652(0x176),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x145),'hidden':!![]},{'name':a196_0x468652(0x154),'meowKey':a196_0x468652(0x154),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x16e),'hidden':!![]},{'name':a196_0x468652(0x153),'meowKey':'expectParentId','type':a196_0x468652(0x19d),'description':a196_0x468652(0x148),'hidden':!![]},{'name':a196_0x468652(0x16b),'meowKey':a196_0x468652(0x136),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x16c),'hidden':!![]},{'name':a196_0x468652(0x189),'meowKey':a196_0x468652(0x15e),'type':a196_0x468652(0x19d),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a196_0x468652(0x18c),'meowKey':a196_0x468652(0x163),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x171),'hidden':!![]},{'name':a196_0x468652(0x131),'meowKey':a196_0x468652(0x132),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x151),'hidden':!![]},{'name':'operation-type','meowKey':a196_0x468652(0x137),'type':a196_0x468652(0x19d),'description':'Operation\x20type','hidden':!![]},{'name':'function-node','meowKey':a196_0x468652(0x178),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x155),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a196_0x468652(0x161),'app','env',a196_0x468652(0x185),'jq',a196_0x468652(0x180),'yes',a196_0x468652(0x12c),'ci']);export function buildMeowFlags(){const _0x4cda97=a196_0x468652;return Object[_0x4cda97(0x19b)](GLOBAL_FLAGS[_0x4cda97(0x17b)](_0x591430=>[_0x591430[_0x4cda97(0x127)],{'type':_0x591430['type']}]));}function a196_0x1a47(_0x740c17,_0x5f2265){_0x740c17=_0x740c17-0x124;const _0x3f8c57=a196_0x3f8c();let _0x1a478f=_0x3f8c57[_0x740c17];return _0x1a478f;}function a196_0x3f8c(){const _0x3a6ab2=['Reveal\x20sensitive\x20value','sql-name','Use\x20project\x20config\x20scope','stdin','Override\x20appcode','description-file','Operation\x20type','all','skip-imports','1471596aGdDvO','1334waxkpb','boolean','fromEntries','Config\x20value','string','77481gKsrRV','dryRun','Environment','Code\x20filter','datasetcode','Rabetbase\x20CLI','force','Apply\x20to\x20all','meowKey','12LLeRwk','from-env','Title','294OwCIDN','non-interactive','page','1608QaUsDD','dbid','Select\x20app\x20profile\x20by\x20name','task-id','taskId','expectedCount','enable-bff-save','nonInteractive','expectPath','operationType','pagesize','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','key','Description\x20file','Watch\x20mode','confirm','4477uHusVo','type','<expr>','Tags','sqlcode','Skip\x20import\x20generation','SQL\x20name','Parent\x20menu\x20id','1330190CuILXC','Config\x20key','Expected\x20current\x20parent\x20menu\x20id','descriptionFile','keyword','fromEnv','Clear','Preview\x20operation\x20without\x20executing','yes','Output\x20format','params','Asynchronous\x20task\x20ID','verbose','expect-parent-id','sort','Function\x20node','Output\x20path','Skip\x20confirmation\x20for\x20high-risk\x20writes','Force\x20non-interactive\x20mode\x20(CI)','code','408WguWza','SQL\x20string','Alias\x20for\x20--non-interactive','parent-id','expectedChildrenCount','Expected\x20affected\x20count','description','appcode','Schemas','menuIds','<name>','sqlname','clear','Use\x20global\x20config\x20scope','target','file','app','expect-path','Expected\x20current\x20menu\x20path','Verbose\x20output','Menu\x20sort\x20value','expected-count','195335HQaRlP','Comma-separated\x20menu\x20IDs','remote','schemas','output','sql','parentId','2336ogdmRy','functionNode','sqlName','json\x20|\x20pretty\x20|\x20compress','map','watch','11190980uOFbYL','help','SQL\x20code','dry-run','Use\x20remote','name','label','Read\x20value\x20from\x20stdin','format','env','value','skipImports','expected-children-count','Type\x20filter','Show\x20help','menu-ids','<code>','DB\x20ID'];a196_0x3f8c=function(){return _0x3a6ab2;};return a196_0x3f8c();}
|
package/lib/constant/defaults.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a197_0x5b6e00=a197_0x2aad;(function(_0x6f3dd5,_0x445e23){const _0x422d30=a197_0x2aad,_0x569578=_0x6f3dd5();while(!![]){try{const _0x3e5020=parseInt(_0x422d30(0x183))/0x1+parseInt(_0x422d30(0x181))/0x2+parseInt(_0x422d30(0x17f))/0x3*(-parseInt(_0x422d30(0x187))/0x4)+parseInt(_0x422d30(0x184))/0x5*(-parseInt(_0x422d30(0x186))/0x6)+-parseInt(_0x422d30(0x182))/0x7+parseInt(_0x422d30(0x188))/0x8*(-parseInt(_0x422d30(0x185))/0x9)+parseInt(_0x422d30(0x17c))/0xa*(parseInt(_0x422d30(0x17e))/0xb);if(_0x3e5020===_0x445e23)break;else _0x569578['push'](_0x569578['shift']());}catch(_0x570e47){_0x569578['push'](_0x569578['shift']());}}}(a197_0x2782,0x46b3c));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a197_0x5b6e00(0x17d),'format':a197_0x5b6e00(0x18a),'locale':a197_0x5b6e00(0x189),'riskLevel':a197_0x5b6e00(0x180),'apiDir':DEFAULT_API_DIR};function a197_0x2aad(_0x410649,_0x4aebd5){_0x410649=_0x410649-0x17c;const _0x2782d1=a197_0x2782();let _0x2aad39=_0x2782d1[_0x410649];return _0x2aad39;}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a197_0x5b6e00(0x18a);function a197_0x2782(){const _0x1a916b=['10968dkqArb','90328ZagHPp','16gXpQYG','en-US','compress','6033470GBERIt','production','11FBzvWu','12jYgoeZ','high-risk-write','697886sdauiR','3874472lnNytw','110028JNkpkT','345isHSvz','12447XogaLA'];a197_0x2782=function(){return _0x1a916b;};return a197_0x2782();}
|
package/lib/constant/domain.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a198_0x7c02cb=a198_0x5e59;(function(_0x252b6b,_0x51296a){const _0x132dd0=a198_0x5e59,_0x284e3f=_0x252b6b();while(!![]){try{const _0x1b4a71=parseInt(_0x132dd0(0x94))/0x1+parseInt(_0x132dd0(0x9e))/0x2*(-parseInt(_0x132dd0(0x9c))/0x3)+-parseInt(_0x132dd0(0xa6))/0x4*(-parseInt(_0x132dd0(0xa1))/0x5)+parseInt(_0x132dd0(0xa5))/0x6*(-parseInt(_0x132dd0(0x99))/0x7)+parseInt(_0x132dd0(0x9f))/0x8+-parseInt(_0x132dd0(0x9d))/0x9*(parseInt(_0x132dd0(0xa2))/0xa)+parseInt(_0x132dd0(0x98))/0xb;if(_0x1b4a71===_0x51296a)break;else _0x284e3f['push'](_0x284e3f['shift']());}catch(_0x17c66b){_0x284e3f['push'](_0x284e3f['shift']());}}}(a198_0x190c,0xccbe0));import{getEnv,isProduction}from'../constant/env.js';let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x4289c3){const _0x28dfb5=a198_0x5e59;customApiDomain=_0x4289c3?.[_0x28dfb5(0x9a)],customUserDomain=_0x4289c3?.['userDomain'],customRuntimeDomain=_0x4289c3?.['runtimeDomain'];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a198_0x7c02cb(0x95):'https://user-daily.lovrabet.com');export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?'https://api.lovrabet.com':'https://daily-api.lovrabet.com');export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?a198_0x7c02cb(0xa4):a198_0x7c02cb(0xa3));export const getAppDomain=()=>isProduction(getEnv())?a198_0x7c02cb(0xa0):a198_0x7c02cb(0x96);function a198_0x5e59(_0x5a0611,_0x45f059){_0x5a0611=_0x5a0611-0x94;const _0x190c0c=a198_0x190c();let _0x5e596f=_0x190c0c[_0x5a0611];return _0x5e596f;}function a198_0x190c(){const _0x4a8a28=['18918gJqTHD','1658vaexyM','2098472UdQAzH','https://app.lovrabet.com','13595BgGFhV','3190BkBGsd','https://daily-runtime.lovrabet.com','https://runtime.lovrabet.com','2672202avXQMZ','1708KqZxzz','487088MFlGdq','https://user.lovrabet.com','https://daily.lovrabet.com','/app/','23806860tetlPX','21yeoWCJ','apiDomain','/web-app/app/','4449GSgwzv'];a198_0x190c=function(){return _0x4a8a28;};return a198_0x190c();}export const getAppBaseUrl=_0x32fdba=>{const _0x1611e6=a198_0x7c02cb,_0x3a8bdf=encodeURIComponent(_0x32fdba['trim']());return isProduction(getEnv())?getAppDomain()+_0x1611e6(0x97)+_0x3a8bdf:getAppDomain()+_0x1611e6(0x9b)+_0x3a8bdf;};
|
package/lib/constant/env.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a199_0x372c(_0x5923a1,_0x449db1){_0x5923a1=_0x5923a1-0x86;const _0x36493a=a199_0x3649();let _0x372c75=_0x36493a[_0x5923a1];return _0x372c75;}function a199_0x3649(){const _0x4f76f6=['development','dev','198291JzpAgv','634200hygHZW','3046484KjXnvA','2isCnFd','829228EPFOYQ','2816082suuFAA','daily','1315200IbwpuQ','5gzdsmJ','1043768gQzbih','production'];a199_0x3649=function(){return _0x4f76f6;};return a199_0x3649();}const a199_0x42cf14=a199_0x372c;(function(_0x662be0,_0x3ae75e){const _0x2941a3=a199_0x372c,_0xac0f94=_0x662be0();while(!![]){try{const _0x1067ea=parseInt(_0x2941a3(0x88))/0x1*(parseInt(_0x2941a3(0x8b))/0x2)+-parseInt(_0x2941a3(0x89))/0x3+-parseInt(_0x2941a3(0x8c))/0x4*(parseInt(_0x2941a3(0x90))/0x5)+parseInt(_0x2941a3(0x8f))/0x6+parseInt(_0x2941a3(0x8a))/0x7+parseInt(_0x2941a3(0x91))/0x8+-parseInt(_0x2941a3(0x8d))/0x9;if(_0x1067ea===_0x3ae75e)break;else _0xac0f94['push'](_0xac0f94['shift']());}catch(_0x218fe9){_0xac0f94['push'](_0xac0f94['shift']());}}}(a199_0x3649,0x3d6b1));export const RABETBASE_ENV_VALUES=[a199_0x42cf14(0x92),a199_0x42cf14(0x8e)];export function normalizeEnv(_0x1b978f){return _0x1b978f==='online'?'production':_0x1b978f;}export function isProduction(_0x3f3a08){const _0x4291c2=a199_0x42cf14;return normalizeEnv(_0x3f3a08)===_0x4291c2(0x92);}export function isDaily(_0x44a771){const _0x417802=a199_0x42cf14;return normalizeEnv(_0x44a771)===_0x417802(0x8e);}export function isDev(_0x133dbf){const _0x2eb48a=a199_0x42cf14,_0x4dd84c=normalizeEnv(_0x133dbf);return _0x4dd84c===_0x2eb48a(0x86)||_0x4dd84c===_0x2eb48a(0x87);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a199_0x42cf14(0x92));export function getEnv(){return env;}export function initEnv(_0x4a8160){env=normalizeEnv(_0x4a8160);}
|
package/lib/constant/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a200_0x460273=a200_0x8afe;(function(_0x3e5142,_0x96dc58){const _0x233823=a200_0x8afe,_0x1262a8=_0x3e5142();while(!![]){try{const _0x5df574=parseInt(_0x233823(0xa9))/0x1*(parseInt(_0x233823(0xb0))/0x2)+parseInt(_0x233823(0xa5))/0x3+parseInt(_0x233823(0xa4))/0x4+-parseInt(_0x233823(0xa7))/0x5*(parseInt(_0x233823(0xa8))/0x6)+parseInt(_0x233823(0xad))/0x7+-parseInt(_0x233823(0xaf))/0x8+-parseInt(_0x233823(0xa6))/0x9*(-parseInt(_0x233823(0xae))/0xa);if(_0x5df574===_0x96dc58)break;else _0x1262a8['push'](_0x1262a8['shift']());}catch(_0x118de6){_0x1262a8['push'](_0x1262a8['shift']());}}}(a200_0xbc91,0x8a1f3));function a200_0x8afe(_0x28f53b,_0x1594d2){_0x28f53b=_0x28f53b-0xa4;const _0xbc914a=a200_0xbc91();let _0x8afe03=_0xbc914a[_0x28f53b];return _0x8afe03;}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a200_0x460273(0xac),a200_0x460273(0xaa),a200_0x460273(0xab)];function a200_0xbc91(){const _0x20d185=['2117726OzXflF','1660040gFfLNg','3079317nQAjBT','2423097CviOBU','3985fQpEAv','8418clwWBA','1UYbXHz','pretty','compress','json','116550fDJmae','10uWnfJJ','8818056xYCAVG'];a200_0xbc91=function(){return _0x20d185;};return a200_0xbc91();}
|
package/lib/constant/paths.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a201_0x5834(){const _0x411546=['1791279fgpIOz','3408sNDhjn','2412mTqDoi','./src/api','26VvcayS','4807704UkiXlD','56073AOHvow','949iTiZjl','10ixUjMm','312930JuwgcI','24jfuwtc','105240nlSKnb','5OHayfd','3738097AkikDc'];a201_0x5834=function(){return _0x411546;};return a201_0x5834();}function a201_0x3ef1(_0x14eef2,_0x32b320){_0x14eef2=_0x14eef2-0xbc;const _0x5834e1=a201_0x5834();let _0x3ef110=_0x5834e1[_0x14eef2];return _0x3ef110;}const a201_0xe9f2a=a201_0x3ef1;(function(_0x11efc9,_0x1c9fbf){const _0x37aaf3=a201_0x3ef1,_0x8f55fb=_0x11efc9();while(!![]){try{const _0xf9f4c1=-parseInt(_0x37aaf3(0xc5))/0x1*(-parseInt(_0x37aaf3(0xc3))/0x2)+parseInt(_0x37aaf3(0xc0))/0x3*(parseInt(_0x37aaf3(0xc1))/0x4)+-parseInt(_0x37aaf3(0xbd))/0x5*(-parseInt(_0x37aaf3(0xc4))/0x6)+parseInt(_0x37aaf3(0xbf))/0x7*(-parseInt(_0x37aaf3(0xc9))/0x8)+-parseInt(_0x37aaf3(0xc8))/0x9+parseInt(_0x37aaf3(0xc7))/0xa*(-parseInt(_0x37aaf3(0xbe))/0xb)+-parseInt(_0x37aaf3(0xbc))/0xc*(parseInt(_0x37aaf3(0xc6))/0xd);if(_0xf9f4c1===_0x1c9fbf)break;else _0x8f55fb['push'](_0x8f55fb['shift']());}catch(_0x3aef08){_0x8f55fb['push'](_0x8f55fb['shift']());}}}(a201_0x5834,0x69a67));export const DEFAULT_API_DIR=a201_0xe9f2a(0xc2);
|
package/lib/constant/risk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a202_0x2027(){const _0x18f89f=['79533nwzxrT','write','high-risk-write','22070EXJutk','1668296aoSDCg','4238130TFwMSK','120RyNLee','7368585rduHPB','59606cyrMCO','110DqsZAt','6klQApE','44YibJgi','read','703592WTXpHE'];a202_0x2027=function(){return _0x18f89f;};return a202_0x2027();}function a202_0x7d6e(_0x242761,_0x33d985){_0x242761=_0x242761-0x18b;const _0x202748=a202_0x2027();let _0x7d6e07=_0x202748[_0x242761];return _0x7d6e07;}const a202_0x2ec335=a202_0x7d6e;(function(_0x55ac0d,_0x5026fb){const _0xc0c897=a202_0x7d6e,_0x890bcb=_0x55ac0d();while(!![]){try{const _0x4ae7b2=parseInt(_0xc0c897(0x197))/0x1*(parseInt(_0xc0c897(0x194))/0x2)+parseInt(_0xc0c897(0x196))/0x3*(parseInt(_0xc0c897(0x18b))/0x4)+-parseInt(_0xc0c897(0x193))/0x5+parseInt(_0xc0c897(0x191))/0x6+-parseInt(_0xc0c897(0x190))/0x7+parseInt(_0xc0c897(0x192))/0x8*(parseInt(_0xc0c897(0x18c))/0x9)+-parseInt(_0xc0c897(0x18f))/0xa*(parseInt(_0xc0c897(0x195))/0xb);if(_0x4ae7b2===_0x5026fb)break;else _0x890bcb['push'](_0x890bcb['shift']());}catch(_0x19afae){_0x890bcb['push'](_0x890bcb['shift']());}}}(a202_0x2027,0xbb7b3));export const RISK_LEVEL_VALUES=[a202_0x2ec335(0x198),a202_0x2ec335(0x18d),a202_0x2ec335(0x18e)];
|