Skip to content

Commit 9727b51

Browse files
committed
fix(spec): RenderTemplateInput.currency sits beside data, away from the date ADR citation the currency-mode closure pin keeps apart from currency text
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzizxYz7JyC5JLW3Gmv
1 parent 2ba0895 commit 9727b51

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎packages/spec/src/contracts/email-service.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@ export interface RenderTemplateInput {
271271
template: string;
272272
/** Render context — placeholders in subject/body are resolved against this object. */
273273
data?: Record<string, unknown>;
274+
/**
275+
* The tenant default currency for a `currency` hole with no argument. Same
276+
* semantics as {@link SendTemplateInput.currency}: unset, such a hole
277+
* refuses the render with `TEMPLATE_INVALID`.
278+
*/
279+
currency?: string;
274280
/**
275281
* Preferred BCP-47 locale. Resolution is the SAME ladder as
276282
* {@link SendTemplateInput.locale} — exact match, then `'en-US'`, then
@@ -283,12 +289,6 @@ export interface RenderTemplateInput {
283289
* {@link SendTemplateInput.timezone}.
284290
*/
285291
timezone?: string;
286-
/**
287-
* The tenant default currency for a `currency` hole with no argument. Same
288-
* semantics as {@link SendTemplateInput.currency}: unset, such a hole
289-
* refuses the render with `TEMPLATE_INVALID`.
290-
*/
291-
currency?: string;
292292
}
293293

294294
/**

0 commit comments

Comments
 (0)