@itd-api/crypto / textFields
Function: textFields()
ts
function textFields(operationId): readonly string[] | undefined;Defined in: packages/crypto/src/fields.ts:129
Возвращает текстовые поля встроенной операции.
Parameters
operationId
OperationId
Returns
readonly string[] | undefined
неизменяемый список имён либо undefined, если операция не поддерживается
Example
ts
textFields('posts.create'); // ['content']
textFields('users.updateMe'); // ['displayName', 'bio']