@hatiolab/things-scene 3.3.23 → 3.3.24

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/db.sqlite CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "3.3.23",
3
+ "version": "3.3.24",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
@@ -80,6 +80,7 @@
80
80
  "homepage": "https://github.com/hatiolab/things-scene#readme",
81
81
  "dependencies": {
82
82
  "@wizpanda/super-gif": "^0.0.6",
83
+ "canvas-roundrect-polyfill": "^0.0.1",
83
84
  "core-js": "^3.26.0",
84
85
  "jsonata": "^1.8.6",
85
86
  "lodash-es": "^4.17.20"
package/schema.gql CHANGED
@@ -662,6 +662,7 @@ input DomainUserRoleInput {
662
662
  type Employee {
663
663
  active: Boolean
664
664
  address: String!
665
+ alias: String
665
666
  approvalLines: [ApprovalLine!]!
666
667
  contact: Contact
667
668
  controlNo: String!
@@ -674,12 +675,15 @@ type Employee {
674
675
  extension: String
675
676
  hiredOn: String
676
677
  id: ID!
678
+ jobPosition: String
679
+ jobResponsibility: String
677
680
  manages: [Department!]!
678
681
  name: String
679
682
  note: String
680
683
  phone: String
681
684
  photo: String
682
685
  profile: Profile
686
+ retiredAt: String
683
687
  supervises: [Employee!]!
684
688
  supervisor: Employee
685
689
  type: String
@@ -696,14 +700,18 @@ type EmployeeList {
696
700
 
697
701
  input EmployeePatch {
698
702
  active: Boolean
703
+ alias: String
699
704
  controlNo: String
700
705
  cuFlag: String
701
706
  department: ObjectRef
702
707
  hiredOn: String
703
708
  id: ID
709
+ jobPosition: String
710
+ jobResponsibility: String
704
711
  name: String
705
712
  note: String
706
713
  photo: Upload
714
+ retiredAt: String
707
715
  supervisor: ObjectRefForEmployee
708
716
  type: EmployeeType
709
717
  user: ObjectRefForUser
@@ -1498,6 +1506,9 @@ type Mutation {
1498
1506
  """To create new PlayGroup"""
1499
1507
  createPlayGroup(playGroup: NewPlayGroup!): PlayGroup!
1500
1508
 
1509
+ """To create new PrinterDevice"""
1510
+ createPrinterDevice(printerDevice: NewPrinterDevice!): PrinterDevice!
1511
+
1501
1512
  """To create new privilege"""
1502
1513
  createPrivilege(privilege: NewPrivilege!): Privilege!
1503
1514
 
@@ -1684,6 +1695,12 @@ type Mutation {
1684
1695
  """To delete PlayGroup"""
1685
1696
  deletePlayGroup(id: String!): Boolean!
1686
1697
 
1698
+ """To delete PrinterDevice"""
1699
+ deletePrinterDevice(id: String!): Boolean!
1700
+
1701
+ """To delete multiple printerDevices"""
1702
+ deletePrinterDevices(ids: [String!]!): Boolean!
1703
+
1687
1704
  """To delete privilege"""
1688
1705
  deletePrivilege(category: String!, name: String!): Boolean!
1689
1706
 
@@ -1964,6 +1981,9 @@ type Mutation {
1964
1981
  """To modify multiple PayloadLogs' information"""
1965
1982
  updateMultiplePayloadLog(patches: [PayloadLogPatch!]!): [PayloadLog!]!
1966
1983
 
1984
+ """To modify multiple PrinterDevices' information"""
1985
+ updateMultiplePrinterDevice(patches: [PrinterDevicePatch!]!): [PrinterDevice!]!
1986
+
1967
1987
  """To modify multiple scenarios' information"""
1968
1988
  updateMultipleScenario(patches: [ScenarioPatch!]!): [Scenario!]!
1969
1989
 
@@ -2000,6 +2020,9 @@ type Mutation {
2000
2020
  """To modify PlayGroup information"""
2001
2021
  updatePlayGroup(id: String!, patch: PlayGroupPatch!): PlayGroup!
2002
2022
 
2023
+ """To modify PrinterDevice information"""
2024
+ updatePrinterDevice(id: String!, patch: PrinterDevicePatch!): PrinterDevice!
2025
+
2003
2026
  """To modify privilege information"""
2004
2027
  updatePrivilege(category: String!, name: String!, patch: PrivilegePatch!): Privilege!
2005
2028
 
@@ -2137,13 +2160,17 @@ input NewDepartment {
2137
2160
 
2138
2161
  input NewEmployee {
2139
2162
  active: Boolean
2163
+ alias: String
2140
2164
  controlNo: String!
2141
2165
  department: ObjectRef
2142
2166
  extension: String
2143
2167
  hiredOn: String
2168
+ jobPosition: String
2169
+ jobResponsibility: String
2144
2170
  name: String!
2145
2171
  note: String
2146
2172
  photo: Upload
2173
+ retiredAt: String
2147
2174
  supervisor: ObjectRefForEmployee
2148
2175
  type: EmployeeType
2149
2176
  user: ObjectRefForUser
@@ -2420,6 +2447,24 @@ input NewPlayGroup {
2420
2447
  name: String!
2421
2448
  }
2422
2449
 
2450
+ input NewPrinterDevice {
2451
+ activeFlag: Boolean
2452
+ defaultFlag: Boolean
2453
+ description: String!
2454
+ dpi: Int
2455
+ jobCategory: String
2456
+ jobClass: String
2457
+ jobType: String
2458
+ name: String!
2459
+ note: String
2460
+ printerDriver: String
2461
+ printerIp: String
2462
+ printerPort: Int
2463
+ serviceUrl: String
2464
+ status: String
2465
+ type: String
2466
+ }
2467
+
2423
2468
  input NewPrivilege {
2424
2469
  category: String!
2425
2470
  description: String
@@ -2459,6 +2504,7 @@ input NewTerminology {
2459
2504
  }
2460
2505
 
2461
2506
  input NewTheme {
2507
+ active: Boolean
2462
2508
  description: String
2463
2509
  name: String!
2464
2510
  type: String
@@ -2656,9 +2702,11 @@ input ObjectRefForEmployee {
2656
2702
  """Field description"""
2657
2703
  description: String
2658
2704
  email: String
2705
+ hiredOn: String
2659
2706
 
2660
2707
  """Field id"""
2661
2708
  id: ID!
2709
+ jobPosition: String
2662
2710
 
2663
2711
  """Field name"""
2664
2712
  name: String
@@ -2809,6 +2857,56 @@ input PlayGroupPatch {
2809
2857
  name: String
2810
2858
  }
2811
2859
 
2860
+ """Entity for PrinterDevice"""
2861
+ type PrinterDevice {
2862
+ activeFlag: Boolean
2863
+ createdAt: Timestamp
2864
+ creator: User
2865
+ defaultFlag: Boolean
2866
+ description: String!
2867
+ domain: Domain!
2868
+ dpi: Int
2869
+ id: ID!
2870
+ jobCategory: String
2871
+ jobClass: String
2872
+ jobType: String
2873
+ name: String!
2874
+ note: String
2875
+ printerDriver: String
2876
+ printerIp: String
2877
+ printerPort: Int
2878
+ serviceUrl: String
2879
+ status: String
2880
+ type: String!
2881
+ updatedAt: Timestamp
2882
+ updater: User
2883
+ }
2884
+
2885
+ type PrinterDeviceList {
2886
+ items: [PrinterDevice!]!
2887
+ total: Int!
2888
+ }
2889
+
2890
+ input PrinterDevicePatch {
2891
+ activeFlag: Boolean
2892
+ cuFlag: String!
2893
+ defaultFlag: Boolean
2894
+ description: String
2895
+ dpi: Int
2896
+ id: ID
2897
+ jobCategory: String
2898
+ jobClass: String
2899
+ jobType: String
2900
+ name: String
2901
+ note: String
2902
+ printerDriver: String
2903
+ printerIp: String
2904
+ printerPort: Int
2905
+ serviceUrl: String
2906
+ status: String
2907
+ type: String
2908
+ }
2909
+
2812
2910
  type Privilege {
2813
2911
  category: String
2814
2912
  createdAt: Timestamp
@@ -3136,6 +3234,12 @@ type Query {
3136
3234
  """To fetch multiple PlayGroups"""
3137
3235
  playGroups(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PlayGroupList!
3138
3236
 
3237
+ """To fetch a PrinterDevice"""
3238
+ printerDevice(id: String!): PrinterDevice!
3239
+
3240
+ """To fetch multiple PrinterDevices"""
3241
+ printerDevices(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PrinterDeviceList!
3242
+
3139
3243
  """To fetch privilege"""
3140
3244
  privilege(category: String!, name: String!): Privilege!
3141
3245
 
@@ -3482,6 +3586,7 @@ input TerminologyPatch {
3482
3586
 
3483
3587
  """Entity for Theme"""
3484
3588
  type Theme {
3589
+ active: Boolean
3485
3590
  createdAt: Timestamp
3486
3591
  creator: User
3487
3592
  deletedAt: Timestamp
@@ -3501,6 +3606,7 @@ type ThemeList {
3501
3606
  }
3502
3607
 
3503
3608
  input ThemePatch {
3609
+ active: Boolean
3504
3610
  cuFlag: String
3505
3611
  description: String
3506
3612
  id: ID
package/src/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import 'core-js/stable'
2
2
  import 'regenerator-runtime/runtime'
3
+ import 'canvas-roundrect-polyfill'
3
4
 
4
5
  export * from './things-scene'