@things-factory/integration-sellercraft 7.0.1-alpha.77 → 7.0.1-alpha.79

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/integration-sellercraft",
3
- "version": "7.0.1-alpha.77",
3
+ "version": "7.0.1-alpha.79",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -25,17 +25,17 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@operato/data-grist": "^2.0.0-alpha.0",
28
- "@things-factory/apptool-ui": "^7.0.1-alpha.77",
29
- "@things-factory/auth-ui": "^7.0.1-alpha.77",
30
- "@things-factory/biz-base": "^7.0.1-alpha.77",
31
- "@things-factory/code-ui": "^7.0.1-alpha.77",
32
- "@things-factory/context-ui": "^7.0.1-alpha.71",
28
+ "@things-factory/apptool-ui": "^7.0.1-alpha.79",
29
+ "@things-factory/auth-ui": "^7.0.1-alpha.79",
30
+ "@things-factory/biz-base": "^7.0.1-alpha.78",
31
+ "@things-factory/code-ui": "^7.0.1-alpha.79",
32
+ "@things-factory/context-ui": "^7.0.1-alpha.79",
33
33
  "@things-factory/i18n-base": "^7.0.1-alpha.77",
34
- "@things-factory/integration-marketplace": "^7.0.1-alpha.77",
35
- "@things-factory/integration-ui": "^7.0.1-alpha.77",
36
- "@things-factory/more-ui": "^7.0.1-alpha.71",
37
- "@things-factory/resource-ui": "^7.0.1-alpha.77",
38
- "@things-factory/setting-ui": "^7.0.1-alpha.77",
34
+ "@things-factory/integration-marketplace": "^7.0.1-alpha.79",
35
+ "@things-factory/integration-ui": "^7.0.1-alpha.79",
36
+ "@things-factory/more-ui": "^7.0.1-alpha.79",
37
+ "@things-factory/resource-ui": "^7.0.1-alpha.79",
38
+ "@things-factory/setting-ui": "^7.0.1-alpha.79",
39
39
  "debug": "^4.1.1",
40
40
  "node-fetch": "^2.6.0",
41
41
  "querystring": "^0.2.1"
@@ -50,5 +50,5 @@
50
50
  "nock": "^13.0.2",
51
51
  "should": "^13.2.3"
52
52
  },
53
- "gitHead": "e65893063c79d82a3c67233eac2295de2bae8397"
53
+ "gitHead": "b5b88ed7abdb33839beecf802f85976bc39dfaa1"
54
54
  }
@@ -14,7 +14,11 @@ import { User } from '@things-factory/auth-base'
14
14
  import { Domain } from '@things-factory/shell'
15
15
 
16
16
  @Entity()
17
- @Index('ix_marketplace_channel_0 ', (marketplaceChannel: MarketplaceChannel) => [marketplaceChannel.domain, marketplaceChannel.name], { unique: true })
17
+ @Index(
18
+ 'ix_marketplace_channel_0 ',
19
+ (marketplaceChannel: MarketplaceChannel) => [marketplaceChannel.domain, marketplaceChannel.name],
20
+ { unique: true }
21
+ )
18
22
  @ObjectType({ description: 'Entity for Marketplace Channel' })
19
23
  export class MarketplaceChannel {
20
24
  @PrimaryGeneratedColumn('uuid')
@@ -22,7 +26,7 @@ export class MarketplaceChannel {
22
26
  readonly id: string
23
27
 
24
28
  @ManyToOne(type => Domain)
25
- @Field({ nullable: true })
29
+ @Field(type => Domain)
26
30
  domain?: Domain
27
31
 
28
32
  @RelationId((marketplaceChannel: MarketplaceChannel) => marketplaceChannel.domain)
@@ -42,7 +42,7 @@ export class Sellercraft {
42
42
  readonly id: string
43
43
 
44
44
  @ManyToOne(type => Domain)
45
- @Field({ nullable: true })
45
+ @Field(type => Domain)
46
46
  domain?: Domain
47
47
 
48
48
  @RelationId((sellercraft: Sellercraft) => sellercraft.domain)