@things-factory/meta-ui 7.0.1-alpha.93 → 7.0.1-alpha.95

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/meta-ui",
3
- "version": "7.0.1-alpha.93",
3
+ "version": "7.0.1-alpha.95",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -41,15 +41,15 @@
41
41
  "@operato/styles": "^2.0.0-alpha.0",
42
42
  "@operato/time-calculator": "^2.0.0-alpha.0",
43
43
  "@operato/utils": "^2.0.0-alpha.0",
44
- "@things-factory/auth-base": "^7.0.1-alpha.93",
44
+ "@things-factory/auth-base": "^7.0.1-alpha.94",
45
45
  "@things-factory/env": "^7.0.1-alpha.71",
46
- "@things-factory/id-rule-base": "^7.0.1-alpha.93",
47
- "@things-factory/menu-base": "^7.0.1-alpha.93",
48
- "@things-factory/personalization": "^7.0.1-alpha.93",
49
- "@things-factory/resource-base": "^7.0.1-alpha.93",
46
+ "@things-factory/id-rule-base": "^7.0.1-alpha.94",
47
+ "@things-factory/menu-base": "^7.0.1-alpha.94",
48
+ "@things-factory/personalization": "^7.0.1-alpha.94",
49
+ "@things-factory/resource-base": "^7.0.1-alpha.94",
50
50
  "@things-factory/shell": "^7.0.1-alpha.93",
51
- "@things-factory/worklist": "^7.0.1-alpha.93",
51
+ "@things-factory/worklist": "^7.0.1-alpha.95",
52
52
  "moment-timezone": "^0.5.45"
53
53
  },
54
- "gitHead": "50cb52ff55459ed050508abea46b15e24973dd53"
54
+ "gitHead": "1992ed09d75a5f9eab8ec714d737dd4e87b53672"
55
55
  }
@@ -1,4 +1,3 @@
1
-
2
1
  import {
3
2
  CreateDateColumn,
4
3
  UpdateDateColumn,
@@ -16,7 +15,7 @@ import { Domain } from '@things-factory/shell'
16
15
  import { User } from '@things-factory/auth-base'
17
16
 
18
17
  @Entity('button_roles')
19
- @Index('ix_button_role_0', (buttonRole: ButtonRole) => [buttonRole.domain, buttonRole.name ], { unique: true })
18
+ @Index('ix_button_role_0', (buttonRole: ButtonRole) => [buttonRole.domain, buttonRole.name], { unique: true })
20
19
  @ObjectType({ description: 'Entity for ButtonRole' })
21
20
  export class ButtonRole {
22
21
  @PrimaryGeneratedColumn('uuid')
@@ -32,7 +31,7 @@ export class ButtonRole {
32
31
  description: string
33
32
 
34
33
  @ManyToOne(type => Domain)
35
- @Field({ nullable: false })
34
+ @Field(type => Domain, { nullable: false })
36
35
  domain: Domain
37
36
 
38
37
  @RelationId((buttonRole: ButtonRole) => buttonRole.domain)
@@ -1,4 +1,3 @@
1
-
2
1
  import {
3
2
  CreateDateColumn,
4
3
  UpdateDateColumn,
@@ -18,8 +17,14 @@ import { Menu } from '@things-factory/menu-base'
18
17
  import { ButtonRole } from './../button-role/button-role'
19
18
 
20
19
  @Entity('menu_button_auth')
21
- @Index('ix_menu_button_auth_0', (menuButtonAuth: MenuButtonAuth) => [menuButtonAuth.domain, menuButtonAuth.role, menuButtonAuth.menu ], { unique: true })
22
- @Index('ix_menu_button_auth_1', (menuButtonAuth: MenuButtonAuth) => [menuButtonAuth.domain, menuButtonAuth.role ], { unique: false })
20
+ @Index(
21
+ 'ix_menu_button_auth_0',
22
+ (menuButtonAuth: MenuButtonAuth) => [menuButtonAuth.domain, menuButtonAuth.role, menuButtonAuth.menu],
23
+ { unique: true }
24
+ )
25
+ @Index('ix_menu_button_auth_1', (menuButtonAuth: MenuButtonAuth) => [menuButtonAuth.domain, menuButtonAuth.role], {
26
+ unique: false
27
+ })
23
28
  @ObjectType({ description: 'Entity for MenuButtonAuth' })
24
29
  export class MenuButtonAuth {
25
30
  @PrimaryGeneratedColumn('uuid')
@@ -40,24 +45,24 @@ export class MenuButtonAuth {
40
45
  @RelationId((menuButtonAuth: MenuButtonAuth) => menuButtonAuth.menu)
41
46
  menuId: string
42
47
 
43
- @Column({ name:'select_auth', type:'boolean', nullable:true ,default:false})
44
- @Field( { nullable:true })
48
+ @Column({ name: 'select_auth', type: 'boolean', nullable: true, default: false })
49
+ @Field({ nullable: true })
45
50
  selectAuth?: boolean
46
51
 
47
- @Column({ name:'create_auth', type:'boolean', nullable:true ,default:false})
48
- @Field( { nullable:true })
52
+ @Column({ name: 'create_auth', type: 'boolean', nullable: true, default: false })
53
+ @Field({ nullable: true })
49
54
  createAuth?: boolean
50
55
 
51
- @Column({ name:'update_auth', type:'boolean', nullable:true ,default:false})
52
- @Field( { nullable:true })
56
+ @Column({ name: 'update_auth', type: 'boolean', nullable: true, default: false })
57
+ @Field({ nullable: true })
53
58
  updateAuth?: boolean
54
59
 
55
- @Column({ name:'delete_auth', type:'boolean', nullable:true ,default:false})
56
- @Field( { nullable:true })
60
+ @Column({ name: 'delete_auth', type: 'boolean', nullable: true, default: false })
61
+ @Field({ nullable: true })
57
62
  deleteAuth?: boolean
58
63
 
59
64
  @ManyToOne(type => Domain)
60
- @Field({ nullable: false })
65
+ @Field(type => Domain, { nullable: false })
61
66
  domain: Domain
62
67
 
63
68
  @RelationId((menuButtonAuth: MenuButtonAuth) => menuButtonAuth.domain)