revise-listing.ts (577B)
1 import { reviewOwnedListing } from './prepare-listing.ts'; 2 import type { OwnedEditSource } from './edit-source.ts'; 3 import type { PublicDraftController } from './draft-controller.ts'; 4 export { ownedRevisionTimestamp as nextOwnedRevisionTime } from './prepare-listing.ts'; 5 // One immutable ListingReview and the existing durable publisher own the effect. 6 export function reviewOwnedRevision( 7 source: OwnedEditSource, 8 controller: PublicDraftController, 9 command: unknown, 10 consent: unknown 11 ) { 12 return reviewOwnedListing(source, controller, command, 'active', consent); 13 }