mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 11:25:58 +00:00
fix: typescript complaining
This commit is contained in:
@@ -35,7 +35,7 @@ export interface TPermissionDALFactory {
|
|||||||
projectFavorites?: string[] | null | undefined;
|
projectFavorites?: string[] | null | undefined;
|
||||||
customRoleSlug?: string | null | undefined;
|
customRoleSlug?: string | null | undefined;
|
||||||
orgAuthEnforced?: boolean | null | undefined;
|
orgAuthEnforced?: boolean | null | undefined;
|
||||||
orgGoogleSsoAuthEnforced?: boolean | null | undefined;
|
orgGoogleSsoAuthEnforced: boolean;
|
||||||
} & {
|
} & {
|
||||||
groups: {
|
groups: {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -88,7 +88,7 @@ export interface TPermissionDALFactory {
|
|||||||
}[];
|
}[];
|
||||||
orgId: string;
|
orgId: string;
|
||||||
orgAuthEnforced: boolean | null | undefined;
|
orgAuthEnforced: boolean | null | undefined;
|
||||||
orgGoogleSsoAuthEnforced: boolean | null | undefined;
|
orgGoogleSsoAuthEnforced: boolean;
|
||||||
orgRole: OrgMembershipRole;
|
orgRole: OrgMembershipRole;
|
||||||
userId: string;
|
userId: string;
|
||||||
projectId: string;
|
projectId: string;
|
||||||
@@ -372,7 +372,7 @@ export const permissionDALFactory = (db: TDbClient): TPermissionDALFactory => {
|
|||||||
OrgMembershipsSchema.extend({
|
OrgMembershipsSchema.extend({
|
||||||
permissions: z.unknown(),
|
permissions: z.unknown(),
|
||||||
orgAuthEnforced: z.boolean().optional().nullable(),
|
orgAuthEnforced: z.boolean().optional().nullable(),
|
||||||
orgGoogleSsoAuthEnforced: z.boolean().optional().nullable(),
|
orgGoogleSsoAuthEnforced: z.boolean(),
|
||||||
bypassOrgAuthEnabled: z.boolean(),
|
bypassOrgAuthEnabled: z.boolean(),
|
||||||
customRoleSlug: z.string().optional().nullable(),
|
customRoleSlug: z.string().optional().nullable(),
|
||||||
shouldUseNewPrivilegeSystem: z.boolean()
|
shouldUseNewPrivilegeSystem: z.boolean()
|
||||||
|
|||||||
Reference in New Issue
Block a user