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 2.0.0-alpha.0 to 2.3.0-rc.0

typings/atom/index.d.ts

2

package.json
{
"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 @@ };

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