Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Anexsoft/Design-Patterns-TypeScript
/ types & classes
Types & classes
97 in github.com/Anexsoft/Design-Patterns-TypeScript
⨍
Functions
88
◇
Types & classes
97
Class
structural/decorator/src/base-price.ts:3
Class
structural/decorator/src/customer.ts:1
Class
structural/decorator/src/product.ts:1
Class
structural/decorator/src/decorators/special-price.decorator.ts:3
Class
structural/decorator/src/decorators/vip-customer.decorator.ts:3
Class
structural/proxy/src/youtube.api.ts:3
Class
structural/proxy/src/video.proxy.ts:3
Class
structural/adapter/src/providers/slack-adapter-notification.ts:4
Class
structural/adapter/src/providers/slack-notification.ts:1
Class
structural/adapter/src/providers/facebook-notification.ts:3
Class
structural/adapter/src/services/notification.service.ts:3
Class
behaviour/strategy/src/mastercard.strategy.ts:4
Class
behaviour/strategy/src/visa.strategy.ts:4
Class
behaviour/strategy/src/paypal.strategy.ts:4
Class
behaviour/strategy/src/checkout.ts:3
Class
behaviour/command/src/payment-method.handler.ts:3
Class
behaviour/command/src/payment-commands/payu.command.ts:4
Class
behaviour/command/src/payment-commands/culqui.command.ts:4
Class
behaviour/command/src/payment-commands/mercadopago.command.ts:4
Class
behaviour/command/src/payment-commands/dto/credit-card.dto.ts:3
Class
behaviour/observer/src/shopping-cart.ts:5
Class
behaviour/observer/src/shopping-cart.ts:14
Class
behaviour/observer/src/shopping-cart.ts:28
Class
behaviour/observer/src/impl/subject.abstract.ts:3
Class
behaviour/observer/src/observers/sms.observer.ts:4
Class
behaviour/observer/src/observers/email.observer.ts:4
Class
creational/factory/order.ts:5
Class
creational/factory/src/payment-method-factory.ts:7
Class
creational/factory/src/types/Visa.ts:3
Class
creational/factory/src/types/PayPal.ts:3
Class
creational/factory/src/types/MasterCard.ts:3
Class
creational/abstract-factory/src/publisher.ts:3
Class
creational/abstract-factory/src/factories/linkedin/linkedin-factory.ts:7
Class
creational/abstract-factory/src/factories/linkedin/linkedin-connector.ts:3
Class
creational/abstract-factory/src/factories/linkedin/linkedin-publisher.ts:4
Class
creational/abstract-factory/src/factories/facebook/facebook-publisher.ts:4
Class
creational/abstract-factory/src/factories/facebook/facebook-factory.ts:7
Class
creational/abstract-factory/src/factories/facebook/facebook-connector.ts:3
Class
creational/abstract-factory/src/factories/slack/slack-publisher.ts:4
Class
creational/abstract-factory/src/factories/slack/slack-factory.ts:7
Class
creational/abstract-factory/src/factories/slack/slack-connector.ts:3
Class
creational/singleton/my-configuration.ts:3
Class
BasePrice
structural/decorator/src/base-price.ts:3
Class
CartItem
behaviour/observer/src/shopping-cart.ts:5
Class
Checkout
behaviour/strategy/src/checkout.ts:3
Class
CreditCardDto
behaviour/command/src/payment-commands/dto/credit-card.dto.ts:3
Class
CulquiCommand
behaviour/command/src/payment-commands/culqui.command.ts:4
Class
Customer
structural/decorator/src/customer.ts:1
Class
EmailObserver
behaviour/observer/src/observers/email.observer.ts:4
Class
FacebookConnector
creational/abstract-factory/src/factories/facebook/facebook-connector.ts:3
Class
FacebookFactory
creational/abstract-factory/src/factories/facebook/facebook-factory.ts:7
Class
FacebookNotification
structural/adapter/src/providers/facebook-notification.ts:3
Class
FacebookPublisher
creational/abstract-factory/src/factories/facebook/facebook-publisher.ts:4
Interface
IAbstractFactory
creational/abstract-factory/src/abstract-factory.interface.ts:4
Interface
ICommand
behaviour/command/src/command.interface.ts:1
Interface
IConnector
creational/abstract-factory/src/factories/connector.interface.ts:1
Interface
IDiscount
structural/decorator/src/interfaces/discount.interface.ts:1
Interface
INotification
structural/adapter/src/providers/notification.interface.ts:1
Interface
IPaymentMethod
creational/factory/src/payment-method.interface.ts:1
Interface
IPublisher
creational/abstract-factory/src/factories/publisher.interface.ts:1
Interface
IVideoProvider
structural/proxy/src/video-provider.interface.ts:1
Class
LinkedinConnector
creational/abstract-factory/src/factories/linkedin/linkedin-connector.ts:3
Class
LinkedinFactory
creational/abstract-factory/src/factories/linkedin/linkedin-factory.ts:7
Class
LinkedinPublisher
creational/abstract-factory/src/factories/linkedin/linkedin-publisher.ts:4
Class
MasterCard
creational/factory/src/types/MasterCard.ts:3
Class
MastercardStrategy
behaviour/strategy/src/mastercard.strategy.ts:4
Class
MercadoPagoCommand
behaviour/command/src/payment-commands/mercadopago.command.ts:4
Class
MyConfiguration
creational/singleton/my-configuration.ts:3
Class
NotificationService
structural/adapter/src/services/notification.service.ts:3
Interface
Observer
behaviour/observer/src/impl/observer.interface.ts:1
Class
Order
behaviour/observer/src/shopping-cart.ts:14
Class
Order
creational/factory/order.ts:5
Class
PayPal
creational/factory/src/types/PayPal.ts:3
Class
PayPalStrategy
behaviour/strategy/src/paypal.strategy.ts:4
Class
PayUCommand
behaviour/command/src/payment-commands/payu.command.ts:4
Interface
PaymentCardStrategy
behaviour/strategy/src/interfaces/payment-card-strategy.interface.ts:3
Interface
PaymentGatewayStrategy
behaviour/strategy/src/interfaces/payment-gateway-strategy.interface.ts:3
Class
PaymentMethodFactory
creational/factory/src/payment-method-factory.ts:7
Class
PaymentMethodHandler
behaviour/command/src/payment-method.handler.ts:3
Interface
PaymentResponse
behaviour/strategy/src/interfaces/payment-strategy.interface.ts:1
Interface
PaymentStrategy
behaviour/strategy/src/interfaces/payment-strategy.interface.ts:6
Enum
PaymentType
creational/factory/enums/payment-type.ts:None
Class
Product
structural/decorator/src/product.ts:1
Class
Publisher
creational/abstract-factory/src/publisher.ts:3
Class
ShoppingCart
behaviour/observer/src/shopping-cart.ts:28
Class
SlackAdapterNotification
structural/adapter/src/providers/slack-adapter-notification.ts:4
Class
SlackConnector
creational/abstract-factory/src/factories/slack/slack-connector.ts:3
Class
SlackFactory
creational/abstract-factory/src/factories/slack/slack-factory.ts:7
Class
SlackNotification
structural/adapter/src/providers/slack-notification.ts:1
Class
SlackPublisher
creational/abstract-factory/src/factories/slack/slack-publisher.ts:4
Class
SmsObserver
behaviour/observer/src/observers/sms.observer.ts:4
Class
SpecialPriceDecorator
structural/decorator/src/decorators/special-price.decorator.ts:3
Class
VideoProxy
structural/proxy/src/video.proxy.ts:3
Class
VipCustomerDecorator
structural/decorator/src/decorators/vip-customer.decorator.ts:3
Class
Visa
creational/factory/src/types/Visa.ts:3
Class
VisaStrategy
behaviour/strategy/src/visa.strategy.ts:4
Class
YouTubeApi
structural/proxy/src/youtube.api.ts:3