diff --git a/src/lib/types.ts b/src/lib/types.ts index 708a5de92..2129c01b7 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -18,6 +18,7 @@ export type Provider = | 'linkedin_oidc' | 'notion' | 'slack' + | 'slack_oidc' | 'spotify' | 'twitch' | 'twitter' @@ -437,6 +438,22 @@ export interface AdminUserAttributes extends Omit { * Setting this role to `service_role` is not recommended as it grants the user admin privileges. */ role?: string + + /** + * The `password_hash` for the user's password. + * + * Allows you to specify a password hash for the user. This is useful for migrating a user's password hash from another service. + * + * Supports bcrypt and argon2 password hashes. + */ + password_hash?: string + + /** + * The `id` for the user. + * + * Allows you to overwrite the default `id` set for the user. + */ + id?: string } export interface Subscription {