mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #31942 from overleaf/jel-get-domainVerifications
[web] Start rendering domains for group with domain capture GitOrigin-RevId: b7b007350c5757a78923d9efb259389de23b93c9
This commit is contained in:
@@ -2179,6 +2179,7 @@
|
|||||||
"value_must_be_at_least_x": "",
|
"value_must_be_at_least_x": "",
|
||||||
"vat": "",
|
"vat": "",
|
||||||
"vat_number": "",
|
"vat_number": "",
|
||||||
|
"verification": "",
|
||||||
"verification_code": "",
|
"verification_code": "",
|
||||||
"verify_email_address_before_enabling_managed_users": "",
|
"verify_email_address_before_enabling_managed_users": "",
|
||||||
"verify_your_email_address": "",
|
"verify_your_email_address": "",
|
||||||
|
|||||||
@@ -135,6 +135,7 @@ export interface Meta {
|
|||||||
'ol-gitBridgePublicBaseUrl': string
|
'ol-gitBridgePublicBaseUrl': string
|
||||||
'ol-github': { enabled: boolean; error: boolean }
|
'ol-github': { enabled: boolean; error: boolean }
|
||||||
'ol-groupAuditLogs': []
|
'ol-groupAuditLogs': []
|
||||||
|
'ol-groupDomains': []
|
||||||
'ol-groupId': string
|
'ol-groupId': string
|
||||||
'ol-groupName': string
|
'ol-groupName': string
|
||||||
'ol-groupPlans': GroupPlans
|
'ol-groupPlans': GroupPlans
|
||||||
|
|||||||
@@ -2732,6 +2732,7 @@
|
|||||||
"value_must_be_at_least_x": "Value must be at least __value__",
|
"value_must_be_at_least_x": "Value must be at least __value__",
|
||||||
"vat": "VAT",
|
"vat": "VAT",
|
||||||
"vat_number": "VAT Number",
|
"vat_number": "VAT Number",
|
||||||
|
"verification": "Verification",
|
||||||
"verification_code": "Verification code",
|
"verification_code": "Verification code",
|
||||||
"verify_email_address_before_enabling_managed_users": "You need to verify your email address before enabling managed users.",
|
"verify_email_address_before_enabling_managed_users": "You need to verify your email address before enabling managed users.",
|
||||||
"verify_your_email_address": "Verify your email address",
|
"verify_your_email_address": "Verify your email address",
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
/* eslint-disable no-unused-vars */
|
||||||
|
|
||||||
|
import Helpers from './lib/helpers.mjs'
|
||||||
|
|
||||||
|
const tags = ['saas']
|
||||||
|
|
||||||
|
const indexes = [
|
||||||
|
{
|
||||||
|
key: { groupId: 1 },
|
||||||
|
name: 'groupId_1',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
const migrate = async client => {
|
||||||
|
const { db } = client
|
||||||
|
|
||||||
|
await Helpers.addIndexesToCollection(db.domainVerifications, indexes)
|
||||||
|
}
|
||||||
|
|
||||||
|
const rollback = async client => {
|
||||||
|
const { db } = client
|
||||||
|
await Helpers.dropIndexesFromCollection(db.domainVerifications, [
|
||||||
|
{ name: 'groupId_1' },
|
||||||
|
])
|
||||||
|
}
|
||||||
|
|
||||||
|
export default {
|
||||||
|
tags,
|
||||||
|
migrate,
|
||||||
|
rollback,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user