pragma-schema
Advanced tools
Comparing version 1.0.53 to 1.0.55
{ | ||
"name": "pragma-schema", | ||
"version": "1.0.53", | ||
"version": "1.0.55", | ||
"description": "utility for building pragma schema structures", | ||
@@ -5,0 +5,0 @@ "main": "commonjs/src/schema.js", |
class IdObject { | ||
id; | ||
constructor(id) { | ||
@@ -10,6 +8,2 @@ this.id = id; | ||
export class Perspective extends IdObject { | ||
name; | ||
data; | ||
views; | ||
constructor(id, name, idField, cache, aggregate, grouping, sorting) { | ||
@@ -40,7 +34,2 @@ super(id); | ||
export class PerspectiveData { | ||
cache; | ||
aggregate; | ||
grouping; | ||
sorting; | ||
constructor(cache, aggregate, grouping, sorting) { | ||
@@ -55,8 +44,2 @@ this.cache = cache; | ||
export class Lookup extends IdObject { | ||
name; | ||
mapping; | ||
perspective; | ||
template; | ||
remote; | ||
constructor(id, name, perspective, template, remote) { | ||
@@ -77,6 +60,2 @@ super(id); | ||
export class Column { | ||
field; | ||
title; | ||
width; | ||
constructor(field, title, width) { | ||
@@ -104,6 +83,2 @@ this.field = field; | ||
export class View extends IdObject { | ||
name; | ||
type; | ||
columns; | ||
constructor(id, name, type) { | ||
@@ -148,5 +123,2 @@ super(id); | ||
export class Validation { | ||
type; | ||
rules; | ||
constructor(type) { | ||
@@ -181,7 +153,2 @@ this.type = type; | ||
export class Field { | ||
name; | ||
lookup; | ||
preview; | ||
validations; | ||
constructor(name, lookup, preview) { | ||
@@ -214,5 +181,2 @@ this.name = name; | ||
export class Dataset extends IdObject { | ||
name; | ||
fields; | ||
constructor(id, name) { | ||
@@ -242,5 +206,2 @@ super(id); | ||
export class Template extends IdObject { | ||
name; | ||
elements; | ||
constructor(id, name) { | ||
@@ -269,5 +230,2 @@ super(id); | ||
export class DataSource extends IdObject { | ||
id; | ||
reference; | ||
constructor(id) { | ||
@@ -284,4 +242,2 @@ super(id); | ||
export class Preview extends IdObject { | ||
remote; | ||
constructor(id, remote, lookupField, datasetField) { | ||
@@ -311,5 +267,2 @@ super(id); | ||
export class ResourceDataSource { | ||
id; | ||
resource; | ||
constructor(id) { | ||
@@ -329,5 +282,2 @@ this.id = id; | ||
export class ResourceDataSourceItem extends IdObject { | ||
id; | ||
title; | ||
constructor(id) { | ||
@@ -396,5 +346,2 @@ super(id); | ||
export class Action extends IdObject { | ||
action; | ||
parameters; | ||
constructor(id, action, parameters) { | ||
@@ -416,4 +363,2 @@ super(id); | ||
export class Variables { | ||
translations; | ||
constructor() { | ||
@@ -425,12 +370,2 @@ this.translations = new Translations() | ||
export class Schema { | ||
variables; | ||
type; | ||
perspectives; | ||
lookups; | ||
previews; | ||
datasets; | ||
datasources; | ||
body; | ||
templates; | ||
constructor(type) { | ||
@@ -437,0 +372,0 @@ this.type = type; |
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
0
15432
471