@diagonal-hq/cli 0.36.0 → 0.37.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/dist/cli.mjs +1 -1
- package/dist/sdk-contract.d.ts +13 -7
- package/package.json +1 -1
package/dist/sdk-contract.d.ts
CHANGED
|
@@ -2931,7 +2931,6 @@ type SdkSystemSettingsPage =
|
|
|
2931
2931
|
| 'workspace-fields'
|
|
2932
2932
|
| 'workspace-files'
|
|
2933
2933
|
| 'workspace-onboarding'
|
|
2934
|
-
| 'workspace-records'
|
|
2935
2934
|
| 'workspace-runs'
|
|
2936
2935
|
| 'workspace-workflows'
|
|
2937
2936
|
| 'workspaces';
|
|
@@ -10920,12 +10919,19 @@ type EmailComposerContentProps =
|
|
|
10920
10919
|
* only this email, never the template. Requires `send_emails`, not
|
|
10921
10920
|
* `manage_notifications`.
|
|
10922
10921
|
*
|
|
10923
|
-
*
|
|
10924
|
-
*
|
|
10925
|
-
*
|
|
10926
|
-
*
|
|
10927
|
-
*
|
|
10928
|
-
*
|
|
10922
|
+
* While the template loads, the recipient row, the Subject field, the toolbar,
|
|
10923
|
+
* and the preview frame stay in place: the frame shows the loading state and
|
|
10924
|
+
* Send is disabled. A failed load shows the reason with a "Try again" button
|
|
10925
|
+
* under the frame; templates that only a notification send can render fail this
|
|
10926
|
+
* way. The draft is read once per selection and is not refreshed in the
|
|
10927
|
+
* background, so it never replaces the viewer's edits.
|
|
10928
|
+
*
|
|
10929
|
+
* A different ID discards the edits and loads that template in place, so do
|
|
10930
|
+
* not change the `key` with the ID. The composer does the same when the page
|
|
10931
|
+
* renders it with an ID in one branch and without one in the other, at the same
|
|
10932
|
+
* place in the tree. The recipients, the "Preview as" pick, and the view stay.
|
|
10933
|
+
* A new `key` is a full reset that reads the same template again. "Send
|
|
10934
|
+
* another" restores the template's copy.
|
|
10929
10935
|
*/
|
|
10930
10936
|
notificationTemplateId: string;
|
|
10931
10937
|
emailLayoutId?: never;
|