@chevre/domain
Version:
Chevre Domain Library for Node.js
23 lines (22 loc) • 542 B
TypeScript
import type { AuthorizationRepo } from '../../../../repo/authorization';
import * as factory from '../../../../factory';
declare function publishCode(params: {
project: {
id: string;
};
/**
* 承認対象(注文)
*/
object: {
orderNumber: string;
seller: {
id: string;
};
};
validFrom: Date;
expiresInSeconds: number;
author: factory.authorization.IAuthor;
}): (repos: {
authorization: AuthorizationRepo;
}) => Promise<string>;
export { publishCode };