Skip to content

Connectum API Reference / @connectum/test-fixtures / types / MockDescFieldOptions

Interface: MockDescFieldOptions ​

Defined in: types.ts:93

Options for createMockDescField.

Properties ​

fieldNumber? ​

optional fieldNumber?: number

Defined in: types.ts:105

Proto field number, an integer from 1 to 536870911 outside the reserved range 19000 to 19999; any other value throws. Default: 1 (auto-incremented in createMockDescMessage)


isSensitive? ​

optional isSensitive?: boolean

Defined in: types.ts:99

Mark the field as sensitive: proto.options becomes a google.protobuf.FieldOptions message with debugRedact set to true, as in a compiled descriptor. Default: false


type? ​

optional type?: MockScalarType

Defined in: types.ts:107

Field scalar type; a name that is not a MockScalarType throws. Default: 'string'