@buka/nestjs-kit 4.8.0 → 4.9.0
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/CHANGELOG.md +7 -0
- package/dist/index.d.mts +31 -1
- package/dist/index.d.ts +31 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -0
- package/dist/index.mjs.map +1 -1
- package/docs/exception.md +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7985,6 +7985,18 @@ let ClientGateExceptions = class ClientGateExceptions {
|
|
|
7985
7985
|
messageFactory: (resourceLabel, current, max) => `${resourceLabel}数量已达上限(${current}/${max}),请提升方案后继续操作`,
|
|
7986
7986
|
description: "资源数量达到当前方案上限;需要提升方案或清理存量"
|
|
7987
7987
|
});
|
|
7988
|
+
/**
|
|
7989
|
+
* 协议签署未完成
|
|
7990
|
+
*
|
|
7991
|
+
* 协议发布新版本、或登录入口新绑定协议后,当前账户尚未签署生效版本时抛出。
|
|
7992
|
+
* 客户端应展示不可关闭的协议签署页:列出待签署的协议、允许打开正文、
|
|
7993
|
+
* 「同意并继续」提交签署,「不同意并退出登录」结束会话。
|
|
7994
|
+
*/
|
|
7995
|
+
static AgreementSignatureRequired = FeatureException({
|
|
7996
|
+
sequenceId: 7,
|
|
7997
|
+
messageFactory: () => "需要签署最新的协议后才能继续使用",
|
|
7998
|
+
description: "当前账户尚未签署登录入口要求的最新协议版本;完成协议签署后才能继续使用"
|
|
7999
|
+
});
|
|
7988
8000
|
};
|
|
7989
8001
|
ClientGateExceptions = __decorate([ModuleExceptions({ moduleId: 1 })], ClientGateExceptions);
|
|
7990
8002
|
//#endregion
|