We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14884c5 + 570dea7 commit 663e570Copy full SHA for 663e570
packages/shared-lib/src/package-manager/packageInfo.ts
@@ -3,10 +3,11 @@ export namespace PackageInfo {
3
export enum Type {
4
SCAN = 'scan',
5
DEEPSCAN = 'deepScan',
6
+ JSON = 'json',
7
OTHER = 'other',
8
}
9
- export type Any = FFProbeScan | FFProbeDeepScan | FFOther
10
+ export type Any = FFProbeScan | FFProbeDeepScan | JSONDocument | FFOther
11
export interface Base {
12
type: Type
13
payload: any
@@ -20,6 +21,12 @@ export namespace PackageInfo {
20
21
type: Type.DEEPSCAN
22
payload: FFProbeDeepScanInfo
23
24
+
25
+ export interface JSONDocument extends Base {
26
+ type: Type.JSON
27
+ payload: unknown
28
+ }
29
30
export interface FFOther extends Base {
31
// placeholder
32
type: Type.OTHER
0 commit comments