@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
30 lines • 1.06 kB
JavaScript
import { exists } from '../runtime.js';
export function instanceOfCustomFieldSingleSelectDropDownContentSelectedOptions(value) {
let isInstance = true;
return isInstance;
}
export function CustomFieldSingleSelectDropDownContentSelectedOptionsFromJSON(json) {
return CustomFieldSingleSelectDropDownContentSelectedOptionsFromJSONTyped(json, false);
}
export function CustomFieldSingleSelectDropDownContentSelectedOptionsFromJSONTyped(json, ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
ids: !exists(json, 'ids') ? undefined : json['ids'],
values: !exists(json, 'values') ? undefined : json['values'],
};
}
export function CustomFieldSingleSelectDropDownContentSelectedOptionsToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
ids: value.ids,
values: value.values,
};
}
//# sourceMappingURL=CustomFieldSingleSelectDropDownContentSelectedOptions.js.map