feat(infisical-pg): removed _id with id for new backend

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent fbe5a1adb0
commit fadb36edb8
17 changed files with 2107 additions and 2277 deletions
+5 -5
View File
@@ -2,14 +2,14 @@ import { TRole } from "../roles/types";
import { IdentityAuthMethod } from "./enums";
export type IdentityTrustedIp = {
_id: string;
id: string;
ipAddress: string;
type: "ipv4" | "ipv6";
prefix?: number;
}
export type Identity = {
_id: string;
id: string;
name: string;
authMethod?: IdentityAuthMethod;
createdAt: string;
@@ -17,7 +17,7 @@ export type Identity = {
};
export type IdentityMembershipOrg = {
_id: string;
id: string;
identity: Identity;
organization: string;
role: "admin" | "member" | "viewer" | "no-access" | "custom";
@@ -27,7 +27,7 @@ export type IdentityMembershipOrg = {
}
export type IdentityMembership = {
_id: string;
id: string;
identity: Identity;
organization: string;
role: "admin" | "member" | "viewer" | "no-access" | "custom";
@@ -100,7 +100,7 @@ export type CreateIdentityUniversalAuthClientSecretDTO = {
}
export type ClientSecretData = {
_id: string;
id: string;
identityUniversalAuth: string;
isClientSecretRevoked: boolean;
description: string;