sqlite-web 0.7.2
gitea.db
package_version
Create
Query
access
access_token
action
action_artifact
action_run
action_run_index
action_run_job
action_runner
action_runner_token
action_schedule
action_schedule_spec
action_task
action_task_output
action_task_step
action_tasks_version
action_variable
app_state
attachment
auth_token
badge
branch
collaboration
comment
commit_status
commit_status_index
commit_status_summary
commit_sync_log
commit_sync_status
dbfs_data
dbfs_meta
deploy_key
email_address
email_hash
external_login_user
follow
gpg_key
gpg_key_import
hook_task
issue
issue_assignees
issue_content_history
issue_dependency
issue_index
issue_label
issue_pin
issue_user
issue_watch
label
language_stat
lfs_lock
lfs_meta_object
login_source
milestone
mirror
notice
notification
oauth2_application
oauth2_authorization_code
oauth2_grant
org_user
package
package_blob
package_blob_upload
package_cleanup_rule
package_file
package_property
package_version
project
project_board
project_issue
protected_branch
protected_tag
public_key
pull_auto_merge
pull_request
push_mirror
reaction
release
renamed_branch
repo_archiver
repo_hidden_file
repo_indexer_status
repo_license
repo_redirect
repo_topic
repo_transfer
repo_unit
repository
review
review_state
secret
session
sqlite_sequence
star
stopwatch
system_setting
task
team
team_invite
team_repo
team_unit
team_user
topic
tracked_time
two_factor
upload
user
user_badge
user_blocking
user_open_id
user_redirect
user_setting
version
watch
webauthn_credential
webhook
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Update row 39 in package_version
id
Primary key.
INTEGER NOT NULL
package_id
INTEGER NOT NULL
creator_id
INTEGER NOT NULL (default 0
version
1.0.0-rc.7
TEXT NOT NULL
lower_version
1.0.0-rc.7
TEXT NOT NULL
created_unix
INTEGER NOT NULL
is_internal
INTEGER NOT NULL (default 0
metadata_json
{"scope":"@juhai","name":"client-data-analytics","description":"data-analytics 已有 HTTP 接口客户端;候选边界见 README;未配置即失败关闭","license":"UNLICENSED","development_dependencies":{"@types/node":"22.19.20","typescript":"5.9.3"},"readme":"# @juhai/client-data-analytics\n\nNode.js 20+ 的 HTTP 客户端,RC 列车版本 `1.0.0-rc.7`。发布状态以 Registry 中该 exact 版本及包内 provenance.json 为准;加入列车不代表真实消费者已完成接入。review / evolution 及登记簿增量按 DEC-047 的候选 HTTP 面提供;后面三项以当前控制器为依据,未宣称候选契约已转正。不读取任何指标数据行。\n\n传输实现内联,无运行时依赖,不导入私有 `@repo/*`、平台模块或其他客户端;没有对应内核端口,不声明虚假的 kernel peer。\n\n```ts\nimport { DataAnalyticsClient } from '@juhai/client-data-analytics';\nconst client = new DataAnalyticsClient({\n baseUrl: 'https://platform.example.com', // 入口,勿再附加 /api\n token: async () =\u003e currentAccessToken(), // 每次请求取当前令牌\n});\n```\n\n每个方法收一个 input 对象(含路径标识、查询字段,以及 POST 的 body;需要幂等键的操作还需 idempotencyKey),第二个参数可传 `{ signal }`。baseUrl 可含反向代理前缀,不能含账号口令、查询或 fragment。凭据、租户和主体只能由服务端验证;包不生成可信主体头。候选服务、权限、来源登记或生产身份链未配置时,服务端拒绝会原样返回。\n\n| 方法 | 已有接口 |\n|---|---|\n| `reviewMetricContract` | `POST /api/v1/metrics/contracts:review` |\n| `assessMetricEvolution` | `POST /api/v1/metrics/contracts:evolution` |\n| `registerMetricContract` | `POST /api/v1/metrics/contracts` |\n| `listMetricContracts` | `GET /api/v1/metrics/contracts` |\n| `getMetricContract` | `GET /api/v1/metrics/contracts/{metricId}` |\n\n返回值以 `kind` 区分:`response` 带 httpStatus 和原始 JSON 对象 body;`http-error` 带非 2xx 的 httpStatus/body;`client-error` 带 NOT_CONFIGURED / INVALID_CONFIG / INVALID_INPUT / ABORTED / TIMEOUT / TRANSPORT_FAILED / INVALID_RESPONSE。**HTTP 2xx 不代表业务放行**:调用者必须检查 body 的 decision / kind / outcome 等契约字段;REJECT 不会被改写为成功。输入体和业务响应保留 unknown,服务端仍为结构与业务校验权威,不承诺不存在的静态领域类型。\n\n可配置 timeoutMs(缺省 5000、覆盖取令牌及完整 JSON 读取)、requestId、traceparent、fetchImpl。合法 W3C traceparent 原样透传,无效时生成随机根。不自动重试写操作、不自动跟随重定向;需要的幂等键由调用方提供,不在每次重试中随机重造。未配置/非法配置及路径必填值缺失时不发请求;异常、超时和取消不会降级为放行。\n\n来源:`contracts/candidates/contracts/metric-contract-api.v1.openapi.json`。包内 `test/operations.json` 用于验证方法覆盖与实线路由;C17 的登记簿三项另对应当前控制器。验收 `pnpm test` 使用真实本地 HTTP stub,证明传输行为,不代替目标环境/RLS/消费者验收。构建 `pnpm build`;打包 `pnpm pack`。正式发布只能走仓库的受保护 CI 发布列车,满足同源码成功 CI、版本与 tag、分支保护和凭据前提后才能移入列车。\n","repository":{"type":"","url":""}}
TEXT
download_count
INTEGER NOT NULL (default 0
Update
Cancel