mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-05 23:01:07 +00:00
feat: add secure module marketplace runtime (#745)
This commit is contained in:
@@ -35,12 +35,28 @@ export interface Module {
|
||||
slug: string
|
||||
module_name: string
|
||||
access_tier: 'public' | 'premium'
|
||||
access: 'free' | 'paid'
|
||||
entitlement?: {
|
||||
active?: boolean
|
||||
status?: string
|
||||
expires_at?: string | null
|
||||
} | null
|
||||
compatibility?: {
|
||||
invoiceshelf?: string | null
|
||||
module_api?: string | number | null
|
||||
php?: string | null
|
||||
extensions?: string[]
|
||||
compatible?: boolean
|
||||
} | null
|
||||
release_state?: 'published' | 'yanked' | string
|
||||
yanked_reason?: string | null
|
||||
channel?: 'stable' | 'insider'
|
||||
faq: ModuleFaq[] | null
|
||||
highlights: string[] | null
|
||||
installed_module_version: string | null
|
||||
installed_module_version_updated_at: string | null
|
||||
latest_module_version: string
|
||||
latest_module_version_updated_at: string
|
||||
latest_module_version: string | null
|
||||
latest_module_version_updated_at: string | null
|
||||
latest_min_invoiceshelf_version: string | null
|
||||
latest_module_checksum_sha256: string | null
|
||||
is_dev: boolean
|
||||
@@ -49,6 +65,7 @@ export interface Module {
|
||||
monthly_price: number | null
|
||||
name: string
|
||||
purchased: boolean
|
||||
purchase_url: string | null
|
||||
reviews: ModuleReview[]
|
||||
screenshots: ModuleScreenshot[] | null
|
||||
short_description: string | null
|
||||
|
||||
Reference in New Issue
Block a user