import { GeneratedSchema } from './../foundations/index.js'; /** * * @remarks This is a type for database creation. * @see {@link SecretSocialConnectorRelation} for the original type. */ export type CreateSecretSocialConnectorRelation = { tenantId?: string; secretId: string; /** Social connector ID foreign reference. Only present for secrets that store social connector tokens. Note: avoid directly cascading deletes here, need to delete the secrets first. */ connectorId: string; /** The target of the social connector. e.g. 'github', 'google', etc. */ target: string; /** User social identity ID foreign reference. Only present for secrets that store social identity tokens. */ identityId: string; }; export type SecretSocialConnectorRelation = { tenantId: string; secretId: string; /** Social connector ID foreign reference. Only present for secrets that store social connector tokens. Note: avoid directly cascading deletes here, need to delete the secrets first. */ connectorId: string; /** The target of the social connector. e.g. 'github', 'google', etc. */ target: string; /** User social identity ID foreign reference. Only present for secrets that store social identity tokens. */ identityId: string; }; export type SecretSocialConnectorRelationKeys = 'tenantId' | 'secretId' | 'connectorId' | 'target' | 'identityId'; export declare const SecretSocialConnectorRelations: GeneratedSchema;