@owox/idp-owox 0.7.0-next-20250911142620 → 0.7.0-next-20250912121716
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.
|
@@ -4,7 +4,7 @@ export declare const IdpOwoxPayloadSchema: z.ZodObject<{
|
|
|
4
4
|
projectId: z.ZodString;
|
|
5
5
|
userEmail: z.ZodString;
|
|
6
6
|
userFullName: z.ZodString;
|
|
7
|
-
userAvatar: z.ZodString
|
|
7
|
+
userAvatar: z.ZodNullable<z.ZodString>;
|
|
8
8
|
roles: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["admin", "editor", "viewer"]>, "atleastone">, ("admin" | "editor" | "viewer")[], ["admin" | "editor" | "viewer", ...("admin" | "editor" | "viewer")[]]>, ("admin" | "editor" | "viewer")[], unknown>;
|
|
9
9
|
projectTitle: z.ZodString;
|
|
10
10
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -12,7 +12,7 @@ export declare const IdpOwoxPayloadSchema: z.ZodObject<{
|
|
|
12
12
|
projectId: z.ZodString;
|
|
13
13
|
userEmail: z.ZodString;
|
|
14
14
|
userFullName: z.ZodString;
|
|
15
|
-
userAvatar: z.ZodString
|
|
15
|
+
userAvatar: z.ZodNullable<z.ZodString>;
|
|
16
16
|
roles: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["admin", "editor", "viewer"]>, "atleastone">, ("admin" | "editor" | "viewer")[], ["admin" | "editor" | "viewer", ...("admin" | "editor" | "viewer")[]]>, ("admin" | "editor" | "viewer")[], unknown>;
|
|
17
17
|
projectTitle: z.ZodString;
|
|
18
18
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -20,7 +20,7 @@ export declare const IdpOwoxPayloadSchema: z.ZodObject<{
|
|
|
20
20
|
projectId: z.ZodString;
|
|
21
21
|
userEmail: z.ZodString;
|
|
22
22
|
userFullName: z.ZodString;
|
|
23
|
-
userAvatar: z.ZodString
|
|
23
|
+
userAvatar: z.ZodNullable<z.ZodString>;
|
|
24
24
|
roles: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["admin", "editor", "viewer"]>, "atleastone">, ("admin" | "editor" | "viewer")[], ["admin" | "editor" | "viewer", ...("admin" | "editor" | "viewer")[]]>, ("admin" | "editor" | "viewer")[], unknown>;
|
|
25
25
|
projectTitle: z.ZodString;
|
|
26
26
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -9,7 +9,7 @@ exports.IdpOwoxPayloadSchema = zod_1.z
|
|
|
9
9
|
projectId: zod_1.z.string().min(1, 'projectId is required'),
|
|
10
10
|
userEmail: zod_1.z.string().email(),
|
|
11
11
|
userFullName: zod_1.z.string().min(1, 'userFullName is required'),
|
|
12
|
-
userAvatar: zod_1.z.string().url(),
|
|
12
|
+
userAvatar: zod_1.z.string().url().nullable(),
|
|
13
13
|
roles: zod_1.z.preprocess(val => {
|
|
14
14
|
if (typeof val === 'string') {
|
|
15
15
|
return val
|
|
@@ -7,7 +7,7 @@ export declare const IntrospectionResponseSchema: z.ZodDiscriminatedUnion<"isAct
|
|
|
7
7
|
projectId: z.ZodString;
|
|
8
8
|
userEmail: z.ZodString;
|
|
9
9
|
userFullName: z.ZodString;
|
|
10
|
-
userAvatar: z.ZodString
|
|
10
|
+
userAvatar: z.ZodNullable<z.ZodString>;
|
|
11
11
|
roles: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["admin", "editor", "viewer"]>, "atleastone">, ("admin" | "editor" | "viewer")[], ["admin" | "editor" | "viewer", ...("admin" | "editor" | "viewer")[]]>, ("admin" | "editor" | "viewer")[], unknown>;
|
|
12
12
|
projectTitle: z.ZodString;
|
|
13
13
|
} & {
|
|
@@ -17,7 +17,7 @@ export declare const IntrospectionResponseSchema: z.ZodDiscriminatedUnion<"isAct
|
|
|
17
17
|
projectId: z.ZodString;
|
|
18
18
|
userEmail: z.ZodString;
|
|
19
19
|
userFullName: z.ZodString;
|
|
20
|
-
userAvatar: z.ZodString
|
|
20
|
+
userAvatar: z.ZodNullable<z.ZodString>;
|
|
21
21
|
roles: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["admin", "editor", "viewer"]>, "atleastone">, ("admin" | "editor" | "viewer")[], ["admin" | "editor" | "viewer", ...("admin" | "editor" | "viewer")[]]>, ("admin" | "editor" | "viewer")[], unknown>;
|
|
22
22
|
projectTitle: z.ZodString;
|
|
23
23
|
} & {
|
|
@@ -27,7 +27,7 @@ export declare const IntrospectionResponseSchema: z.ZodDiscriminatedUnion<"isAct
|
|
|
27
27
|
projectId: z.ZodString;
|
|
28
28
|
userEmail: z.ZodString;
|
|
29
29
|
userFullName: z.ZodString;
|
|
30
|
-
userAvatar: z.ZodString
|
|
30
|
+
userAvatar: z.ZodNullable<z.ZodString>;
|
|
31
31
|
roles: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodEnum<["admin", "editor", "viewer"]>, "atleastone">, ("admin" | "editor" | "viewer")[], ["admin" | "editor" | "viewer", ...("admin" | "editor" | "viewer")[]]>, ("admin" | "editor" | "viewer")[], unknown>;
|
|
32
32
|
projectTitle: z.ZodString;
|
|
33
33
|
} & {
|
|
@@ -8,7 +8,7 @@ const IdpOwoxToPayloadSchema = client_1.IdpOwoxPayloadSchema.transform(src => ({
|
|
|
8
8
|
projectId: src.projectId,
|
|
9
9
|
email: src.userEmail,
|
|
10
10
|
fullName: src.userFullName,
|
|
11
|
-
avatar: src.userAvatar,
|
|
11
|
+
avatar: src.userAvatar ?? undefined,
|
|
12
12
|
roles: src.roles,
|
|
13
13
|
projectTitle: src.projectTitle,
|
|
14
14
|
})).pipe(idp_protocol_1.PayloadSchema);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owox/idp-owox",
|
|
3
|
-
"version": "0.7.0-next-
|
|
3
|
+
"version": "0.7.0-next-20250912121716",
|
|
4
4
|
"description": "Identity Provider implementation from OWOX",
|
|
5
5
|
"author": "OWOX",
|
|
6
6
|
"license": "ELv2",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"prepublishOnly": "npm audit && npm run lint && npm run typecheck"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@owox/idp-protocol": "0.7.0-next-
|
|
24
|
+
"@owox/idp-protocol": "0.7.0-next-20250912121716",
|
|
25
25
|
"pkce-challenge": "^5.0.0",
|
|
26
26
|
"cookie-parser": "^1.4.7",
|
|
27
27
|
"env-paths": "^3.0.0",
|