@drovp/types
Advanced tools
Comparing version 4.11.0 to 5.0.0
@@ -301,2 +301,3 @@ /** | ||
/** A short text label displayed in item's card. */ | ||
export interface Flair { | ||
@@ -308,2 +309,3 @@ title: string; | ||
/** An icon displayed in item's card. */ | ||
export interface Badge { | ||
@@ -315,3 +317,3 @@ title: string; | ||
// These are the only items processors deal with | ||
/** The only items processors deal with. */ | ||
export type Item = ItemFile | ItemDirectory | ItemBlob | ItemString | ItemUrl; | ||
@@ -328,20 +330,13 @@ | ||
kind: 'file'; | ||
type: string; // lowercase extension type without the dot | ||
/** Lowercase extension without the dot. */ | ||
type: string; | ||
path: string; | ||
exists: boolean; | ||
size: number; | ||
} | ||
export interface ItemMissingFile extends ItemBase { | ||
kind: 'missing-file'; | ||
path: string; | ||
error: string; | ||
} | ||
export interface ItemDirectory extends ItemBase { | ||
kind: 'directory'; | ||
path: string; | ||
exists: boolean; | ||
} | ||
export interface ItemMissingDirectory extends ItemBase { | ||
kind: 'missing-directory'; | ||
path: string; | ||
error: string; | ||
} | ||
export interface ItemBlob extends ItemBase { | ||
@@ -348,0 +343,0 @@ kind: 'blob'; |
{ | ||
"name": "@drovp/types", | ||
"version": "4.11.0", | ||
"version": "5.0.0", | ||
"description": "Drovp plugin API definitions", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27780
755