@diagonal-hq/cli 0.37.4 → 0.37.5
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/README.md +4 -4
- package/dist/cli.mjs +21 -14
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1110,6 +1110,12 @@ export type EmailLayoutReference = string;
|
|
|
1110
1110
|
export type RecordVariableDefinition = {
|
|
1111
1111
|
/** The slug of the resource whose record the sender passes. */
|
|
1112
1112
|
resource: ResourceReference;
|
|
1113
|
+
/**
|
|
1114
|
+
* The relation paths from the resource whose records a send loads with the
|
|
1115
|
+
* record, for example `'latest_invoice'`. Templates read them as
|
|
1116
|
+
* `{{ member.latest_invoice.amount }}`.
|
|
1117
|
+
*/
|
|
1118
|
+
relations?: readonly string[];
|
|
1113
1119
|
label?: string;
|
|
1114
1120
|
description?: string | null;
|
|
1115
1121
|
required?: boolean;
|