@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
36 lines • 1.17 kB
JavaScript
import { exists } from '../runtime.js';
export var AgreementOwnersInnerTypeEnum;
(function (AgreementOwnersInnerTypeEnum) {
AgreementOwnersInnerTypeEnum["team"] = "team";
AgreementOwnersInnerTypeEnum["user"] = "user";
AgreementOwnersInnerTypeEnum["role"] = "role";
})(AgreementOwnersInnerTypeEnum || (AgreementOwnersInnerTypeEnum = {}));
export function instanceOfAgreementOwnersInner(value) {
let isInstance = true;
return isInstance;
}
export function AgreementOwnersInnerFromJSON(json) {
return AgreementOwnersInnerFromJSONTyped(json, false);
}
export function AgreementOwnersInnerFromJSONTyped(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 AgreementOwnersInnerToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
_id: value._id,
_type: value._type,
};
}
//# sourceMappingURL=AgreementOwnersInner.js.map