Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dumi-assets-types

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dumi-assets-types - npm Package Compare versions

Comparing version 1.0.0-beta.3 to 1.0.0-beta.4

5

package.json
{
"name": "dumi-assets-types",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"description": "Type definition for UI assets that build from dumi",

@@ -19,3 +19,4 @@ "types": "typings/index.d.ts",

],
"license": "MIT"
"license": "MIT",
"gitHead": "65032a04344b5cb3e8ddb1b8ec620c17b03866fa"
}

38

typings/atom.d.ts

@@ -6,2 +6,36 @@ /**

export interface AtomPropsDefinition {
/**
* export name
*/
[key: string]: {
/**
* component property name
*/
identifier: string;
/**
* component property label
*/
name?: string;
/**
* component property description
*/
description?: string;
'description.zh-CN'?: string;
'description.en-US'?: string;
/**
* component property type
*/
type: string;
/**
* component property default value
*/
default?: string;
/**
* property whether required
*/
required?: true;
}[];
}
export default interface AtomAsset {

@@ -25,5 +59,5 @@ /**

/**
* TODO: the API spec of atom asset
* the API spec of atom asset
*/
props: any;
props: AtomPropsDefinition;
}

@@ -6,2 +6,3 @@ import AtomAsset from './atom';

export { default as ExampleAsset } from './example';
export * from './atom';
export * from './example';

@@ -8,0 +9,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc