openxiangda-contracts 2.32.0 → 2.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1709,7 +1709,7 @@ function validateOperationPlatformAccess(value, pointer, declaredResources, decl
1709
1709
  resourceCodes.add(code);
1710
1710
  const fieldCodes = uniqueStrings(entry.fieldCodes, `${entryPointer}/fieldCodes`, 16);
1711
1711
  if (!fieldCodes.length ||
1712
- fieldCodes.some(fieldCode => !['file', 'image', 'signature'].includes(String(declaredResources.get(code)?.get(fieldCode) || '')))) {
1712
+ fieldCodes.some(fieldCode => !['file', 'image', 'signature', 'text.rich'].includes(String(declaredResources.get(code)?.get(fieldCode) || '')))) {
1713
1713
  fail('NATIVE_OPERATION_MANAGED_FILE_FIELD_INVALID', `${entryPointer}/fieldCodes`);
1714
1714
  }
1715
1715
  const intents = uniqueStrings(entry.intents, `${entryPointer}/intents`, 2);