cabloy 5.1.49 → 5.1.51
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/.claude/skills/cabloy-backend-scaffold/SKILL.md +207 -0
- package/.claude/skills/cabloy-backend-scaffold/evals/evals.json +29 -0
- package/.claude/skills/cabloy-backend-scaffold/references/backend-thread-map.md +52 -0
- package/.claude/skills/cabloy-backend-scaffold/references/follow-up-checklist.md +39 -0
- package/.claude/skills/cabloy-contract-loop/SKILL.md +201 -0
- package/.claude/skills/cabloy-contract-loop/evals/evals.json +29 -0
- package/.claude/skills/cabloy-contract-loop/references/contract-loop-map.md +47 -0
- package/.claude/skills/cabloy-contract-loop/references/verification-checklist.md +32 -0
- package/.claude/skills/cabloy-frontend-scaffold/SKILL.md +230 -0
- package/.claude/skills/cabloy-frontend-scaffold/evals/evals.json +35 -0
- package/.claude/skills/cabloy-frontend-scaffold/references/follow-up-checklist.md +41 -0
- package/.claude/skills/cabloy-frontend-scaffold/references/frontend-thread-map.md +54 -0
- package/.claude/skills/cabloy-workflow/SKILL.md +288 -0
- package/.claude/skills/cabloy-workflow/evals/evals.json +35 -0
- package/.claude/skills/cabloy-workflow/references/cli-strategy.md +39 -0
- package/.claude/skills/cabloy-workflow/references/edition-detection.md +29 -0
- package/.github/workflows/docs-pages.yml +54 -0
- package/.gitignore +1 -0
- package/CHANGELOG.md +46 -0
- package/CLAUDE.md +59 -0
- package/README.md +137 -0
- package/cabloy-docs/.vitepress/config.mjs +222 -0
- package/cabloy-docs/.vitepress/public/CNAME +1 -0
- package/cabloy-docs/.vitepress/theme/custom.css +64 -0
- package/cabloy-docs/.vitepress/theme/edition-badges.md +5 -0
- package/cabloy-docs/.vitepress/theme/index.js +5 -0
- package/cabloy-docs/ai/class-placement-rule.md +138 -0
- package/cabloy-docs/ai/cli-for-agents.md +56 -0
- package/cabloy-docs/ai/cli-to-skill-map.md +165 -0
- package/cabloy-docs/ai/docs-skills-rules-mapping.md +167 -0
- package/cabloy-docs/ai/edition-detection.md +30 -0
- package/cabloy-docs/ai/future-skill-roadmap.md +135 -0
- package/cabloy-docs/ai/global-bean-lookup.md +157 -0
- package/cabloy-docs/ai/introduction.md +62 -0
- package/cabloy-docs/ai/playbook-backend-module.md +111 -0
- package/cabloy-docs/ai/playbook-contract-regeneration.md +100 -0
- package/cabloy-docs/ai/playbook-frontend-page.md +99 -0
- package/cabloy-docs/ai/playbook-metadata-refresh.md +67 -0
- package/cabloy-docs/ai/repo-guidance.md +58 -0
- package/cabloy-docs/ai/rules-and-config.md +29 -0
- package/cabloy-docs/ai/skills.md +35 -0
- package/cabloy-docs/ai/verification.md +30 -0
- package/cabloy-docs/backend/aop-overview.md +128 -0
- package/cabloy-docs/backend/auth-guide.md +151 -0
- package/cabloy-docs/backend/backend-essentials.md +128 -0
- package/cabloy-docs/backend/broadcast-guide.md +138 -0
- package/cabloy-docs/backend/cache-guide.md +70 -0
- package/cabloy-docs/backend/captcha-guide.md +162 -0
- package/cabloy-docs/backend/cli.md +173 -0
- package/cabloy-docs/backend/config-guide.md +249 -0
- package/cabloy-docs/backend/controller-aop-guide.md +270 -0
- package/cabloy-docs/backend/controller-guide.md +347 -0
- package/cabloy-docs/backend/crud-workflow.md +118 -0
- package/cabloy-docs/backend/dto-guide.md +161 -0
- package/cabloy-docs/backend/dto-infer-generation.md +153 -0
- package/cabloy-docs/backend/dynamic-datasource-guide.md +70 -0
- package/cabloy-docs/backend/election-guide.md +141 -0
- package/cabloy-docs/backend/entity-guide.md +150 -0
- package/cabloy-docs/backend/error-guide.md +108 -0
- package/cabloy-docs/backend/event-guide.md +183 -0
- package/cabloy-docs/backend/external-aop-guide.md +149 -0
- package/cabloy-docs/backend/field-indexes.md +79 -0
- package/cabloy-docs/backend/foundation.md +281 -0
- package/cabloy-docs/backend/i18n-guide.md +211 -0
- package/cabloy-docs/backend/internal-aop-guide.md +181 -0
- package/cabloy-docs/backend/introduction.md +95 -0
- package/cabloy-docs/backend/jwt-guide.md +276 -0
- package/cabloy-docs/backend/logger-guide.md +223 -0
- package/cabloy-docs/backend/mail-guide.md +189 -0
- package/cabloy-docs/backend/menu-guide.md +80 -0
- package/cabloy-docs/backend/migration-and-changes.md +192 -0
- package/cabloy-docs/backend/model-guide.md +274 -0
- package/cabloy-docs/backend/multi-database-datasource.md +171 -0
- package/cabloy-docs/backend/multi-instance-and-instance-resolution.md +196 -0
- package/cabloy-docs/backend/openapi-guide.md +118 -0
- package/cabloy-docs/backend/orm-aggregate-group-guide.md +210 -0
- package/cabloy-docs/backend/orm-configuration-guide.md +165 -0
- package/cabloy-docs/backend/orm-guide.md +109 -0
- package/cabloy-docs/backend/orm-mutation-guide.md +195 -0
- package/cabloy-docs/backend/orm-select-guide.md +243 -0
- package/cabloy-docs/backend/queue-guide.md +271 -0
- package/cabloy-docs/backend/quickstart.md +141 -0
- package/cabloy-docs/backend/redis-guide.md +70 -0
- package/cabloy-docs/backend/redlock-guide.md +60 -0
- package/cabloy-docs/backend/relations-guide.md +250 -0
- package/cabloy-docs/backend/runtime-and-flavors.md +304 -0
- package/cabloy-docs/backend/schedule-guide.md +81 -0
- package/cabloy-docs/backend/scripts.md +116 -0
- package/cabloy-docs/backend/serialization-guide.md +192 -0
- package/cabloy-docs/backend/service-guide.md +166 -0
- package/cabloy-docs/backend/sharding-guide.md +49 -0
- package/cabloy-docs/backend/startup-guide.md +326 -0
- package/cabloy-docs/backend/transaction-guide.md +82 -0
- package/cabloy-docs/backend/unit-testing.md +209 -0
- package/cabloy-docs/backend/upload-guide.md +160 -0
- package/cabloy-docs/backend/user-access-guide.md +157 -0
- package/cabloy-docs/backend/validation-guide.md +80 -0
- package/cabloy-docs/backend/worker-guide.md +59 -0
- package/cabloy-docs/editions/cabloy-basic.md +25 -0
- package/cabloy-docs/editions/cabloy-start.md +24 -0
- package/cabloy-docs/editions/detection.md +31 -0
- package/cabloy-docs/editions/overview.md +44 -0
- package/cabloy-docs/frontend/api-guide.md +93 -0
- package/cabloy-docs/frontend/api-schema-guide.md +43 -0
- package/cabloy-docs/frontend/app-startup-guide.md +185 -0
- package/cabloy-docs/frontend/cli.md +78 -0
- package/cabloy-docs/frontend/component-guide.md +105 -0
- package/cabloy-docs/frontend/component-props-guide.md +97 -0
- package/cabloy-docs/frontend/component-v-model-guide.md +110 -0
- package/cabloy-docs/frontend/css-in-js-guide.md +151 -0
- package/cabloy-docs/frontend/design-principles.md +55 -0
- package/cabloy-docs/frontend/environment-config-guide.md +250 -0
- package/cabloy-docs/frontend/foundation.md +57 -0
- package/cabloy-docs/frontend/generic-component-guide.md +35 -0
- package/cabloy-docs/frontend/icon-engine-guide.md +88 -0
- package/cabloy-docs/frontend/introduction.md +32 -0
- package/cabloy-docs/frontend/ioc-and-beans.md +211 -0
- package/cabloy-docs/frontend/mock-guide.md +109 -0
- package/cabloy-docs/frontend/model-architecture.md +87 -0
- package/cabloy-docs/frontend/model-state-guide.md +70 -0
- package/cabloy-docs/frontend/module-scope.md +168 -0
- package/cabloy-docs/frontend/modules-and-suites.md +179 -0
- package/cabloy-docs/frontend/navigation-guards-guide.md +68 -0
- package/cabloy-docs/frontend/openapi-sdk-guide.md +102 -0
- package/cabloy-docs/frontend/page-guide.md +223 -0
- package/cabloy-docs/frontend/page-params-guide.md +87 -0
- package/cabloy-docs/frontend/page-query-guide.md +96 -0
- package/cabloy-docs/frontend/page-route-guide.md +147 -0
- package/cabloy-docs/frontend/quickstart.md +201 -0
- package/cabloy-docs/frontend/route-alias-guide.md +61 -0
- package/cabloy-docs/frontend/scripts.md +86 -0
- package/cabloy-docs/frontend/sdk-guide.md +45 -0
- package/cabloy-docs/frontend/server-data.md +74 -0
- package/cabloy-docs/frontend/ssr-client-only.md +40 -0
- package/cabloy-docs/frontend/ssr-env.md +51 -0
- package/cabloy-docs/frontend/ssr-init-data.md +46 -0
- package/cabloy-docs/frontend/ssr-overview.md +48 -0
- package/cabloy-docs/frontend/ssr-seo-meta.md +52 -0
- package/cabloy-docs/frontend/system-startup-guide.md +186 -0
- package/cabloy-docs/frontend/theme-guide.md +154 -0
- package/cabloy-docs/frontend/zod-guide.md +161 -0
- package/cabloy-docs/fullstack/edition-collaboration-differences.md +61 -0
- package/cabloy-docs/fullstack/frontend-metadata-to-backend.md +64 -0
- package/cabloy-docs/fullstack/introduction.md +69 -0
- package/cabloy-docs/fullstack/openapi-to-sdk.md +116 -0
- package/cabloy-docs/fullstack/quickstart.md +86 -0
- package/cabloy-docs/fullstack/vona-zova-integration.md +86 -0
- package/cabloy-docs/index.md +73 -0
- package/cabloy-docs/package.json +16 -0
- package/cabloy-docs/pnpm-lock.yaml +1607 -0
- package/cabloy-docs/reference/backend-directory-structure.md +88 -0
- package/cabloy-docs/reference/cli-reference.md +49 -0
- package/cabloy-docs/reference/glossary.md +38 -0
- package/cabloy-docs/reference/package-map.md +105 -0
- package/cabloy-docs/reference/repo-scripts.md +36 -0
- package/package.json +4 -1
- package/scripts/init.ts +12 -0
- package/scripts/upgrade.ts +31 -3
- package/vona/README.md +3 -3
- package/vona/README.zh-CN.md +4 -4
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-datasharding/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-datasharding/src/bean/summerCache.datasourceWrite.ts +2 -2
- package/vona/src/suite-vendor/a-cabloy/package.json +1 -1
- package/vona/src/suite-vendor/a-captcha/modules/a-captcha/package.json +1 -1
- package/vona/src/suite-vendor/a-captcha/modules/a-captcha/src/bean/cacheRedis.captcha.ts +2 -2
- package/vona/src/suite-vendor/a-captcha/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-bean/cli/bean/metadata/generate.ts +5 -6
- package/vona/src/suite-vendor/a-vona/modules/a-bean/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-cache/cli/cacheMem/boilerplate/{{sceneName}}.{{beanName}}.ts_ +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-cache/cli/cacheRedis/boilerplate/{{sceneName}}.{{beanName}}.ts_ +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-cache/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-cache/src/.metadata/index.ts +13 -2
- package/vona/src/suite-vendor/a-vona/modules/a-cache/src/bean/bean.cache.ts +6 -7
- package/vona/src/suite-vendor/a-vona/modules/a-cache/src/{bean/bean.cacheMemBase.ts → service/cacheMemBase_.ts} +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-cache/src/{bean/bean.cacheRedisBase.ts → service/cacheRedisBase_.ts} +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-mailconfirm/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-mailconfirm/src/bean/cacheRedis.emailConfirm.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-mailconfirm/src/bean/cacheRedis.passwordReset.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-openapi/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-openapi/src/bean/summerCache.json.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-orm/cli/databaseDialect/boilerplate/{{sceneName}}.{{beanName}}.ts_ +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-orm/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/.metadata/index.ts +4 -3
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/bean/bean.database.ts +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/bean/bean.model.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/bean/schedule.softDeletionPrune.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/common/utils.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/index.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.model/bean.model_cache.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.model/bean.model_meta.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.modelBase.ts +0 -5
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoAggregate.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoCreate.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoGet.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoGroup.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoMutate.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoSelectAndCount.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoUpdate.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/index.ts +1 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/modelCacheBase.ts +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/relations.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/relationsDynamic.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/relationsMutate.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/relationsStatic.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/service/cacheEntity_.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/service/cacheQuery_.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/service/database.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean/bean.databaseDialectBase.ts → service/databaseDialectBase_.ts} +38 -41
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/service/db_.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/service/relations_.ts +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/database.ts +0 -5
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/dto/dtoGet.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/dto/dtoMutate.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/dto/dtoSelectAndCount.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/model.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/modelAggr.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/modelCount.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/modelGeneral.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/modelGroup.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/modelIncrement.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/relations.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/relationsColumns.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/relationsDef.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/relationsDefDynamic.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/relationsDefMutate.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/relationsMutate.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/relationsTables.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-ormdialect/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-ormdialect/src/bean/databaseDialect.betterSqlite3.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-ormdialect/src/bean/databaseDialect.mysql.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-ormdialect/src/bean/databaseDialect.pg.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-permission/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-permission/src/bean/bean.permission.ts +109 -40
- package/vona/src/suite-vendor/a-vona/modules/a-permission/src/bean/summerCache.permission.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-startup/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-startup/src/bean/cacheRedis.startupDebounce.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-summer/cli/boilerplate/{{sceneName}}.{{beanName}}.ts_ +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-summer/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-summer/src/.metadata/index.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-summer/src/bean/bean.summer.ts +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-summer/src/service/localMem_.ts +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-summer/src/service/localRedis_.ts +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-summer/src/{bean/bean.summerCacheBase.ts → service/summerCacheBase_.ts} +3 -3
- package/vona/src/suite-vendor/a-vona/modules/a-swagger/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-swagger/src/bean/summerCache.rapidoc.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-swagger/src/bean/summerCache.swagger.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-user/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-user/src/bean/cacheRedis.authToken.ts +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-worker/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-worker/src/bean/cacheRedis.workerAlive.ts +2 -2
- package/vona/src/suite-vendor/a-vona/package.json +1 -1
- package/zova/README.md +4 -4
- package/zova/README.zh-CN.md +4 -4
- package/zova/packages-zova/zova/package.json +2 -2
- package/zova/src/suite/a-demo/modules/demo-basic/src/page/toolTwo/controller.tsx +0 -2
- package/zova/src/suite/a-home/modules/home-base/src/config/locale/en-us.ts +1 -0
- package/zova/src/suite/a-home/modules/home-base/src/config/locale/zh-cn.ts +1 -0
- package/zova/src/suite/a-home/modules/home-base/src/page/errorNotFound/controller.tsx +8 -2
- package/zova/src/suite/a-home/modules/home-layoutweb/src/component/layoutWeb/controller.tsx +1 -1
- package/zova/src/suite/a-home/modules/home-layoutweb/src/component/layoutWeb/render.header.tsx +1 -1
- package/zova/src/suite/a-home/modules/home-layoutweb/src/component/layoutWeb/render.locale.tsx +2 -5
- package/zova/src/suite/a-home/modules/home-layoutweb/src/component/layoutWeb/render.tabs.tsx +1 -4
- package/zova/src/suite-vendor/a-zova/modules/a-router/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-router/src/bean/sys.router.ts +28 -6
- package/zova/src/suite-vendor/a-zova/modules/a-router/src/monkeySys.ts +15 -3
- package/zova/src/suite-vendor/a-zova/modules/a-router/src/types/router.ts +1 -0
- package/zova/src/suite-vendor/a-zova/modules/a-routertabs/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-routertabs/src/model/tabs.ts +4 -0
- package/zova/src/suite-vendor/a-zova/package.json +3 -3
- /package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.model/bean.model_crud.ts +0 -0
- /package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.model/bean.model_crud_inner.ts +0 -0
- /package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.model/bean.model_crud_table.ts +0 -0
- /package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.model/bean.model_knex.ts +0 -0
- /package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.model/bean.model_utils.ts +0 -0
- /package/vona/src/suite-vendor/a-vona/modules/a-orm/src/{bean → lib}/bean.model/bean.model_view.ts +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# CLI Strategy Reference
|
|
2
|
+
|
|
3
|
+
## Principle
|
|
4
|
+
|
|
5
|
+
The Vona and Zova CLIs already encode many framework conventions. A good Cabloy workflow should reuse them before writing files manually.
|
|
6
|
+
|
|
7
|
+
## Vona
|
|
8
|
+
|
|
9
|
+
Look for command families such as:
|
|
10
|
+
|
|
11
|
+
- `bin:*`
|
|
12
|
+
- `create:*`
|
|
13
|
+
- `init:*`
|
|
14
|
+
- `tools:*`
|
|
15
|
+
|
|
16
|
+
These commonly cover backend scaffolding, initialization, metadata, CRUD workflows, and verification.
|
|
17
|
+
|
|
18
|
+
## Zova
|
|
19
|
+
|
|
20
|
+
Look for command families such as:
|
|
21
|
+
|
|
22
|
+
- `bin:*`
|
|
23
|
+
- `create:*`
|
|
24
|
+
- `init:*`
|
|
25
|
+
- `refactor:*`
|
|
26
|
+
- `tools:*`
|
|
27
|
+
- `openapi:*`
|
|
28
|
+
|
|
29
|
+
These commonly cover frontend scaffolding, refactors, metadata, and OpenAPI-related generation.
|
|
30
|
+
|
|
31
|
+
## Practical rule
|
|
32
|
+
|
|
33
|
+
Before suggesting manual scaffolding, check whether the request can be translated into:
|
|
34
|
+
|
|
35
|
+
1. a Vona command
|
|
36
|
+
2. a Zova command
|
|
37
|
+
3. a short CLI + inspect + verify loop
|
|
38
|
+
|
|
39
|
+
If yes, recommend that path first.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Edition Detection Reference
|
|
2
|
+
|
|
3
|
+
## Primary markers
|
|
4
|
+
|
|
5
|
+
Use these root markers first:
|
|
6
|
+
|
|
7
|
+
- `__CABLOY_BASIC__`
|
|
8
|
+
- `__CABLOY_START__`
|
|
9
|
+
|
|
10
|
+
## Why the markers matter
|
|
11
|
+
|
|
12
|
+
They prevent the most common category error in Cabloy AI work: assuming Cabloy Basic and Cabloy Start are interchangeable.
|
|
13
|
+
|
|
14
|
+
That assumption is especially dangerous for:
|
|
15
|
+
|
|
16
|
+
- UI-library-sensitive examples
|
|
17
|
+
- frontend flavor names
|
|
18
|
+
- page/component workflows
|
|
19
|
+
- module availability
|
|
20
|
+
- docs and skills that try to support both repos
|
|
21
|
+
|
|
22
|
+
## Secondary checks
|
|
23
|
+
|
|
24
|
+
After the marker is identified, confirm the active workflow against:
|
|
25
|
+
|
|
26
|
+
- the repository or workspace `package.json` that owns the active scripts
|
|
27
|
+
- relevant `npm run vona` or `npm run zova` usage
|
|
28
|
+
- edition-specific flavor names in scripts
|
|
29
|
+
- nearby module or suite layout
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: docs-pages
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
paths:
|
|
7
|
+
- 'cabloy-docs/**'
|
|
8
|
+
- 'README.md'
|
|
9
|
+
- '.github/workflows/docs-pages.yml'
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
pages: write
|
|
15
|
+
id-token: write
|
|
16
|
+
|
|
17
|
+
concurrency:
|
|
18
|
+
group: docs-pages
|
|
19
|
+
cancel-in-progress: true
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
build:
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v6
|
|
26
|
+
- uses: pnpm/action-setup@v5
|
|
27
|
+
with:
|
|
28
|
+
version: 10.19.0
|
|
29
|
+
- uses: actions/setup-node@v6
|
|
30
|
+
with:
|
|
31
|
+
node-version: 24
|
|
32
|
+
cache: pnpm
|
|
33
|
+
cache-dependency-path: cabloy-docs/pnpm-lock.yaml
|
|
34
|
+
- name: install docs dependencies
|
|
35
|
+
run: pnpm --dir cabloy-docs install --frozen-lockfile
|
|
36
|
+
- name: build docs
|
|
37
|
+
run: pnpm --dir cabloy-docs docs:build
|
|
38
|
+
- name: setup pages
|
|
39
|
+
uses: actions/configure-pages@v5
|
|
40
|
+
- name: upload pages artifact
|
|
41
|
+
uses: actions/upload-pages-artifact@v4
|
|
42
|
+
with:
|
|
43
|
+
path: cabloy-docs/.vitepress/dist
|
|
44
|
+
|
|
45
|
+
deploy:
|
|
46
|
+
needs: build
|
|
47
|
+
runs-on: ubuntu-latest
|
|
48
|
+
environment:
|
|
49
|
+
name: github-pages
|
|
50
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
51
|
+
steps:
|
|
52
|
+
- name: deploy to github pages
|
|
53
|
+
id: deployment
|
|
54
|
+
uses: actions/deploy-pages@v4
|
package/.gitignore
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.1.51
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Add unified Cabloy documentation and root skills.
|
|
8
|
+
- Update the project with new capabilities.
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- Precompute default permissions from route metadata to ensure permission projection behaves correctly.
|
|
13
|
+
|
|
14
|
+
### Improvements
|
|
15
|
+
|
|
16
|
+
- Refresh documentation entry points and add a pages workflow.
|
|
17
|
+
- Update the quickstart and clarify onboarding and upgrade workflow guidance.
|
|
18
|
+
- Clarify documentation audiences, contributor scope, and implementation guidance across backend and reference docs.
|
|
19
|
+
- Separate project and contributor documentation entry points and improve root README positioning and overview.
|
|
20
|
+
- Expand unified migration, backend, frontend, auth, and AOP guides.
|
|
21
|
+
- Align Web/Admin terminology across English and Chinese documentation.
|
|
22
|
+
- Add architecture notes and internal engineering documentation structure for permission projection.
|
|
23
|
+
- Exclude internal engineering docs and Claude worktrees from published npm packages.
|
|
24
|
+
- Align global bean typing with metadata.
|
|
25
|
+
- Rename the database dialect base to match service naming.
|
|
26
|
+
- Move the model base chain into the library layer.
|
|
27
|
+
- Align service underscore registration semantics.
|
|
28
|
+
- Move the database dialect base into the service scene.
|
|
29
|
+
- Align B2 runtime anchors with the service scene.
|
|
30
|
+
- Add project site publishing support, including CNAME and publish workflow updates.
|
|
31
|
+
|
|
32
|
+
## 5.1.50
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- Update tab-related behavior and rendering.
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
- Reset tabs when the layout refreshes.
|
|
41
|
+
- Improve active tab route matching.
|
|
42
|
+
- Handle alias routes correctly for active tabs.
|
|
43
|
+
- Improve navigation for localized home routes.
|
|
44
|
+
|
|
45
|
+
### Improvements
|
|
46
|
+
|
|
47
|
+
- Refine tab rendering logic.
|
|
48
|
+
|
|
3
49
|
## 5.1.49
|
|
4
50
|
|
|
5
51
|
### Features
|
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Cabloy Monorepo Guidance
|
|
2
|
+
|
|
3
|
+
## Repository identity
|
|
4
|
+
|
|
5
|
+
This repository is **Cabloy Basic**, identified by the root marker file:
|
|
6
|
+
|
|
7
|
+
- `__CABLOY_BASIC__`
|
|
8
|
+
|
|
9
|
+
A sibling repository named `cabloy-start` is a separate source repository and is identified by:
|
|
10
|
+
|
|
11
|
+
- `__CABLOY_START__`
|
|
12
|
+
|
|
13
|
+
Always detect the active edition before making UI-sensitive assumptions, choosing frontend examples, or recommending module-specific workflows.
|
|
14
|
+
|
|
15
|
+
## Monorepo layout
|
|
16
|
+
|
|
17
|
+
- `package.json` is the primary shared workflow entrypoint.
|
|
18
|
+
- `vona/` contains the backend framework, backend modules, and the Vona CLI.
|
|
19
|
+
- `zova/` contains the frontend framework, frontend modules, and the Zova CLI.
|
|
20
|
+
- `cabloy-docs/` contains the unified public documentation.
|
|
21
|
+
- `.docs-internal/` contains internal engineering notes and ADRs.
|
|
22
|
+
- `.claude/` contains Claude commands, skills, and settings.
|
|
23
|
+
|
|
24
|
+
## Preferred workflow
|
|
25
|
+
|
|
26
|
+
Before inventing a custom implementation path:
|
|
27
|
+
|
|
28
|
+
1. check the root `package.json`
|
|
29
|
+
2. detect the edition marker
|
|
30
|
+
3. inspect the relevant CLI entrypoint:
|
|
31
|
+
- `npm run vona`
|
|
32
|
+
- `npm run zova`
|
|
33
|
+
4. use existing command families before writing framework scaffolding manually
|
|
34
|
+
5. verify the result with targeted checks or shared root scripts
|
|
35
|
+
|
|
36
|
+
## Documentation boundary
|
|
37
|
+
|
|
38
|
+
- Put user-facing and agent-facing guidance in `cabloy-docs/`.
|
|
39
|
+
- Put maintainer rationale, architecture notes, and ADRs in `.docs-internal/`.
|
|
40
|
+
- Do not mix internal rationale into public how-to pages unless a trimmed user-facing explanation is genuinely needed.
|
|
41
|
+
|
|
42
|
+
## AI development rules
|
|
43
|
+
|
|
44
|
+
- Prefer CLI-backed workflows over manual scaffolding whenever Vona or Zova already provides a generator, refactor, metadata, or verification command.
|
|
45
|
+
- Treat legacy docs as input material, not as unquestioned truth. When docs conflict with source code, prefer current source code.
|
|
46
|
+
- For frontend work, assume Cabloy Basic and Cabloy Start may diverge in UI library, frontend flavors, module availability, and generated outputs.
|
|
47
|
+
- Reuse existing repo terminology: Cabloy, Vona, Zova, suite, module, bean, SSR, SPA, Web, Admin.
|
|
48
|
+
- For backend base-class placement, use the A / B1 / B2 rule from `cabloy-docs/ai/class-placement-rule.md`.
|
|
49
|
+
- Pure helper bases belong in `src/lib`; subclass-only bases should be evaluated case by case and often belong in `src/lib`.
|
|
50
|
+
- Runtime-anchor bases that still require container-managed or selector/class-token behavior but should not be global beans should prefer `src/service` with `@Service()`.
|
|
51
|
+
- Service-scene runtime-anchor bases that should not register in `IBeanRecordGeneral` should prefer the `src/service/*_.ts` form.
|
|
52
|
+
- `src/bean` defines the global shorthand surface; classes that should not appear in `IBeanRecordGlobal` should move to `src/lib` or `src/service` rather than being filtered by `@Virtual()`.
|
|
53
|
+
- When backend code references `this.bean.xxx`, `ctx.bean.xxx`, or `app.bean.xxx`, use `IBeanRecordGlobal` and module `src/.metadata/index.ts` as the first static lookup surface; use `IBeanRecordGeneral` or `src/service` only when the target is not a global shorthand.
|
|
54
|
+
|
|
55
|
+
## Verification expectations
|
|
56
|
+
|
|
57
|
+
- For docs changes: run the docs build and verify links/navigation where practical.
|
|
58
|
+
- For code-generation or workflow guidance changes: verify that the referenced scripts and command families still exist.
|
|
59
|
+
- For code changes: prefer the narrowest meaningful verification first, then use shared root scripts when broader confidence is needed.
|
package/README.md
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Cabloy
|
|
2
|
+
|
|
3
|
+
[](https://github.com/cabloy/cabloy/blob/main/LICENSE)
|
|
4
|
+
[](https://www.npmjs.com/package/cabloy)
|
|
5
|
+
[](https://www.npmjs.com/package/cabloy)
|
|
6
|
+
[](https://github.com/cabloy/cabloy/tree/main/cabloy-docs)
|
|
7
|
+
[](https://cabloy.com)
|
|
8
|
+
|
|
9
|
+
Cabloy is a Node.js fullstack framework for AI vibe coding.
|
|
10
|
+
|
|
11
|
+
Use one framework system instead of stitching together separate backend and frontend stacks.
|
|
12
|
+
|
|
13
|
+
With **Vona** on the backend, **Zova** on the frontend, and CLI-first workflows across the stack, Cabloy turns common scaffolding and verification into explicit commands so AI coding can stay more accurate, use fewer tokens, and move faster.
|
|
14
|
+
|
|
15
|
+
[Documentation](https://github.com/cabloy/cabloy/tree/main/cabloy-docs) · [npm](https://www.npmjs.com/package/cabloy) · [Web Demo](https://cabloy.com) · [Admin Demo](https://cabloy.com/admin) · [GitHub](https://github.com/cabloy/cabloy)
|
|
16
|
+
|
|
17
|
+
## Get Started
|
|
18
|
+
|
|
19
|
+
### Prerequisites
|
|
20
|
+
|
|
21
|
+
Before creating a new Cabloy project, make sure your environment has:
|
|
22
|
+
|
|
23
|
+
| Name | Version |
|
|
24
|
+
| ---------- | ----------- |
|
|
25
|
+
| pnpm | `>=10.19.0` |
|
|
26
|
+
| Node.js | `>=24.4.0` |
|
|
27
|
+
| Redis | `>=7.2.6` |
|
|
28
|
+
| SQLite3 | `Built-in` |
|
|
29
|
+
| MySQL | `>=8` |
|
|
30
|
+
| PostgreSQL | `>=16` |
|
|
31
|
+
|
|
32
|
+
- `Redis`: powers queue, schedule, startup, broadcast, caching, two-layer cache, and redlock
|
|
33
|
+
- `SQLite3`: if you use `better-sqlite3`, set up `node-gyp` before installing dependencies
|
|
34
|
+
|
|
35
|
+
Create a new Cabloy project:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm create cabloy
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
The generated project already includes `CLAUDE.md` and the `.claude/` workspace assets. Open this project in Claude Code and start coding immediately with project-specific guidance.
|
|
42
|
+
|
|
43
|
+
Then continue with the framework docs:
|
|
44
|
+
|
|
45
|
+
- [Fullstack Quickstart](https://github.com/cabloy/cabloy/blob/main/cabloy-docs/fullstack/quickstart.md)
|
|
46
|
+
- [Documentation](https://github.com/cabloy/cabloy/tree/main/cabloy-docs)
|
|
47
|
+
- [Fullstack Introduction](https://github.com/cabloy/cabloy/blob/main/cabloy-docs/fullstack/introduction.md)
|
|
48
|
+
- [Backend Introduction](https://github.com/cabloy/cabloy/blob/main/cabloy-docs/backend/introduction.md)
|
|
49
|
+
- [Frontend Introduction](https://github.com/cabloy/cabloy/blob/main/cabloy-docs/frontend/introduction.md)
|
|
50
|
+
- [Editions Overview](https://github.com/cabloy/cabloy/blob/main/cabloy-docs/editions/overview.md)
|
|
51
|
+
|
|
52
|
+
To upgrade an existing Cabloy project:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npm run upgrade
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Highlights
|
|
59
|
+
|
|
60
|
+
- **One framework system** — build backend and frontend in one Node.js fullstack architecture
|
|
61
|
+
- **Vona + Zova** — use aligned backend and frontend frameworks instead of stitching together separate stacks
|
|
62
|
+
- **Multiple delivery modes** — support SSR, SPA, Web, and Admin applications with shared conventions
|
|
63
|
+
- **CLI-first workflows for AI coding** — turn scaffolding, metadata, refactors, and verification into explicit commands so AI can stay more accurate, use fewer tokens, and move faster
|
|
64
|
+
- **Monorepo-native development** — keep framework source, docs, and tooling aligned in one repository model
|
|
65
|
+
|
|
66
|
+
## Technology Stack
|
|
67
|
+
|
|
68
|
+
### General
|
|
69
|
+
|
|
70
|
+
| Package | Version |
|
|
71
|
+
| ---------- | -------- |
|
|
72
|
+
| TypeScript | `^5.9.3` |
|
|
73
|
+
| Zod | `^4.3.6` |
|
|
74
|
+
|
|
75
|
+
### Backend (Vona)
|
|
76
|
+
|
|
77
|
+
| Package | Version |
|
|
78
|
+
| -------------------------------- | --------- |
|
|
79
|
+
| Koa | `^3.2.0` |
|
|
80
|
+
| Knex | `^3.2.9` |
|
|
81
|
+
| Redis Client (`ioredis`) | `^5.10.1` |
|
|
82
|
+
| SQLite Driver (`better-sqlite3`) | `^12.9.0` |
|
|
83
|
+
|
|
84
|
+
### Frontend (Zova)
|
|
85
|
+
|
|
86
|
+
| Package | Version |
|
|
87
|
+
| -------------- | ----------- |
|
|
88
|
+
| Vue | `^3.5.32` |
|
|
89
|
+
| Vite | `^8.0.14` |
|
|
90
|
+
| Quasar | `^2.19.3` |
|
|
91
|
+
| TanStack Query | `^5.100.10` |
|
|
92
|
+
| TanStack Form | `^1.32.0` |
|
|
93
|
+
| TanStack Table | `^8.21.3` |
|
|
94
|
+
|
|
95
|
+
### Edition-specific UI Stack
|
|
96
|
+
|
|
97
|
+
- **Cabloy Basic**: DaisyUI + Tailwind CSS
|
|
98
|
+
- **Cabloy Start**: Vuetify
|
|
99
|
+
|
|
100
|
+
## Contributing
|
|
101
|
+
|
|
102
|
+
Contributions to the Cabloy framework, docs, and tooling are welcome.
|
|
103
|
+
|
|
104
|
+
Use the root [package.json](https://github.com/cabloy/cabloy/blob/main/package.json) as the shared workflow entrypoint:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
npm run init
|
|
108
|
+
npm run dev
|
|
109
|
+
npm run tsc
|
|
110
|
+
npm run test
|
|
111
|
+
npm run build
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
For more details, see:
|
|
115
|
+
|
|
116
|
+
- [Repo Scripts](https://github.com/cabloy/cabloy/blob/main/cabloy-docs/reference/repo-scripts.md)
|
|
117
|
+
- [Package Map](https://github.com/cabloy/cabloy/blob/main/cabloy-docs/reference/package-map.md)
|
|
118
|
+
- [AI Development Introduction](https://github.com/cabloy/cabloy/blob/main/cabloy-docs/ai/introduction.md)
|
|
119
|
+
|
|
120
|
+
Contribution guidelines:
|
|
121
|
+
|
|
122
|
+
- prefer CLI-backed workflows with `npm run vona` and `npm run zova`
|
|
123
|
+
- put user-facing and agent-facing guidance in [cabloy-docs/](https://github.com/cabloy/cabloy/tree/main/cabloy-docs)
|
|
124
|
+
- put maintainer rationale, architecture notes, and ADRs in [.docs-internal/](https://github.com/cabloy/cabloy/tree/main/.docs-internal)
|
|
125
|
+
- verify framework changes with the narrowest meaningful checks first, then shared root scripts when broader confidence is needed
|
|
126
|
+
|
|
127
|
+
To report bugs or propose changes, use [GitHub Issues](https://github.com/cabloy/cabloy/issues) or open a pull request in [github.com/cabloy/cabloy](https://github.com/cabloy/cabloy).
|
|
128
|
+
|
|
129
|
+
## Community
|
|
130
|
+
|
|
131
|
+
- [GitHub Issues](https://github.com/cabloy/cabloy/issues)
|
|
132
|
+
- [X / Twitter](https://x.com/zhennann2024)
|
|
133
|
+
- [Bilibili](https://space.bilibili.com/454737998)
|
|
134
|
+
|
|
135
|
+
## License
|
|
136
|
+
|
|
137
|
+
[MIT](https://github.com/cabloy/cabloy/blob/main/LICENSE)
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { defineConfig } from 'vitepress';
|
|
2
|
+
|
|
3
|
+
const editionsItems = [
|
|
4
|
+
{ text: 'Overview', link: '/editions/overview' },
|
|
5
|
+
{ text: 'Cabloy Basic', link: '/editions/cabloy-basic' },
|
|
6
|
+
{ text: 'Cabloy Start', link: '/editions/cabloy-start' },
|
|
7
|
+
{ text: 'Edition Detection', link: '/editions/detection' },
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
const aiItems = [
|
|
11
|
+
{ text: 'Introduction', link: '/ai/introduction' },
|
|
12
|
+
{ text: 'Repo Guidance', link: '/ai/repo-guidance' },
|
|
13
|
+
{ text: 'Skills', link: '/ai/skills' },
|
|
14
|
+
{ text: 'Class Placement Rule', link: '/ai/class-placement-rule' },
|
|
15
|
+
{ text: 'Global Bean Lookup', link: '/ai/global-bean-lookup' },
|
|
16
|
+
{ text: 'Docs / Skills Mapping', link: '/ai/docs-skills-rules-mapping' },
|
|
17
|
+
{ text: 'CLI to Skill Map', link: '/ai/cli-to-skill-map' },
|
|
18
|
+
{ text: 'Future Skill Roadmap', link: '/ai/future-skill-roadmap' },
|
|
19
|
+
{ text: 'Playbook: Backend Module', link: '/ai/playbook-backend-module' },
|
|
20
|
+
{ text: 'Playbook: Frontend Page', link: '/ai/playbook-frontend-page' },
|
|
21
|
+
{ text: 'Playbook: Contract Regeneration', link: '/ai/playbook-contract-regeneration' },
|
|
22
|
+
{ text: 'Playbook: Metadata Refresh', link: '/ai/playbook-metadata-refresh' },
|
|
23
|
+
{ text: 'CLI for Agents', link: '/ai/cli-for-agents' },
|
|
24
|
+
{ text: 'Rules and Config', link: '/ai/rules-and-config' },
|
|
25
|
+
{ text: 'Edition Detection', link: '/ai/edition-detection' },
|
|
26
|
+
{ text: 'Verification', link: '/ai/verification' },
|
|
27
|
+
];
|
|
28
|
+
|
|
29
|
+
const referenceItems = [
|
|
30
|
+
{ text: 'Repo Scripts', link: '/reference/repo-scripts' },
|
|
31
|
+
{ text: 'CLI Reference', link: '/reference/cli-reference' },
|
|
32
|
+
{ text: 'Package Map', link: '/reference/package-map' },
|
|
33
|
+
{ text: 'Backend Directory Structure', link: '/reference/backend-directory-structure' },
|
|
34
|
+
{ text: 'Glossary', link: '/reference/glossary' },
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
export default defineConfig({
|
|
38
|
+
title: 'Cabloy',
|
|
39
|
+
description: 'Unified fullstack and AI-development documentation for the Cabloy monorepo',
|
|
40
|
+
lang: 'en-US',
|
|
41
|
+
base: '/',
|
|
42
|
+
ignoreDeadLinks: [/^https?:\/\/localhost/],
|
|
43
|
+
markdown: {
|
|
44
|
+
lineNumbers: true,
|
|
45
|
+
},
|
|
46
|
+
themeConfig: {
|
|
47
|
+
nav: [
|
|
48
|
+
{ text: 'Home', link: '/' },
|
|
49
|
+
{ text: 'Fullstack', link: '/fullstack/introduction', activeMatch: '^/fullstack/' },
|
|
50
|
+
{ text: 'Backend', link: '/backend/introduction', activeMatch: '^/backend/' },
|
|
51
|
+
{ text: 'Frontend', link: '/frontend/introduction', activeMatch: '^/frontend/' },
|
|
52
|
+
{ text: 'Editions', link: '/editions/overview', activeMatch: '^/editions/' },
|
|
53
|
+
{ text: 'AI Development', link: '/ai/introduction', activeMatch: '^/ai/' },
|
|
54
|
+
{ text: 'Reference', link: '/reference/repo-scripts', activeMatch: '^/reference/' },
|
|
55
|
+
],
|
|
56
|
+
sidebar: {
|
|
57
|
+
'/fullstack/': [
|
|
58
|
+
{
|
|
59
|
+
text: 'Fullstack',
|
|
60
|
+
items: [
|
|
61
|
+
{ text: 'Introduction', link: '/fullstack/introduction' },
|
|
62
|
+
{ text: 'Quickstart', link: '/fullstack/quickstart' },
|
|
63
|
+
{ text: 'Vona + Zova Integration', link: '/fullstack/vona-zova-integration' },
|
|
64
|
+
{ text: 'Backend OpenAPI to Frontend SDK', link: '/fullstack/openapi-to-sdk' },
|
|
65
|
+
{
|
|
66
|
+
text: 'Frontend Metadata Back to Backend',
|
|
67
|
+
link: '/fullstack/frontend-metadata-to-backend',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
text: 'Edition Collaboration Differences',
|
|
71
|
+
link: '/fullstack/edition-collaboration-differences',
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
'/backend/': [
|
|
77
|
+
{
|
|
78
|
+
text: 'Backend (Vona)',
|
|
79
|
+
items: [
|
|
80
|
+
{ text: 'Introduction', link: '/backend/introduction' },
|
|
81
|
+
{ text: 'Foundation', link: '/backend/foundation' },
|
|
82
|
+
{ text: 'Backend Essentials', link: '/backend/backend-essentials' },
|
|
83
|
+
{ text: 'Quickstart', link: '/backend/quickstart' },
|
|
84
|
+
{ text: 'CLI', link: '/backend/cli' },
|
|
85
|
+
{ text: 'Scripts', link: '/backend/scripts' },
|
|
86
|
+
{ text: 'Runtime and Flavors', link: '/backend/runtime-and-flavors' },
|
|
87
|
+
{ text: 'Config Guide', link: '/backend/config-guide' },
|
|
88
|
+
{ text: 'Backend Startup Guide', link: '/backend/startup-guide' },
|
|
89
|
+
{
|
|
90
|
+
text: 'Multi-Instance and Instance Resolution',
|
|
91
|
+
link: '/backend/multi-instance-and-instance-resolution',
|
|
92
|
+
},
|
|
93
|
+
{ text: 'Auth Guide', link: '/backend/auth-guide' },
|
|
94
|
+
{ text: 'Captcha Guide', link: '/backend/captcha-guide' },
|
|
95
|
+
{ text: 'User Access Guide', link: '/backend/user-access-guide' },
|
|
96
|
+
{ text: 'Menu Guide', link: '/backend/menu-guide' },
|
|
97
|
+
{ text: 'I18n Guide', link: '/backend/i18n-guide' },
|
|
98
|
+
{ text: 'Error Guide', link: '/backend/error-guide' },
|
|
99
|
+
{ text: 'JWT Guide', link: '/backend/jwt-guide' },
|
|
100
|
+
{ text: 'Event Guide', link: '/backend/event-guide' },
|
|
101
|
+
{ text: 'Logger Guide', link: '/backend/logger-guide' },
|
|
102
|
+
{ text: 'Upload Guide', link: '/backend/upload-guide' },
|
|
103
|
+
{ text: 'Mail Guide', link: '/backend/mail-guide' },
|
|
104
|
+
{ text: 'Serialization Guide', link: '/backend/serialization-guide' },
|
|
105
|
+
{ text: 'AOP Overview', link: '/backend/aop-overview' },
|
|
106
|
+
{ text: 'Controller Guide', link: '/backend/controller-guide' },
|
|
107
|
+
{ text: 'Controller AOP Guide', link: '/backend/controller-aop-guide' },
|
|
108
|
+
{ text: 'Internal AOP Guide', link: '/backend/internal-aop-guide' },
|
|
109
|
+
{ text: 'External AOP Guide', link: '/backend/external-aop-guide' },
|
|
110
|
+
{ text: 'Service Guide', link: '/backend/service-guide' },
|
|
111
|
+
{ text: 'Model Guide', link: '/backend/model-guide' },
|
|
112
|
+
{ text: 'Entity Guide', link: '/backend/entity-guide' },
|
|
113
|
+
{ text: 'DTO Guide', link: '/backend/dto-guide' },
|
|
114
|
+
{ text: 'CRUD Workflow', link: '/backend/crud-workflow' },
|
|
115
|
+
{ text: 'Migration and Changes', link: '/backend/migration-and-changes' },
|
|
116
|
+
{ text: 'Field Indexes', link: '/backend/field-indexes' },
|
|
117
|
+
{ text: 'Unit Testing', link: '/backend/unit-testing' },
|
|
118
|
+
{ text: 'ORM Guide', link: '/backend/orm-guide' },
|
|
119
|
+
{ text: 'ORM Configuration Guide', link: '/backend/orm-configuration-guide' },
|
|
120
|
+
{ text: 'ORM Select Guide', link: '/backend/orm-select-guide' },
|
|
121
|
+
{ text: 'ORM Mutation Guide', link: '/backend/orm-mutation-guide' },
|
|
122
|
+
{ text: 'ORM Aggregate and Group Guide', link: '/backend/orm-aggregate-group-guide' },
|
|
123
|
+
{ text: 'Relations Guide', link: '/backend/relations-guide' },
|
|
124
|
+
{ text: 'Transaction Guide', link: '/backend/transaction-guide' },
|
|
125
|
+
{ text: 'Cache Guide', link: '/backend/cache-guide' },
|
|
126
|
+
{
|
|
127
|
+
text: 'Multi-Database and Datasource Guide',
|
|
128
|
+
link: '/backend/multi-database-datasource',
|
|
129
|
+
},
|
|
130
|
+
{ text: 'Sharding Guide', link: '/backend/sharding-guide' },
|
|
131
|
+
{ text: 'Dynamic Datasource Guide', link: '/backend/dynamic-datasource-guide' },
|
|
132
|
+
{ text: 'Redis Guide', link: '/backend/redis-guide' },
|
|
133
|
+
{ text: 'Queue Guide', link: '/backend/queue-guide' },
|
|
134
|
+
{ text: 'Election Guide', link: '/backend/election-guide' },
|
|
135
|
+
{ text: 'Schedule Guide', link: '/backend/schedule-guide' },
|
|
136
|
+
{ text: 'Worker Guide', link: '/backend/worker-guide' },
|
|
137
|
+
{ text: 'Broadcast Guide', link: '/backend/broadcast-guide' },
|
|
138
|
+
{ text: 'Redlock Guide', link: '/backend/redlock-guide' },
|
|
139
|
+
{ text: 'Validation Guide', link: '/backend/validation-guide' },
|
|
140
|
+
{ text: 'OpenAPI Guide', link: '/backend/openapi-guide' },
|
|
141
|
+
{ text: 'DTO Infer and Generation', link: '/backend/dto-infer-generation' },
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
'/frontend/': [
|
|
146
|
+
{
|
|
147
|
+
text: 'Frontend (Zova)',
|
|
148
|
+
items: [
|
|
149
|
+
{ text: 'Introduction', link: '/frontend/introduction' },
|
|
150
|
+
{ text: 'Quickstart', link: '/frontend/quickstart' },
|
|
151
|
+
{ text: 'Foundation', link: '/frontend/foundation' },
|
|
152
|
+
{ text: 'IoC and Beans', link: '/frontend/ioc-and-beans' },
|
|
153
|
+
{ text: 'Modules and Suites', link: '/frontend/modules-and-suites' },
|
|
154
|
+
{ text: 'Module Scope', link: '/frontend/module-scope' },
|
|
155
|
+
{ text: 'Environment and Config Guide', link: '/frontend/environment-config-guide' },
|
|
156
|
+
{ text: 'App Startup Guide', link: '/frontend/app-startup-guide' },
|
|
157
|
+
{ text: 'System Startup Guide', link: '/frontend/system-startup-guide' },
|
|
158
|
+
{ text: 'Page Guide', link: '/frontend/page-guide' },
|
|
159
|
+
{ text: 'Page Query Guide', link: '/frontend/page-query-guide' },
|
|
160
|
+
{ text: 'Page Params Guide', link: '/frontend/page-params-guide' },
|
|
161
|
+
{ text: 'Page Route Guide', link: '/frontend/page-route-guide' },
|
|
162
|
+
{ text: 'Zod Guide', link: '/frontend/zod-guide' },
|
|
163
|
+
{ text: 'Route Alias Guide', link: '/frontend/route-alias-guide' },
|
|
164
|
+
{ text: 'Navigation Guards Guide', link: '/frontend/navigation-guards-guide' },
|
|
165
|
+
{ text: 'Component Guide', link: '/frontend/component-guide' },
|
|
166
|
+
{ text: 'Component Props Guide', link: '/frontend/component-props-guide' },
|
|
167
|
+
{ text: 'Component v-model Guide', link: '/frontend/component-v-model-guide' },
|
|
168
|
+
{ text: 'Generic Component Guide', link: '/frontend/generic-component-guide' },
|
|
169
|
+
{ text: 'CLI', link: '/frontend/cli' },
|
|
170
|
+
{ text: 'Scripts', link: '/frontend/scripts' },
|
|
171
|
+
{ text: 'Mock Guide', link: '/frontend/mock-guide' },
|
|
172
|
+
{ text: 'CSS-in-JS Guide', link: '/frontend/css-in-js-guide' },
|
|
173
|
+
{ text: 'Theme Guide', link: '/frontend/theme-guide' },
|
|
174
|
+
{ text: 'Icon Engine Guide', link: '/frontend/icon-engine-guide' },
|
|
175
|
+
{ text: 'Server Data', link: '/frontend/server-data' },
|
|
176
|
+
{ text: 'API Guide', link: '/frontend/api-guide' },
|
|
177
|
+
{ text: 'Model Architecture', link: '/frontend/model-architecture' },
|
|
178
|
+
{ text: 'Model State Guide', link: '/frontend/model-state-guide' },
|
|
179
|
+
{ text: 'OpenAPI SDK Guide', link: '/frontend/openapi-sdk-guide' },
|
|
180
|
+
{ text: 'API Schema Guide', link: '/frontend/api-schema-guide' },
|
|
181
|
+
{ text: 'SDK Guide', link: '/frontend/sdk-guide' },
|
|
182
|
+
{ text: 'SSR Overview', link: '/frontend/ssr-overview' },
|
|
183
|
+
{ text: 'SSR Init Data', link: '/frontend/ssr-init-data' },
|
|
184
|
+
{ text: 'SSR ClientOnly', link: '/frontend/ssr-client-only' },
|
|
185
|
+
{ text: 'SSR SEO Meta', link: '/frontend/ssr-seo-meta' },
|
|
186
|
+
{ text: 'SSR Env', link: '/frontend/ssr-env' },
|
|
187
|
+
{ text: 'Design Principles', link: '/frontend/design-principles' },
|
|
188
|
+
],
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
'/editions/': [
|
|
192
|
+
{
|
|
193
|
+
text: 'Editions',
|
|
194
|
+
items: editionsItems,
|
|
195
|
+
},
|
|
196
|
+
],
|
|
197
|
+
'/ai/': [
|
|
198
|
+
{
|
|
199
|
+
text: 'AI Development',
|
|
200
|
+
items: aiItems,
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
'/reference/': [
|
|
204
|
+
{
|
|
205
|
+
text: 'Reference',
|
|
206
|
+
items: referenceItems,
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
},
|
|
210
|
+
socialLinks: [{ icon: 'github', link: 'https://github.com/cabloy/cabloy' }],
|
|
211
|
+
search: {
|
|
212
|
+
provider: 'local',
|
|
213
|
+
},
|
|
214
|
+
editLink: {
|
|
215
|
+
pattern: 'https://github.com/cabloy/cabloy/edit/main/cabloy-docs/:path',
|
|
216
|
+
},
|
|
217
|
+
footer: {
|
|
218
|
+
message: 'Released under the MIT License.',
|
|
219
|
+
copyright: 'Copyright © 2016-present Cabloy',
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
docs.cabloy.com
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--vp-c-brand-1: #2563eb;
|
|
3
|
+
--vp-c-brand-2: #1d4ed8;
|
|
4
|
+
--vp-c-brand-3: #1e40af;
|
|
5
|
+
--vp-sidebar-width: 320px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.VPHomeHero .container .name,
|
|
9
|
+
.VPHomeHero .container .text,
|
|
10
|
+
.VPHomeHero .container .tagline {
|
|
11
|
+
max-width: 900px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.vp-doc :not(pre, h1, h2, h3, h4, h5, h6) > code {
|
|
15
|
+
font-size: var(--vp-code-font-size);
|
|
16
|
+
color: var(--vp-code-color);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.cabloy-badges {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-wrap: wrap;
|
|
22
|
+
gap: 0.5rem;
|
|
23
|
+
margin: 1rem 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.cabloy-badge {
|
|
27
|
+
display: inline-flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
border-radius: 999px;
|
|
30
|
+
padding: 0.25rem 0.75rem;
|
|
31
|
+
font-size: 0.85rem;
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
line-height: 1.25rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cabloy-badge--common {
|
|
37
|
+
background: color-mix(in srgb, var(--vp-c-brand-1) 12%, white);
|
|
38
|
+
color: var(--vp-c-brand-3);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.dark .cabloy-badge--common {
|
|
42
|
+
background: color-mix(in srgb, var(--vp-c-brand-1) 20%, black);
|
|
43
|
+
color: #bfdbfe;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.cabloy-badge--basic {
|
|
47
|
+
background: #ecfeff;
|
|
48
|
+
color: #155e75;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.dark .cabloy-badge--basic {
|
|
52
|
+
background: #083344;
|
|
53
|
+
color: #a5f3fc;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.cabloy-badge--start {
|
|
57
|
+
background: #fff7ed;
|
|
58
|
+
color: #9a3412;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.dark .cabloy-badge--start {
|
|
62
|
+
background: #431407;
|
|
63
|
+
color: #fdba74;
|
|
64
|
+
}
|