UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

30 lines 1.02 kB
import { exists } from '../runtime.js'; export function instanceOfCustomFieldSingleSelectDropDownConfigOptionsValue(value) { let isInstance = true; return isInstance; } export function CustomFieldSingleSelectDropDownConfigOptionsValueFromJSON(json) { return CustomFieldSingleSelectDropDownConfigOptionsValueFromJSONTyped(json, false); } export function CustomFieldSingleSelectDropDownConfigOptionsValueFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { _id: !exists(json, '_id') ? undefined : json['_id'], name: !exists(json, 'name') ? undefined : json['name'], }; } export function CustomFieldSingleSelectDropDownConfigOptionsValueToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { _id: value._id, name: value.name, }; } //# sourceMappingURL=CustomFieldSingleSelectDropDownConfigOptionsValue.js.map