@be-logixpair/api 0.0.17 → 0.0.18

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +51 -57
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -5733,7 +5733,8 @@ declare const appRouter: BuiltRouter<{
5733
5733
  };
5734
5734
  output: {
5735
5735
  data: {
5736
- dangerous_good_rules: ({
5736
+ dangerous_good_rules: {
5737
+ rules_data: Record<string, unknown>;
5737
5738
  dg_standard: {
5738
5739
  is_active: boolean | null;
5739
5740
  id: number;
@@ -5745,7 +5746,6 @@ declare const appRouter: BuiltRouter<{
5745
5746
  updated_by: string | null;
5746
5747
  code: string | null;
5747
5748
  } | null;
5748
- } & {
5749
5749
  is_active: boolean | null;
5750
5750
  id: number;
5751
5751
  logic_code: string | null;
@@ -5755,8 +5755,7 @@ declare const appRouter: BuiltRouter<{
5755
5755
  updated_by: string | null;
5756
5756
  id_dg_standard: number | null;
5757
5757
  id_dangerous_good: number | null;
5758
- rules_data: JsonValue$1 | null;
5759
- })[];
5758
+ }[];
5760
5759
  dg_class: {
5761
5760
  is_active: boolean | null;
5762
5761
  id: number;
@@ -5779,7 +5778,6 @@ declare const appRouter: BuiltRouter<{
5779
5778
  updated_by: string | null;
5780
5779
  code: string | null;
5781
5780
  } | null;
5782
- } & {
5783
5781
  is_active: boolean | null;
5784
5782
  id: number;
5785
5783
  logic_code: string | null;
@@ -6504,7 +6502,8 @@ declare const appRouter: BuiltRouter<{
6504
6502
  ids_dg_standard?: number[] | null | undefined;
6505
6503
  };
6506
6504
  output: {
6507
- data: ({
6505
+ data: {
6506
+ rules_data: Record<string, unknown>;
6508
6507
  dangerous_good: {
6509
6508
  is_active: boolean | null;
6510
6509
  id: number;
@@ -6529,7 +6528,6 @@ declare const appRouter: BuiltRouter<{
6529
6528
  updated_by: string | null;
6530
6529
  code: string | null;
6531
6530
  } | null;
6532
- } & {
6533
6531
  is_active: boolean | null;
6534
6532
  id: number;
6535
6533
  logic_code: string | null;
@@ -6539,8 +6537,7 @@ declare const appRouter: BuiltRouter<{
6539
6537
  updated_by: string | null;
6540
6538
  id_dg_standard: number | null;
6541
6539
  id_dangerous_good: number | null;
6542
- rules_data: JsonValue$1 | null;
6543
- })[] | undefined;
6540
+ }[] | undefined;
6544
6541
  total: number | undefined;
6545
6542
  };
6546
6543
  meta: object;
@@ -6552,6 +6549,7 @@ declare const appRouter: BuiltRouter<{
6552
6549
  };
6553
6550
  output: {
6554
6551
  data: {
6552
+ rules_data: Record<string, unknown>;
6555
6553
  dangerous_good: ({
6556
6554
  dg_class: {
6557
6555
  is_active: boolean | null;
@@ -6599,7 +6597,6 @@ declare const appRouter: BuiltRouter<{
6599
6597
  updated_by: string | null;
6600
6598
  code: string | null;
6601
6599
  } | null;
6602
- } & {
6603
6600
  is_active: boolean | null;
6604
6601
  id: number;
6605
6602
  logic_code: string | null;
@@ -6609,7 +6606,6 @@ declare const appRouter: BuiltRouter<{
6609
6606
  updated_by: string | null;
6610
6607
  id_dg_standard: number | null;
6611
6608
  id_dangerous_good: number | null;
6612
- rules_data: JsonValue$1 | null;
6613
6609
  };
6614
6610
  };
6615
6611
  meta: object;
@@ -6710,8 +6706,9 @@ declare const appRouter: BuiltRouter<{
6710
6706
  rules_data?: string | null | undefined;
6711
6707
  };
6712
6708
  output: {
6713
- data: ({
6714
- dangerous_good: {
6709
+ data: {
6710
+ rules_data: Record<string, unknown>;
6711
+ dangerous_good?: {
6715
6712
  is_active: boolean | null;
6716
6713
  id: number;
6717
6714
  logic_code: string | null;
@@ -6723,8 +6720,8 @@ declare const appRouter: BuiltRouter<{
6723
6720
  id_dg_class: number | null;
6724
6721
  un_number: string | null;
6725
6722
  is_high_danger: boolean | null;
6726
- } | null;
6727
- dg_standard: {
6723
+ } | null | undefined;
6724
+ dg_standard?: {
6728
6725
  is_active: boolean | null;
6729
6726
  id: number;
6730
6727
  name: string | null;
@@ -6734,19 +6731,17 @@ declare const appRouter: BuiltRouter<{
6734
6731
  updated_at: Date | null;
6735
6732
  updated_by: string | null;
6736
6733
  code: string | null;
6737
- } | null;
6738
- } & {
6739
- is_active: boolean | null;
6740
- id: number;
6741
- logic_code: string | null;
6742
- created_at: Date | null;
6743
- created_by: string | null;
6744
- updated_at: Date | null;
6745
- updated_by: string | null;
6746
- id_dg_standard: number | null;
6747
- id_dangerous_good: number | null;
6748
- rules_data: JsonValue$1 | null;
6749
- }) | undefined;
6734
+ } | null | undefined;
6735
+ is_active?: boolean | null | undefined;
6736
+ id?: number | undefined;
6737
+ logic_code?: string | null | undefined;
6738
+ created_at?: Date | null | undefined;
6739
+ created_by?: string | null | undefined;
6740
+ updated_at?: Date | null | undefined;
6741
+ updated_by?: string | null | undefined;
6742
+ id_dg_standard?: number | null | undefined;
6743
+ id_dangerous_good?: number | null | undefined;
6744
+ };
6750
6745
  log: {
6751
6746
  id: number;
6752
6747
  id_log_type: number | null;
@@ -6771,8 +6766,9 @@ declare const appRouter: BuiltRouter<{
6771
6766
  rules_data?: string | null | undefined;
6772
6767
  };
6773
6768
  output: {
6774
- data: ({
6775
- dangerous_good: {
6769
+ data: {
6770
+ rules_data: Record<string, unknown>;
6771
+ dangerous_good?: {
6776
6772
  is_active: boolean | null;
6777
6773
  id: number;
6778
6774
  logic_code: string | null;
@@ -6784,8 +6780,8 @@ declare const appRouter: BuiltRouter<{
6784
6780
  id_dg_class: number | null;
6785
6781
  un_number: string | null;
6786
6782
  is_high_danger: boolean | null;
6787
- } | null;
6788
- dg_standard: {
6783
+ } | null | undefined;
6784
+ dg_standard?: {
6789
6785
  is_active: boolean | null;
6790
6786
  id: number;
6791
6787
  name: string | null;
@@ -6795,19 +6791,17 @@ declare const appRouter: BuiltRouter<{
6795
6791
  updated_at: Date | null;
6796
6792
  updated_by: string | null;
6797
6793
  code: string | null;
6798
- } | null;
6799
- } & {
6800
- is_active: boolean | null;
6801
- id: number;
6802
- logic_code: string | null;
6803
- created_at: Date | null;
6804
- created_by: string | null;
6805
- updated_at: Date | null;
6806
- updated_by: string | null;
6807
- id_dg_standard: number | null;
6808
- id_dangerous_good: number | null;
6809
- rules_data: JsonValue$1 | null;
6810
- }) | undefined;
6794
+ } | null | undefined;
6795
+ is_active?: boolean | null | undefined;
6796
+ id?: number | undefined;
6797
+ logic_code?: string | null | undefined;
6798
+ created_at?: Date | null | undefined;
6799
+ created_by?: string | null | undefined;
6800
+ updated_at?: Date | null | undefined;
6801
+ updated_by?: string | null | undefined;
6802
+ id_dg_standard?: number | null | undefined;
6803
+ id_dangerous_good?: number | null | undefined;
6804
+ };
6811
6805
  log: {
6812
6806
  id: number;
6813
6807
  id_log_type: number | null;
@@ -6830,18 +6824,18 @@ declare const appRouter: BuiltRouter<{
6830
6824
  ids_string?: string[] | null | undefined;
6831
6825
  };
6832
6826
  output: {
6833
- data: ({
6834
- is_active: boolean | null;
6835
- id: number;
6836
- logic_code: string | null;
6837
- created_at: Date | null;
6838
- created_by: string | null;
6839
- updated_at: Date | null;
6840
- updated_by: string | null;
6841
- id_dg_standard: number | null;
6842
- id_dangerous_good: number | null;
6843
- rules_data: JsonValue$1 | null;
6844
- } | undefined)[] | undefined;
6827
+ data: {
6828
+ rules_data: Record<string, unknown>;
6829
+ is_active?: boolean | null | undefined;
6830
+ id?: number | undefined;
6831
+ logic_code?: string | null | undefined;
6832
+ created_at?: Date | null | undefined;
6833
+ created_by?: string | null | undefined;
6834
+ updated_at?: Date | null | undefined;
6835
+ updated_by?: string | null | undefined;
6836
+ id_dg_standard?: number | null | undefined;
6837
+ id_dangerous_good?: number | null | undefined;
6838
+ }[] | undefined;
6845
6839
  };
6846
6840
  meta: object;
6847
6841
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-logixpair/api",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -26,7 +26,7 @@
26
26
  "build": "tsdown",
27
27
  "build:types": "tsdown --dts-only",
28
28
  "build:types-old": "rm -rf dist && mkdir dist && echo 'module.exports = {};' > dist/index.js && dts-bundle-generator -o dist/index.d.ts src/index.ts --no-check --external-inlines @prisma/client",
29
- "prepublish": "copy package-p.json package.json",
29
+ "prepublish": "cp package-p.json package.json",
30
30
  "postpublish": "git checkout package.json"
31
31
  },
32
32
  "devDependencies": {