@spotto/contract 1.0.69-alpha.26 → 1.0.69-alpha.27
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.
|
@@ -25,5 +25,11 @@ export interface GetInternalUserResponse extends BaseGetUserResponse {
|
|
|
25
25
|
* record from another org membership).
|
|
26
26
|
*/
|
|
27
27
|
invitePending?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Present-and-`'sso'` for users currently authenticated via SSO; absent for
|
|
30
|
+
* native (password / invite) users. Lets the admin UI distinguish SSO
|
|
31
|
+
* users without having to join against `organisation.sso.enabled`.
|
|
32
|
+
*/
|
|
33
|
+
authProvider?: 'sso';
|
|
28
34
|
}
|
|
29
35
|
export declare type GetUserResponse = GetExternalUserResponse | GetInternalUserResponse;
|
package/dist/users/current.d.ts
CHANGED
|
@@ -21,6 +21,13 @@ export interface CurrentUserResponse {
|
|
|
21
21
|
homeLocationPath: string;
|
|
22
22
|
meta?: IEntityMeta;
|
|
23
23
|
systemSettings: System;
|
|
24
|
+
/**
|
|
25
|
+
* Present-and-`'sso'` if the current user is signed in via SSO; absent for
|
|
26
|
+
* native (password) users. Lets the FE conditionally drive things like the
|
|
27
|
+
* sign-out flow (RP-initiated logout vs. plain Cognito sign-out) without
|
|
28
|
+
* having to check `organisation.sso`.
|
|
29
|
+
*/
|
|
30
|
+
authProvider?: 'sso';
|
|
24
31
|
}
|
|
25
32
|
export interface CurrentUserPublicResponse {
|
|
26
33
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "1.0.69-alpha.
|
|
4
|
+
"version": "1.0.69-alpha.27",
|
|
5
5
|
"description": "Spotto's API Contract type definitions",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"@types/geojson": "^7946.0.11",
|
|
19
19
|
"shx": "^0.3.4"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "c8b22d77af2952f711eb68c129f7007b8c61e4af"
|
|
22
22
|
}
|