Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Added Vendor Origin Story field to VendorController #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app/controllers/VendorController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export interface VendorCommonProperties {
images: Array<string>;
address: string;
phone_number: string;
origin_story: string;
status: VendorStatus;
ui_configuration: UpdateVendorUiConfigurationInput;
payout_email_address: string;
Expand Down Expand Up @@ -167,7 +168,7 @@ export interface DirectDepositInfo {
cheque_image: string;
}

export interface UpdateVendorInput extends Partial<Pick<Vendor, 'name' | 'description' | 'images' | 'tags' | 'open_hours' | 'address' | 'phone_number' | 'location'
export interface UpdateVendorInput extends Partial<Pick<Vendor, 'name' | 'description' | 'images' | 'tags' | 'open_hours' | 'address' | 'phone_number' | 'origin_story' | 'location'
| 'courier_pickup_instructions' | 'ui_configuration' | 'status' | 'payout_email_address' | 'direct_deposit_info' | 'payment_methods' | 'directions' | 'receive_sms_notifications' | 'auto_open' | 'auto_close' | 'payout_auto_request_schedule' | 'global_tax_rate' | 'postal_code'
| 'order_types' | 'store_logo' | 'min_delivery_cart_total' | 'max_group_seating_limit' | 'website_link'>> {

Expand Down