MCPcopy Create free account

hub / github.com/Agilo/medusa-pos-starter / functions

Functions208 in github.com/Agilo/medusa-pos-starter

↓ 103 callersFunctionclx
(...inputs: ClassValue[])
utils/clx.tsx:4
↓ 37 callersFunctioniconWithClassName
(icon: LucideIcon)
components/icons/utils.ts:4
↓ 26 callersFunctionuseMedusaSdk
()
contexts/auth.tsx:250
↓ 20 callersFunctionshowErrorToast
(error: unknown)
utils/errors.ts:69
↓ 16 callersFunctionuseSettings
()
contexts/settings.tsx:14
↓ 8 callersFunctionuseAuthCtx
()
contexts/auth.tsx:232
↓ 7 callersFunctionuseUpdateSettings
( options?: Omit<UseMutationOptions<void, DefaultError, Partial<SettingsStateType>>, 'mutationKey' | 'mutati
contexts/settings.tsx:83
↓ 5 callersFunctionuseGetOrSetDraftOrderId
()
api/hooks/draft-orders.tsx:45
↓ 4 callersFunctionformatDate
(date: Date)
components/DateRangeFilter.tsx:58
↓ 4 callersFunctionisFetchError
(error: unknown)
utils/errors.ts:17
↓ 4 callersFunctionuseCurrentDraftOrder
()
api/hooks/draft-orders.tsx:103
↓ 3 callersFunctionformatDate
(value: string | Date)
utils/date.tsx:1
↓ 3 callersFunctiongetInfoBannerTextClasses
( colorScheme: 'error' | 'warning' | 'success', textClassName?: string, )
components/InfoBanner.tsx:62
↓ 3 callersFunctionisUnauthorizedError
(error: unknown)
utils/errors.ts:31
↓ 3 callersFunctiontoggleOption
(optionValue: string)
components/MultiSelectFilter.tsx:47
↓ 2 callersFunctiongetInfoBannerIcon
(colorScheme: 'error' | 'warning' | 'success')
components/InfoBanner.tsx:76
↓ 2 callersFunctiongetInfoBannerWrapperClasses
( variant: 'ghost' | 'solid' | 'outline', colorScheme: 'error' | 'warning' | 'success', className?: stri
components/InfoBanner.tsx:40
↓ 2 callersFunctionuseBreakpointValue
(values: { base: T } & Partial<Record<BreakpointSize, T>>)
hooks/useBreakpointValue.ts:5
↓ 2 callersFunctionuseColorScheme
()
hooks/useColorScheme.ts:3
↓ 2 callersFunctionuseCustomers
( query?: Omit<AdminCustomerFilters, 'limit' | 'offset'>, limit = PER_PAGE, options?: Omit< Undefine
api/hooks/customers.ts:14
↓ 2 callersFunctionuseRegions
(query?: Omit<FindParams & AdminRegionFilters, 'offset' | 'limit'>)
api/hooks/regions.ts:8
↓ 2 callersFunctionuseSalesChannels
(query?: Omit<AdminSalesChannelListParams, 'offset' | 'limit'>)
api/hooks/sales-channel.ts:8
↓ 2 callersFunctionuseStockLocations
(query?: Omit<AdminStockLocationListParams, 'limit' | 'offset'>)
api/hooks/stock-location.ts:8
↓ 2 callersFunctionuseUpdateDraftOrderCustomer
( options?: Omit< UseMutationOptions<AdminDraftOrderPreviewResponse, Error, AdminCustomer | undefined, u
api/hooks/draft-orders.tsx:453
↓ 2 callersFunctionuseUpdateDraftOrderItem
( options?: Omit< UseMutationOptions<void, Error, { id: string; update: Pick<AdminUpdateDraftOrderItem,
api/hooks/draft-orders.tsx:207
↓ 1 callersFunctiondefaultRenderOption
(option: MultiSelectOption, isSelected: boolean)
components/MultiSelectFilter.tsx:59
↓ 1 callersFunctiondefaultRenderOption
(option: SelectOption, isSelected: boolean, onSelect: (value: string) => void)
components/form/SelectField.tsx:32
↓ 1 callersFunctionfindProvinceByCode
(countryCode: string, provinceCode: string)
constants/provinces.ts:35350
↓ 1 callersFunctionformatDateRange
(range: DateRange)
components/DateRangeFilter.tsx:55
↓ 1 callersFunctiongetCameraPermissions
()
app/(tabs)/scan.tsx:42
↓ 1 callersFunctiongetCountryByAlpha2
(alpha2: string)
constants/countries.ts:443
↓ 1 callersFunctiongetErrorMessage
(error: unknown)
utils/errors.ts:59
↓ 1 callersFunctiongetInitialStep
()
components/setup-wizard/SetupWizardContent.tsx:36
↓ 1 callersFunctiongetPromotionTypeLabel
(type?: string)
app/(tabs)/cart.tsx:136
↓ 1 callersFunctiongetProvincesForCountry
(countryCode: string)
constants/provinces.ts:35340
↓ 1 callersFunctiongetSelectedOptions
(options: SelectOption[], value: any)
components/form/SelectField.tsx:49
↓ 1 callersFunctionhandleSelect
(onChange: (value: any) => void, setIsVisible: (visible: boolean) => void)
components/form/SelectField.tsx:27
↓ 1 callersFunctionhasProvinces
(countryCode: string)
constants/provinces.ts:35345
↓ 1 callersFunctionisForbiddenError
(error: unknown)
utils/errors.ts:38
↓ 1 callersFunctionisNetworkError
(error: unknown)
utils/errors.ts:24
↓ 1 callersFunctionisNotFoundError
(error: unknown)
utils/errors.ts:45
↓ 1 callersFunctionisPlaceholderOrder
( order: AdminOrder | { id: `placeholder_${string}` }, )
app/(tabs)/orders.tsx:21
↓ 1 callersFunctionisPlaceholderProduct
( product: AdminCustomer | { id: `placeholder_${string}` }, )
app/customer-lookup.tsx:77
↓ 1 callersFunctionisPlaceholderProduct
( product: AdminProduct | { id: `placeholder_${string}` }, )
app/(tabs)/products.tsx:16
↓ 1 callersFunctionisServerError
(error: unknown)
utils/errors.ts:52
↓ 1 callersFunctionloadAuthState
()
contexts/auth.tsx:133
↓ 1 callersFunctionmoveDirectories
(userInput)
scripts/reset-project.js:48
↓ 1 callersFunctionnormalizeUrl
(url: string)
app/login.tsx:12
↓ 1 callersFunctionremoveOption
(optionValue: string)
components/MultiSelectFilter.tsx:54
↓ 1 callersFunctionremoveOption
(value: string[], onChange: (value: any) => void)
components/form/MultiSelectField.tsx:59
↓ 1 callersFunctionrenderCurrentStep
()
components/setup-wizard/SetupWizardContent.tsx:109
↓ 1 callersFunctionrenderOptionsList
({ filteredOptions, value, onChange, setIsVisible, searchable, searchQuery, setSea
components/form/SelectField.tsx:63
↓ 1 callersFunctionshouldShowFloating
( isVisible: boolean, selectedOptions: SelectOption[], floatingPlaceholder: boolean, variant:
components/form/SelectField.tsx:54
↓ 1 callersFunctionuseAddPromotion
( options?: Omit< UseMutationOptions<AdminDraftOrderPreviewResponse, Error, string, unknown>, 'mutat
api/hooks/draft-orders.tsx:367
↓ 1 callersFunctionuseAddToDraftOrder
( options?: Omit< UseMutationOptions<AdminDraftOrderPreviewResponse, Error, AdminAddDraftOrderItems, unk
api/hooks/draft-orders.tsx:152
↓ 1 callersFunctionuseCancelDraftOrder
(options?: Omit<UseMutationOptions<void>, 'mutationKey' | 'mutationFn'>)
api/hooks/draft-orders.tsx:123
↓ 1 callersFunctionuseClearSettings
()
contexts/settings.tsx:122
↓ 1 callersFunctionuseCompleteDraftOrder
( draftOrderId: string, options?: Omit<UseMutationOptions<void, Error, void, unknown>, 'mutationKey' | 'mu
api/hooks/draft-orders.tsx:526
↓ 1 callersFunctionuseCreateCustomer
()
api/hooks/customers.ts:52
↓ 1 callersFunctionuseCreateRegion
( options?: Omit<UseMutationOptions<AdminRegionResponse, Error, AdminCreateRegion>, 'mutationKey' | 'mutatio
api/hooks/regions.ts:32
↓ 1 callersFunctionuseCreateSalesChannel
( options?: Omit< UseMutationOptions<AdminSalesChannelResponse, Error, AdminCreateSalesChannel>, 'mu
api/hooks/sales-channel.ts:32
↓ 1 callersFunctionuseCreateStockLocation
( options?: Omit< UseMutationOptions<AdminStockLocationResponse, Error, AdminCreateStockLocation>, '
api/hooks/stock-location.ts:32
↓ 1 callersFunctionuseCurrencies
(query?: Omit<AdminCurrencyListParams, 'offset' | 'limit'>)
api/hooks/currencies.ts:7
↓ 1 callersFunctionuseCustomFormContext
()
components/form/Form.tsx:28
↓ 1 callersFunctionuseDraftOrderOrOrder
(draftOrderId: string)
api/hooks/draft-orders.tsx:79
↓ 1 callersFunctionuseDraftOrderPromotions
(codes: string[])
api/hooks/draft-orders.tsx:605
↓ 1 callersFunctionuseGetOrSetDefaultCustomer
()
api/hooks/draft-orders.tsx:18
↓ 1 callersFunctionuseOrder
(orderId: string)
api/hooks/orders.ts:45
↓ 1 callersFunctionuseOrders
( query?: Omit<AdminOrderFilters, 'limit' | 'offset'>, limit = PER_PAGE, options?: Omit< UndefinedIn
api/hooks/orders.ts:7
↓ 1 callersFunctionuseProduct
(productId: string)
api/hooks/products.ts:53
↓ 1 callersFunctionuseProducts
( query?: Omit<AdminProductListParams, 'limit' | 'offset'>, limit = PER_PAGE, options?: Omit< Undefi
api/hooks/products.ts:15
↓ 1 callersFunctionuseRemovePromotion
( options?: Omit< UseMutationOptions<AdminDraftOrderPreviewResponse, Error, string, unknown>, 'mutat
api/hooks/draft-orders.tsx:410
↓ 1 callersFunctionuseScanBarcode
( options?: Omit< UseMutationOptions< { product: AdminProduct; variant: AdminProdu
api/hooks/products.ts:65
↓ 1 callersFunctionvalidateMedusaUrl
(url: string)
app/login.tsx:18
FunctionAddNewCustomerButton
({ onNewCustomer })
app/customer-lookup.tsx:26
FunctionApp
()
app/_layout.tsx:34
FunctionAppStatusBar
()
components/AppStatusBar.tsx:5
FunctionAuthProvider
({ children })
contexts/auth.tsx:44
FunctionBaseSelectField
({ name, placeholder = 'Select an option', options, className = '', buttonClassName = '', errorCla
components/form/BaseSelectField.tsx:63
FunctionBottomSheet
({ title, children, showCloseButton = true, dismissOnOverlayPress = true, className, containerClas
components/ui/BottomSheet.tsx:28
FunctionButton
({ children, className, isPending = false, disabled = false, variant = 'solid', icon, iconPositi
components/ui/Button.tsx:15
FunctionCartScreen
()
app/(tabs)/cart.tsx:383
FunctionCartSkeleton
({ ...props })
components/skeletons/CartSkeleton.tsx:6
FunctionCartSummaryHeader
({ onAddPromotion, isAddingPromotion, isLoading, taxTotal, subtotal, discountTotal, currencyCode })
app/(tabs)/cart.tsx:329
FunctionCheckoutScreen
()
app/checkout/[draftOrderId].tsx:56
FunctionCheckoutSkeleton
()
components/skeletons/CheckoutSkeleton.tsx:5
FunctionColorPicker
({ colors, selectedColor, onColorChange, label = 'Colors', disabled = false, className = '', }: Co
components/ui/ColorPicker.tsx:15
FunctionCreateRegionScreen
()
app/settings/create-region.tsx:8
FunctionCreateSalesChannelScreen
()
app/settings/create-sales-channel.tsx:8
FunctionCreateStockLocationScreen
()
app/settings/create-stock-location.tsx:8
FunctionCustomerBadge
({ customer })
app/(tabs)/cart.tsx:205
FunctionCustomerInformation
({ order })
app/orders/[orderId].tsx:16
FunctionCustomerListPlaceholder
()
app/customer-lookup.tsx:83
FunctionCustomerLookupScreen
()
app/customer-lookup.tsx:214
FunctionCustomersList
({ q, selectedCustomerId, onCustomerSelect })
app/customer-lookup.tsx:96
FunctionDateRangeFilter
({ value, onChange, className, buttonClassName, placeholder = 'Select date range', minDate, maxD
components/DateRangeFilter.tsx:33
FunctionDialog
({ title, children, showCloseButton = true, dismissOnOverlayPress = true, className, containerClas
components/ui/Dialog.tsx:30
FunctionDraftOrderItem
({ item, onRemove, })
app/(tabs)/cart.tsx:61
FunctionDraftOrderItem
({ item })
app/checkout/[draftOrderId].tsx:22
FunctionExternalLink
({ href, ...rest }: Props)
components/ExternalLink.tsx:8
next →1–100 of 208, ranked by callers