diff --git a/packages/payload/packages/xns/plugins/record/src/helpers/validation/private/validators.ts b/packages/payload/packages/xns/plugins/record/src/helpers/validation/private/validators.ts index 3e7147f06..9b83d83d9 100644 --- a/packages/payload/packages/xns/plugins/record/src/helpers/validation/private/validators.ts +++ b/packages/payload/packages/xns/plugins/record/src/helpers/validation/private/validators.ts @@ -1,3 +1,7 @@ +/** + * NOTE: These validators are private because they rely on private data that cannot be shared with clients. + */ + import type { PayloadValidationFunction, WithSources } from '@xyo-network/payload-model' import type { DomainRegistration } from '../../../DomainRegistration/index.ts' diff --git a/packages/payload/packages/xns/plugins/record/src/helpers/validation/public/spec/validators.spec.ts b/packages/payload/packages/xns/plugins/record/src/helpers/validation/public/spec/validators.spec.ts index f19f17307..938a28308 100644 --- a/packages/payload/packages/xns/plugins/record/src/helpers/validation/public/spec/validators.spec.ts +++ b/packages/payload/packages/xns/plugins/record/src/helpers/validation/public/spec/validators.spec.ts @@ -1,3 +1,8 @@ +/** + * NOTE: These validators are public because they can be validated by clients + * and require no special access to private data. + */ + import type { WithSources } from '@xyo-network/payload-model' import type { DomainRegistration } from '../../../../DomainRegistration/index.ts'