@happyvertical/smrt-projects 0.53.4 → 0.53.6
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/SERVICE_TIME_MIGRATION.md +12 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/services/subscription-commercial-resolver.d.ts +2 -0
- package/dist/services/subscription-commercial-resolver.d.ts.map +1 -1
- package/dist/smrt-knowledge.json +3 -3
- package/dist/svelte/ServiceEvidenceList.svelte +3 -1
- package/dist/svelte/ServiceEvidenceList.svelte.d.ts.map +1 -1
- package/dist/svelte/delivery-types.d.ts +3 -1
- package/dist/svelte/delivery-types.d.ts.map +1 -1
- package/package.json +18 -18
|
@@ -63,3 +63,15 @@ readable. New cross-domain approvals should use `ServiceEvidenceService` with
|
|
|
63
63
|
`SubscriptionServiceCommercialResolver`; this records a #1925 Client Charge
|
|
64
64
|
reference and a separate provider-compensation snapshot without rewriting the
|
|
65
65
|
approved duration or evidence.
|
|
66
|
+
|
|
67
|
+
## Decimal-hours-only sources (#3357)
|
|
68
|
+
|
|
69
|
+
The shared service accepts exact `durationHours` text and stores null seconds;
|
|
70
|
+
see [the Timesheets contract](../timesheets/README.md#decimal-hours-only-sources).
|
|
71
|
+
`SubscriptionServiceCommercialResolver` requires integer-second evidence and
|
|
72
|
+
rejects this representation through its `validateEntry` preflight before approval
|
|
73
|
+
status changes, provider compensation, or usage recording. Consumers with accepted
|
|
74
|
+
hours-based commercial terms use an hours-aware `ServiceCommercialResolver`.
|
|
75
|
+
|
|
76
|
+
For `ServiceEvidenceList`, pass null `durationSeconds` and the exact accessor's
|
|
77
|
+
string as `durationHours`. Missing hours render as unavailable, never zero.
|