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

@lcem/meta-schemas

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lcem/meta-schemas - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

src/types/block.d.ts

5

package.json
{
"name": "@lcem/meta-schemas",
"license": "MIT",
"version": "0.10.0",
"version": "0.10.1",
"types": "src/types/index.d.ts",

@@ -11,3 +11,2 @@ "publishConfig": {

"clean": "rm -rf generated/ dist/",
"generate": "mkdir -p generated/ && cd src && json2ts -i '*.json' -o generated/",
"lint": "eslint 'src/**/*.{js,ts,json}'",

@@ -26,4 +25,4 @@ "test": "jest",

"fs-extra": "^10.0.0",
"json-schema-to-typescript": "^10.1.4"
"json-schema-to-typescript": "^11.0.2"
}
}

7

src/types/index.d.ts

@@ -1,6 +0,5 @@

export * from './view';
export * from './renderers';
export * from './legacy/index';
export * from './json';
export * from './block';
export * from './type';
export * from './schema';
export * from './shape';
export * from './view';

@@ -1,13 +0,18 @@

import { View } from './view';
import { Json } from './json';
import { Renderers } from './renderers';
import { View2 } from './view';
export interface DeclarativeType {
view?: View;
schema: Json;
renderers?: Renderers;
export type PropertyRenderers = Record<string, View2>;
export interface PropertySheetConfig {
propertyRenderers: PropertyRenderers;
view: View2;
}
export interface DeclarativeTypeMap {
[index: string]: DeclarativeType;
export interface DesignConfig {
propertySheet: PropertySheetConfig;
inlineEditor?: View2;
}
export interface TypeBundle {
schema: Json;
design?: DesignConfig;
}

@@ -1,32 +0,7 @@

/* tslint:disable */ /* eslint-disable */
import { Schema } from './schema';
import { JsonValue } from './json';
export interface RegionMap {
[k: string]: Region;
}
export interface DataProvider {
type: string;
properties: Record<string, JsonValue>;
}
export interface Region {
name?: string;
components: Component[];
}
export interface Component {
export interface View2 {
definition: string;
label?: string;
description?: string;
name?: string;
schema?: Schema;
properties?: Record<string, JsonValue>;
dataProviders?: Record<string, DataProvider>;
regions?: Record<string, Region>;
components?: Component[];
attributes?: Record<string, JsonValue>;
children?: View2[];
}
export type View = Component;
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