@diagonal-hq/pages 0.6.2 → 0.7.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/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2068,7 +2068,7 @@ export type ApiError = Error & {
|
|
|
2068
2068
|
readonly body: any;
|
|
2069
2069
|
};
|
|
2070
2070
|
|
|
2071
|
-
export type SdkCalendarUnavailableReason = 'signed_out' | '
|
|
2071
|
+
export type SdkCalendarUnavailableReason = 'signed_out' | 'branch' | 'not_schedulable';
|
|
2072
2072
|
|
|
2073
2073
|
export type SdkCalendarLinkState = 'active' | 'waiting_for_write_access' | 'broken';
|
|
2074
2074
|
|
|
@@ -7397,7 +7397,7 @@ export type SdkHooks = {
|
|
|
7397
7397
|
* signed-in identity's own calendars and needs no permission. Another staff record needs
|
|
7398
7398
|
* "Manage calendar connections" and Show access to the record. A viewer connects Google
|
|
7399
7399
|
* accounts and adds calendars only through their own accounts. Nothing is available
|
|
7400
|
-
*
|
|
7400
|
+
* in a branch, for a signed-out visitor (no request
|
|
7401
7401
|
* is made), and for an identity that is not a Schedulable record: check `available` and
|
|
7402
7402
|
* render nothing. Every write refreshes the data and rejects with an `ApiError` on a
|
|
7403
7403
|
* refusal: read its text with `Sdk.utils.error.apiErrorMessage(error)`.
|