@anchrd/colab-sdk 0.1.1 → 0.1.2
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/sso/sso.d.ts +1 -0
- package/dist/sso/sso.js +6 -2
- package/package.json +1 -1
package/dist/sso/sso.d.ts
CHANGED
package/dist/sso/sso.js
CHANGED
|
@@ -50,5 +50,9 @@ export const SsoList = z.strictObject({
|
|
|
50
50
|
nextCursor: z.null(),
|
|
51
51
|
});
|
|
52
52
|
// `GET /auth/providers`, public: which buttons the sign-in page shows, in their order. Nothing else
|
|
53
|
-
// of a provider travels here.
|
|
54
|
-
|
|
53
|
+
// of a provider travels here. `signUp` is true only while no person exists: the first one signs up
|
|
54
|
+
// on the page and becomes the main admin (E9, #539); after that it says nothing about anybody.
|
|
55
|
+
export const SignInProviders = z.strictObject({
|
|
56
|
+
providers: z.array(SsoId),
|
|
57
|
+
signUp: z.boolean(),
|
|
58
|
+
});
|
package/package.json
CHANGED