routes

package
v0.0.0-...-9ed8f83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry interface {
	AdminRouter() fiber.Router
	StoreRouter() fiber.Router

	Config() *config.Config
	Middleware() *middlewares.Handler

	//Admin
	AdminAnalyticsConfig() *admin.AnalyticsConfig
	AdminApp() *admin.App
	AdminAuth() *admin.Auth
	AdminBatch() *admin.Batch
	AdminCollection() *admin.Collection
	AdminCurrencie() *admin.Currencie
	AdminCustomerGroup() *admin.CustomerGroup
	AdminCustomer() *admin.Customer
	AdminDiscount() *admin.Discount
	AdminDraftOrder() *admin.DraftOrder
	AdminGiftCard() *admin.GiftCard
	AdminInventoryItem() *admin.InventoryItem
	AdminInvite() *admin.Invite
	AdminNote() *admin.Note
	AdminNotification() *admin.Notification
	AdminOrderEdit() *admin.OrderEdit
	AdminOrder() *admin.Order
	AdminPaymentCollection() *admin.PaymentCollection
	AdminPayment() *admin.Payment
	AdminPriceList() *admin.PriceList
	AdminProductCategory() *admin.ProductCategory
	AdminProductTag() *admin.ProductTag
	AdminProductType() *admin.ProductType
	AdminProduct() *admin.Product
	AdminPublishableApiKey() *admin.PublishableApiKey
	AdminRegion() *admin.Region
	AdminReservation() *admin.Reservation
	AdminReturnReason() *admin.ReturnReason
	AdminReturn() *admin.Return
	AdminSalesChannel() *admin.SalesChannel
	AdminShippingOption() *admin.ShippingOption
	AdminShippingProfile() *admin.ShippingProfile
	AdminStockLocation() *admin.StockLocation
	AdminStore() *admin.Store
	AdminSwap() *admin.Swap
	AdminTaxRate() *admin.TaxRate
	AdminUpload() *admin.Upload
	AdminUser() *admin.User
	AdminVariant() *admin.Variant

	//Store
	StoreAuth() *store.Auth
	StoreCart() *store.Cart
	StoreCollection() *store.Collection
	StoreCustomer() *store.Customer
	StoreGiftCard() *store.GiftCard
	StoreOrder() *store.Order
	StoreOrderEdit() *store.OrderEdit
	StorePaymentCollection() *store.PaymentCollection
	StoreProduct() *store.Product
	StoreProductCategory() *store.ProductCategory
	StoreProductTag() *store.ProductTag
	StoreProductType() *store.ProductType
	StoreRegion() *store.Region
	StoreReturn() *store.Return
	StoreReturnReason() *store.ReturnReason
	StoreShippingOption() *store.ShippingOption
	StoreSwap() *store.Swap
	StoreVariant() *store.Variant
}

type Routes

type Routes struct {
	// contains filtered or unexported fields
}

func New

func New(r Registry) *Routes

func (*Routes) SetAdminRoutes

func (r *Routes) SetAdminRoutes()

func (*Routes) SetRoutes

func (r *Routes) SetRoutes()

func (*Routes) SetStoreRoutes

func (r *Routes) SetStoreRoutes()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL