dumi-assets-types
Advanced tools
Comparing version 2.0.0-alpha.0 to 2.3.0-rc.0
{ | ||
"name": "dumi-assets-types", | ||
"version": "2.0.0-alpha.0", | ||
"version": "2.3.0-rc.0", | ||
"description": "Standard assets type definitions for dumi library project", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/umijs/dumi/tree/master/assets-types#readme", |
@@ -0,1 +1,3 @@ | ||
import type { TypeMap } from '../atom/props/types'; | ||
/** | ||
@@ -65,2 +67,6 @@ * base example asset | ||
>; | ||
/** | ||
* Entry file name, you can find the relevant entry file content from `dependencies` | ||
*/ | ||
entry?: string; | ||
} | ||
@@ -79,4 +85,3 @@ | ||
title: string; | ||
// FIXME: real types | ||
value: any; | ||
value: TypeMap['element']['$$__body']; | ||
} | ||
@@ -83,0 +88,0 @@ |
@@ -0,4 +1,7 @@ | ||
import type AtomAsset from './atom'; | ||
import type { AtomComponentAsset, AtomFunctionAsset } from './atom'; | ||
import type ExampleAsset from './example'; | ||
import type { ExampleBlockAsset, ExamplePresetAsset } from './example'; | ||
export type { AtomAsset, AtomComponentAsset, AtomFunctionAsset }; | ||
export type { ExampleAsset, ExampleBlockAsset, ExamplePresetAsset }; | ||
@@ -52,4 +55,3 @@ | ||
assets: { | ||
// FIXME: real types | ||
atoms: any; | ||
atoms: AtomAsset[]; | ||
examples: ExampleAsset[]; | ||
@@ -56,0 +58,0 @@ }; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10927
7
493