@things-factory/lite-menu 7.0.1-alpha.77 → 7.0.1-alpha.78

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/lite-menu",
3
- "version": "7.0.1-alpha.77",
3
+ "version": "7.0.1-alpha.78",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,13 +40,13 @@
40
40
  "@operato/styles": "^2.0.0-alpha.0",
41
41
  "@operato/utils": "^2.0.0-alpha.0",
42
42
  "@things-factory/apptool-base": "^7.0.1-alpha.71",
43
- "@things-factory/auth-base": "^7.0.1-alpha.77",
44
- "@things-factory/board-service": "^7.0.1-alpha.77",
45
- "@things-factory/board-ui": "^7.0.1-alpha.77",
43
+ "@things-factory/auth-base": "^7.0.1-alpha.78",
44
+ "@things-factory/board-service": "^7.0.1-alpha.78",
45
+ "@things-factory/board-ui": "^7.0.1-alpha.78",
46
46
  "@things-factory/more-base": "^7.0.1-alpha.71",
47
- "@things-factory/personalization": "^7.0.1-alpha.77",
48
- "@things-factory/setting-base": "^7.0.1-alpha.77",
47
+ "@things-factory/personalization": "^7.0.1-alpha.78",
48
+ "@things-factory/setting-base": "^7.0.1-alpha.78",
49
49
  "@things-factory/utils": "^7.0.1-alpha.71"
50
50
  },
51
- "gitHead": "e65893063c79d82a3c67233eac2295de2bae8397"
51
+ "gitHead": "6423c664e70e7877c362b4aebb7f169e4a2ad22d"
52
52
  }
@@ -1,5 +1,14 @@
1
1
  import { Field, ID, Int, ObjectType } from 'type-graphql'
2
- import { Column, CreateDateColumn, Entity, Index, ManyToOne, PrimaryGeneratedColumn, RelationId, UpdateDateColumn } from 'typeorm'
2
+ import {
3
+ Column,
4
+ CreateDateColumn,
5
+ Entity,
6
+ Index,
7
+ ManyToOne,
8
+ PrimaryGeneratedColumn,
9
+ RelationId,
10
+ UpdateDateColumn
11
+ } from 'typeorm'
3
12
 
4
13
  import { PrivilegeObject, User } from '@things-factory/auth-base'
5
14
  import { Board } from '@things-factory/board-service'
@@ -17,7 +26,7 @@ export class LiteMenu {
17
26
  readonly id: string
18
27
 
19
28
  @ManyToOne(type => Domain)
20
- @Field({ nullable: true })
29
+ @Field(type => Domain)
21
30
  domain?: Domain
22
31
 
23
32
  @RelationId((liteMenu: LiteMenu) => liteMenu.domain)