@lcem/meta-schemas
Advanced tools
Comparing version 0.10.0 to 0.10.1
{ | ||
"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" | ||
} | ||
} |
@@ -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; |
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
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
65731
117
2433