Implement yao doc process list/inspect/validate and yao doc runtime list/inspect/validate commands. Validate uses engine addressing logic (process.Of) and checks dynamic-ID group registries (model, store, fs, task, schedule) to verify resources actually exist. - cmd/doc/: CLI command tree with process and runtime subcommands - cmd/root.go: wire docCmd into rootCmd - 27 process doc.yml + doc.go pairs across yao packages - cmd/doc/doc_test.go: integration tests Made-with: Cursor
14 lines
681 B
YAML
14 lines
681 B
YAML
group: yao.login
|
|
type: process
|
|
desc: "Login widget processes for user authentication"
|
|
entries:
|
|
- name: admin
|
|
desc: Authenticate an admin user with email or mobile, password, and captcha verification
|
|
args:
|
|
- name: payload
|
|
type: object
|
|
required: true
|
|
desc: "Login payload with captcha.id (string), captcha.code (string), password (string), and either email (string) or mobile (string); optional sid (string) for session ID"
|
|
return:
|
|
type: object
|
|
desc: "Object with expires_at (number, token expiry unix timestamp), token (string, JWT), user (object with id, name, type, email, mobile, extra, status), and menus (app menu data)"
|