@things-factory/warehouse-base 6.2.155 → 6.2.157

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/warehouse-base",
3
- "version": "6.2.155",
3
+ "version": "6.2.157",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,12 +24,12 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/biz-base": "^6.2.155",
28
- "@things-factory/id-rule-base": "^6.2.155",
29
- "@things-factory/integration-sellercraft": "^6.2.155",
30
- "@things-factory/marketplace-base": "^6.2.155",
31
- "@things-factory/product-base": "^6.2.155",
32
- "@things-factory/setting-base": "^6.2.155"
27
+ "@things-factory/biz-base": "^6.2.157",
28
+ "@things-factory/id-rule-base": "^6.2.157",
29
+ "@things-factory/integration-sellercraft": "^6.2.157",
30
+ "@things-factory/marketplace-base": "^6.2.157",
31
+ "@things-factory/product-base": "^6.2.157",
32
+ "@things-factory/setting-base": "^6.2.157"
33
33
  },
34
- "gitHead": "7276515922bf5eccf80bf5bcd8c8ff9df8048dab"
34
+ "gitHead": "bbed93caeb5ae83581ada0e186095ba74909d11d"
35
35
  }
@@ -23,6 +23,9 @@ export class NewPallet {
23
23
 
24
24
  @Field({ nullable: true })
25
25
  type?: string
26
+
27
+ @Field({ nullable: true })
28
+ isPrinted?: boolean
26
29
  }
27
30
 
28
31
  @ObjectType()
@@ -60,6 +63,9 @@ export class PalletPatch {
60
63
  @Field({ nullable: true })
61
64
  type?: string
62
65
 
66
+ @Field({ nullable: true })
67
+ isPrinted?: boolean
68
+
63
69
  @Field({ nullable: true })
64
70
  cuFlag?: string
65
71
  }
@@ -1,16 +1,5 @@
1
1
  import { Field, Int, ObjectType } from 'type-graphql'
2
- import {
3
- Column,
4
- CreateDateColumn,
5
- Entity,
6
- Index,
7
- JoinColumn,
8
- ManyToOne,
9
- OneToOne,
10
- PrimaryGeneratedColumn,
11
- RelationId,
12
- UpdateDateColumn
13
- } from 'typeorm'
2
+ import { Column, CreateDateColumn, Entity, Index, JoinColumn, ManyToOne, OneToOne, PrimaryGeneratedColumn, RelationId, UpdateDateColumn } from 'typeorm'
14
3
 
15
4
  import { User } from '@things-factory/auth-base'
16
5
  import { Bizplace } from '@things-factory/biz-base'
@@ -71,6 +60,10 @@ export class Pallet {
71
60
  @Field({ nullable: true })
72
61
  type?: string = 'NORMAL'
73
62
 
63
+ @Column({ nullable: true, default: false })
64
+ @Field({ nullable: true })
65
+ isPrinted?: boolean = false
66
+
74
67
  @CreateDateColumn()
75
68
  @Field({ nullable: true })
76
69
  createdAt: Date