@tbox.cn/app-contracts 0.12.1 → 0.12.2
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/dist/cards.d.ts +7 -0
- package/package.json +1 -1
package/dist/cards.d.ts
CHANGED
|
@@ -81,6 +81,13 @@ export interface CardSample<T = unknown> {
|
|
|
81
81
|
isHistory?: boolean;
|
|
82
82
|
/** 令牌缺席形态(授权过期分支——预览页不铸 token,按钮置灰) */
|
|
83
83
|
noTokens?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 预览隐藏位(additive,缺席合法):样本保留真源,仅 dev 预览目录构建过滤不展示
|
|
86
|
+
* (buildCatalog 展示级过滤;shape/schema 质量检查仍全量巡走——「不删除」语义)。
|
|
87
|
+
* 与 CardMeta.hidden(卡不出卡标记)同名同构、作用域逐级——恢复 = 移除标记;
|
|
88
|
+
* 降噪等临时裁决与覆盖弃用的标记原因写进 note 或样本所属卡 meta 注释。
|
|
89
|
+
*/
|
|
90
|
+
hidden?: boolean;
|
|
84
91
|
}
|
|
85
92
|
/** 信封通知(P1:时效/提示的结构化表达,替代正文夹带) */
|
|
86
93
|
export interface CardNotice {
|