app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

withdraw-listing.ts (547B)


      1 import type { OwnedEditSource } from './edit-source.ts';
      2 import type { PublicDraftController } from './draft-controller.ts';
      3 import { reviewOwnedListing } from './prepare-listing.ts';
      4 
      5 // Original retained-source custody is mandatory. A copied public event or a
      6 // display snapshot cannot authorize a removal request.
      7 export function reviewOwnedWithdrawal(
      8   source: OwnedEditSource,
      9   controller: PublicDraftController,
     10   command: unknown,
     11   consent: unknown
     12 ) {
     13   return reviewOwnedListing(source, controller, command, 'withdrawal', consent);
     14 }