@chevre/domain
Version:
Chevre Domain Library for Node.js
28 lines (27 loc) • 634 B
TypeScript
import * as factory from '../../factory';
/**
* 所有権レポートインターフェース
*/
export interface IOwnershipInfoReport {
id: string;
identifier: string;
ownedBy: {
typeOf: string;
id: string;
};
typeOfGood: {
typeOf: string;
id?: string;
identifier?: string;
};
ownedFrom: string;
ownedThrough: string;
seller: {
id?: string;
};
}
export declare function ownershipInfo2report(params: {
ownershipInfo: factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood> & {
id: string;
};
}): IOwnershipInfoReport;