UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

34 lines 1.03 kB
import { exists } from '../runtime.js'; export var RoleAccountableToTypeEnum; (function (RoleAccountableToTypeEnum) { RoleAccountableToTypeEnum["role"] = "role"; })(RoleAccountableToTypeEnum || (RoleAccountableToTypeEnum = {})); export function instanceOfRoleAccountableTo(value) { let isInstance = true; return isInstance; } export function RoleAccountableToFromJSON(json) { return RoleAccountableToFromJSONTyped(json, false); } export function RoleAccountableToFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { _id: !exists(json, '_id') ? undefined : json['_id'], _type: !exists(json, '_type') ? undefined : json['_type'], }; } export function RoleAccountableToToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { _id: value._id, _type: value._type, }; } //# sourceMappingURL=RoleAccountableTo.js.map