@tbox.cn/app-contracts-mall 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/domain/parking.d.ts +14 -0
- package/package.json +2 -2
- package/src/domain/parking.ts +11 -0
package/dist/domain/parking.d.ts
CHANGED
|
@@ -193,4 +193,18 @@ export interface PaymentOperation {
|
|
|
193
193
|
readonly paidAt?: string;
|
|
194
194
|
/** 入场时间(建单时自报价带入):回执要算停车时长,而报价此时已不可达 */
|
|
195
195
|
readonly entryAt?: string;
|
|
196
|
+
/**
|
|
197
|
+
* 报价投影(建单时自报价快照,对齐 entryAt 同模式——PAID 原卡翻转要重灌终态卡数据,
|
|
198
|
+
* 而 W4 报价缓存仅 UNPAID 态可见、届时不可达)。optional:存量 PAYING 单与旧版本
|
|
199
|
+
* 发起的支付无此投影,PAID 收口降级为出回执新卡(零回归语义)。
|
|
200
|
+
*/
|
|
201
|
+
readonly quoteProjection?: {
|
|
202
|
+
readonly totalCents: number;
|
|
203
|
+
readonly discountCents: number;
|
|
204
|
+
readonly revision: number;
|
|
205
|
+
readonly feeItems: readonly {
|
|
206
|
+
name: string;
|
|
207
|
+
amountCents: number;
|
|
208
|
+
}[];
|
|
209
|
+
};
|
|
196
210
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tbox.cn/app-contracts-mall",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "商圈领域契约(TIER1,types + runtime):Port 接口 + MallEventMap + 领域 DTO + scope/装配器运行时。",
|
|
6
6
|
"exports": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tbox.cn/app-contracts": "0.12.
|
|
32
|
+
"@tbox.cn/app-contracts": "0.12.1",
|
|
33
33
|
"zod": "3.25.76"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
package/src/domain/parking.ts
CHANGED
|
@@ -204,4 +204,15 @@ export interface PaymentOperation {
|
|
|
204
204
|
readonly paidAt?: string;
|
|
205
205
|
/** 入场时间(建单时自报价带入):回执要算停车时长,而报价此时已不可达 */
|
|
206
206
|
readonly entryAt?: string;
|
|
207
|
+
/**
|
|
208
|
+
* 报价投影(建单时自报价快照,对齐 entryAt 同模式——PAID 原卡翻转要重灌终态卡数据,
|
|
209
|
+
* 而 W4 报价缓存仅 UNPAID 态可见、届时不可达)。optional:存量 PAYING 单与旧版本
|
|
210
|
+
* 发起的支付无此投影,PAID 收口降级为出回执新卡(零回归语义)。
|
|
211
|
+
*/
|
|
212
|
+
readonly quoteProjection?: {
|
|
213
|
+
readonly totalCents: number;
|
|
214
|
+
readonly discountCents: number;
|
|
215
|
+
readonly revision: number;
|
|
216
|
+
readonly feeItems: readonly { name: string; amountCents: number }[];
|
|
217
|
+
};
|
|
207
218
|
}
|