prostgles-types 4.0.100 → 4.0.103
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/auth.d.ts +1 -5
- package/dist/auth.d.ts.map +1 -1
- package/lib/auth.ts +1 -6
- package/package.json +1 -1
package/dist/auth.d.ts
CHANGED
|
@@ -10,11 +10,7 @@ export type AuthSocketSchema = {
|
|
|
10
10
|
user: UserLike | undefined;
|
|
11
11
|
providers: Partial<Record<IdentityProvider, {
|
|
12
12
|
url: string;
|
|
13
|
-
}
|
|
14
|
-
login: {
|
|
15
|
-
type: EmailAuthType;
|
|
16
|
-
url: string;
|
|
17
|
-
} | undefined;
|
|
13
|
+
}>> | undefined;
|
|
18
14
|
register: {
|
|
19
15
|
type: EmailSignupType;
|
|
20
16
|
url: string;
|
package/dist/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../lib/auth.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAC1B,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,CACX;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,eAAe,CAAC;AAC7D,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,eAAe,CAAC;AAK/D,MAAM,MAAM,gBAAgB,GAAG;IAM7B,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;IAM3B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;KAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../lib/auth.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAC1B,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,CACX;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,eAAe,CAAC;AAC7D,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,eAAe,CAAC;AAK/D,MAAM,MAAM,gBAAgB,GAAG;IAM7B,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;IAM3B,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;KAAE,CAAC,CAAC,GAAG,SAAS,CAAC;IAK3E,QAAQ,EAAE;QAAE,IAAI,EAAE,eAAe,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;KAAE,GAAG,SAAS,CAAC;IAM9D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
package/lib/auth.ts
CHANGED
|
@@ -32,12 +32,7 @@ export type AuthSocketSchema = {
|
|
|
32
32
|
* Identity providers enabled on the server
|
|
33
33
|
* if undefined, the server does not support social login
|
|
34
34
|
*/
|
|
35
|
-
providers: Partial<Record<IdentityProvider, { url: string; }
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Email login methods enabled on the server
|
|
39
|
-
*/
|
|
40
|
-
login: { type: EmailAuthType; url: string; } | undefined;
|
|
35
|
+
providers: Partial<Record<IdentityProvider, { url: string; }>> | undefined;
|
|
41
36
|
|
|
42
37
|
/**
|
|
43
38
|
* Email registration methods enabled on the server
|