Add DE labeler (#5675)

This commit is contained in:
Eric Bailey
2024-10-17 13:48:02 -05:00
committed by GitHub
parent c5e40d6695
commit 1c6cee7a0d
@@ -4,15 +4,17 @@ import {logger} from '#/logger'
import {device} from '#/storage'
export const BR_LABELER = 'did:plc:ekitcvx7uwnauoqy5oest3hm'
export const DE_LABELER = 'did:plc:r55ow3tocux5kafs5dq445fy'
export const ADDITIONAL_LABELERS_MAP: {
[countryCode: string]: string[]
} = {
BR: [BR_LABELER],
DE: [DE_LABELER],
}
export const ALL_ADDITIONAL_LABELERS = Object.values(
ADDITIONAL_LABELERS_MAP,
).flat()
export const NON_CONFIGURABLE_LABELERS = [BR_LABELER]
export const NON_CONFIGURABLE_LABELERS = [BR_LABELER, DE_LABELER]
export function isNonConfigurableModerationAuthority(did: string) {
return NON_CONFIGURABLE_LABELERS.includes(did)