first commit

This commit is contained in:
2025-04-24 13:11:28 +08:00
commit ff9c54d5e4
5960 changed files with 834111 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import _ from 'lodash'
export function parseEmails(emailsString: string) {
const regexBySpaceOrComma = /[\s,]+/
let emails = emailsString.split(regexBySpaceOrComma)
emails = _.map(emails, email => email.trim())
emails = _.filter(emails, email => email.indexOf('@') !== -1)
return emails
}

View File

@@ -0,0 +1,16 @@
export type GroupUserAlertVariant =
| 'resendManagedUserInviteSuccess'
| 'resendManagedUserInviteFailed'
| 'resendGroupInviteSuccess'
| 'resendGroupInviteFailed'
| 'resendInviteTooManyRequests'
| 'resendSSOLinkInviteSuccess'
| 'resendSSOLinkInviteFailed'
| 'unlinkedSSO'
export type GroupUserAlert =
| {
variant: GroupUserAlertVariant
email?: string
}
| undefined