@things-factory/integration-sellercraft 7.0.1-alpha.9 → 7.0.1-alpha.92

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.9",
3
+ "version": "7.0.1-alpha.92",
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.9",
29
- "@things-factory/auth-ui": "^7.0.1-alpha.9",
30
- "@things-factory/biz-base": "^7.0.1-alpha.9",
31
- "@things-factory/code-ui": "^7.0.1-alpha.9",
32
- "@things-factory/context-ui": "^7.0.1-alpha.9",
33
- "@things-factory/i18n-base": "^7.0.1-alpha.9",
34
- "@things-factory/integration-marketplace": "^7.0.1-alpha.9",
35
- "@things-factory/integration-ui": "^7.0.1-alpha.9",
36
- "@things-factory/more-ui": "^7.0.1-alpha.9",
37
- "@things-factory/resource-ui": "^7.0.1-alpha.9",
38
- "@things-factory/setting-ui": "^7.0.1-alpha.9",
28
+ "@things-factory/apptool-ui": "^7.0.1-alpha.92",
29
+ "@things-factory/auth-ui": "^7.0.1-alpha.92",
30
+ "@things-factory/biz-base": "^7.0.1-alpha.92",
31
+ "@things-factory/code-ui": "^7.0.1-alpha.92",
32
+ "@things-factory/context-ui": "^7.0.1-alpha.90",
33
+ "@things-factory/i18n-base": "^7.0.1-alpha.92",
34
+ "@things-factory/integration-marketplace": "^7.0.1-alpha.92",
35
+ "@things-factory/integration-ui": "^7.0.1-alpha.92",
36
+ "@things-factory/more-ui": "^7.0.1-alpha.90",
37
+ "@things-factory/resource-ui": "^7.0.1-alpha.92",
38
+ "@things-factory/setting-ui": "^7.0.1-alpha.92",
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": "e77082517f5483704f1e884cbc81b7f94c0eec15"
53
+ "gitHead": "9cd59ab35277b7c8ac1e3677beb4bdca89a97980"
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)