@qelos/global-types 3.5.4 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/blueprint.ts CHANGED
@@ -9,7 +9,8 @@ export enum BlueprintPropertyType {
9
9
  BOOLEAN = 'boolean',
10
10
  DATE = 'date',
11
11
  DATETIME = 'datetime',
12
- TIME = 'time'
12
+ TIME = 'time',
13
+ OBJECT = 'object'
13
14
  }
14
15
 
15
16
  export enum PermissionScope {
@@ -41,6 +42,7 @@ export interface IBlueprintPropertyDescriptor {
41
42
  multi?: boolean,
42
43
  min?: number,
43
44
  max?: number,
45
+ schema?: any;
44
46
  }
45
47
 
46
48
  export interface IBlueprint {
@@ -54,6 +56,11 @@ export interface IBlueprint {
54
56
  properties: Record<string, IBlueprintPropertyDescriptor>,
55
57
  updateMapping: Record<string, string>,
56
58
  relations: { key: string, target: string }[],
59
+ dispatchers: {
60
+ create: boolean,
61
+ update: boolean,
62
+ delete: boolean
63
+ }
57
64
  created: Date;
58
65
  updated: Date;
59
66
  }
package/index.ts CHANGED
@@ -3,6 +3,7 @@ export * from './injectable'
3
3
  export * from './event-subscriber'
4
4
  export * from './plugin'
5
5
  export * from './micro-frontend'
6
- export * from './scree-requirement'
6
+ export * from './screen-requirement'
7
7
  export * from './navbar-group'
8
- export * from './plugin-crud'
8
+ export * from './plugin-crud'
9
+ export * from './query-filters'
package/micro-frontend.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { IScreenRequirement } from './scree-requirement';
1
+ import { IScreenRequirement } from './screen-requirement';
2
2
 
3
3
  export interface IMicroFrontend {
4
+ _id?: string;
4
5
  name: string;
5
6
  description: string;
6
7
  url: string;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@qelos/global-types",
3
- "version": "3.5.4",
3
+ "version": "3.6.0",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
7
7
  "scripts": {},
8
8
  "author": "",
9
- "gitHead": "a952292a7de503674aac40136fb448dc6350e55a",
9
+ "gitHead": "39b2fa866a0e758c3d5ac54ed6095679e2ab3d5e",
10
10
  "license": "MIT",
11
11
  "publishConfig": {
12
12
  "access": "public"
@@ -0,0 +1,4 @@
1
+
2
+ export interface ICommonQueryFilters {
3
+ $populate?: boolean;
4
+ }
@@ -3,13 +3,17 @@ export interface IScreenRequirement {
3
3
  fromHTTP?: {
4
4
  uri: string,
5
5
  method: string,
6
+ query?: any,
6
7
  },
7
8
  fromCrud?: {
8
9
  name: string,
9
10
  identifier?: string,
11
+ query?: any,
10
12
  },
11
13
  fromBlueprint?: {
12
14
  name: string,
13
15
  identifier?: string,
14
- }
16
+ query?: any,
17
+ },
18
+ fromData?: any;
15
19
  }
package/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export * from './blueprint';
2
- export * from './injectable';
3
- export * from './event-subscriber';
4
- export * from './plugin';
5
- export * from './micro-frontend';
6
- export * from './navbar-group';
7
- export * from './plugin-crud';
package/index.js DELETED
@@ -1,8 +0,0 @@
1
- export * from './blueprint';
2
- export * from './injectable';
3
- export * from './event-subscriber';
4
- export * from './plugin';
5
- export * from './micro-frontend';
6
- export * from './navbar-group';
7
- export * from './plugin-crud';
8
- //# sourceMappingURL=index.js.map
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA"}