Skip to content

zxy19/store-template

Repository files navigation

Store-template

License

Template of store provider. This is not a plugin that can be install but used to create a new plugin for xypp/store

Develop

See Wiki

Wiki

Store Item's life cycle

  • requires mermaid
graph LR
	subgraph Store Item
		fre(Fronten Store Display)
		hlp(Purchase from helper)
		pc(provider\n->canPurchase)
         pp[provider\n->purchase]
		pc--Y-->fre
		fre--purchase-->pp
		hlp--purchase-->pp
	end
	subgraph Purchase History
		pp----Purchased
		Purchased
		pcuf(provider\n->canUseFrontend)
         pcu(provider\n->canUse)
   		frep(Fronten Purchased)
         Purchased---->pcuf--y-->pcu--y-->frep
         hlpu(Use from helper)
         use(Provider\n->useItem)
         frep--data-->use
         hlpu--data-->use
         expire(Provider\n->expire)
         Purchased--Timeout-->expire
         Purchased--Remove-->expire
	end
Loading

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published