@litusarchieve18/agricore-utils 1.0.13 → 1.0.15
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/README.md +5 -1
- package/dist/{chunk-QI4YXI4P.mjs → chunk-LYIT2TMM.mjs} +232 -2
- package/dist/{constants-DxCjnH4L.d.mts → constants-DOmJizGn.d.mts} +151 -1
- package/dist/{constants-DxCjnH4L.d.ts → constants-DOmJizGn.d.ts} +151 -1
- package/dist/constants.d.mts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +240 -1
- package/dist/constants.mjs +19 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +240 -1
- package/dist/index.mjs +19 -1
- package/package.json +1 -1
package/dist/constants.js
CHANGED
|
@@ -27,9 +27,16 @@ __export(constants_exports, {
|
|
|
27
27
|
ApprovalType: () => ApprovalType,
|
|
28
28
|
AuditStatus: () => AuditStatus,
|
|
29
29
|
AuditType: () => AuditType,
|
|
30
|
+
CAR_SUPPORTED_EVIDENCE_MIME_TYPES: () => CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
31
|
+
CAR_SUPPORTED_SIGNATURE_MIME_TYPES: () => CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
30
32
|
CAT: () => CAT,
|
|
33
|
+
CATEGORY_TABS: () => CATEGORY_TABS,
|
|
34
|
+
CORRECTIVE_ACTION_GENERATION_SOURCES: () => CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
35
|
+
CORRECTIVE_ACTION_STATUSES: () => CORRECTIVE_ACTION_STATUSES,
|
|
31
36
|
CropCycleStatus: () => CropCycleStatus,
|
|
37
|
+
DOCUMENT_DISPLAY_INFO: () => DOCUMENT_DISPLAY_INFO,
|
|
32
38
|
DOCUMENT_MENU_MAP: () => DOCUMENT_MENU_MAP,
|
|
39
|
+
DocumentCategory: () => DocumentCategory,
|
|
33
40
|
DocumentType: () => DocumentType,
|
|
34
41
|
ERROR_DICTIONARY: () => ERROR_DICTIONARY,
|
|
35
42
|
EVERYONE: () => EVERYONE,
|
|
@@ -55,8 +62,10 @@ __export(constants_exports, {
|
|
|
55
62
|
RelationshipType: () => RelationshipType,
|
|
56
63
|
RowOrientation: () => RowOrientation,
|
|
57
64
|
SENTINEL_UUID: () => SENTINEL_UUID,
|
|
65
|
+
SIGNATURE_MODES: () => SIGNATURE_MODES,
|
|
58
66
|
SoilTexture: () => SoilTexture,
|
|
59
67
|
TASK_TYPE_REGISTRY: () => TASK_TYPE_REGISTRY,
|
|
68
|
+
TEMPLATE_SCOPE_LEVELS: () => TEMPLATE_SCOPE_LEVELS,
|
|
60
69
|
TargetEntityType: () => TargetEntityType,
|
|
61
70
|
TaskStatus: () => TaskStatus,
|
|
62
71
|
TaskType: () => TaskType,
|
|
@@ -209,7 +218,10 @@ var TaskType = {
|
|
|
209
218
|
KML_PARSE: "KML_PARSE",
|
|
210
219
|
INVOICE_OCR: "INVOICE_OCR",
|
|
211
220
|
AUDIT_UPLOAD: "AUDIT_UPLOAD",
|
|
212
|
-
REPORT_GEN: "REPORT_GEN"
|
|
221
|
+
REPORT_GEN: "REPORT_GEN",
|
|
222
|
+
PDF_STAMPING: "PDF_STAMPING",
|
|
223
|
+
CAR_TEMPLATE_UPLOAD: "CAR_TEMPLATE_UPLOAD",
|
|
224
|
+
CORRECTIVE_ACTION_COMPILE: "CORRECTIVE_ACTION_COMPILE"
|
|
213
225
|
};
|
|
214
226
|
var TaskStatus = {
|
|
215
227
|
PENDING: "PENDING",
|
|
@@ -568,6 +580,194 @@ var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
|
|
|
568
580
|
DocumentType2["SENSITIVE_IDENTITY"] = "SENSITIVE_IDENTITY";
|
|
569
581
|
return DocumentType2;
|
|
570
582
|
})(DocumentType || {});
|
|
583
|
+
var DocumentCategory = /* @__PURE__ */ ((DocumentCategory2) => {
|
|
584
|
+
DocumentCategory2["AGRONOMY_TESTING"] = "Agronomy & Testing";
|
|
585
|
+
DocumentCategory2["FARM_OPERATIONS"] = "Farm Operations";
|
|
586
|
+
DocumentCategory2["COMPLIANCE_QA"] = "Compliance & Quality";
|
|
587
|
+
DocumentCategory2["INVENTORY_LOG"] = "Inventory & Logistics";
|
|
588
|
+
DocumentCategory2["ASSETS_MAINT"] = "Assets & Maintenance";
|
|
589
|
+
DocumentCategory2["HR_LEGAL_SAFETY"] = "HR, Legal & Safety";
|
|
590
|
+
DocumentCategory2["FINANCE_ADMIN"] = "Finance & Admin";
|
|
591
|
+
return DocumentCategory2;
|
|
592
|
+
})(DocumentCategory || {});
|
|
593
|
+
var DOCUMENT_DISPLAY_INFO = {
|
|
594
|
+
// --- AGRONOMY & TESTING ---
|
|
595
|
+
["SOIL_TEST" /* SOIL_TEST */]: {
|
|
596
|
+
label: "Soil Analysis",
|
|
597
|
+
description: "Detailed lab results for soil nutrients, pH, and health.",
|
|
598
|
+
category: "Agronomy & Testing" /* AGRONOMY_TESTING */
|
|
599
|
+
},
|
|
600
|
+
["LEAF_TEST" /* LEAF_TEST */]: {
|
|
601
|
+
label: "Leaf & Tissue Test",
|
|
602
|
+
description: "Nutrient analysis of plant tissue samples.",
|
|
603
|
+
category: "Agronomy & Testing" /* AGRONOMY_TESTING */
|
|
604
|
+
},
|
|
605
|
+
["WATER_TEST" /* WATER_TEST */]: {
|
|
606
|
+
label: "Water Quality Test",
|
|
607
|
+
description: "Testing for irrigation suitability and microbial levels.",
|
|
608
|
+
category: "Agronomy & Testing" /* AGRONOMY_TESTING */
|
|
609
|
+
},
|
|
610
|
+
["MRL_TESTING" /* MRL_TESTING */]: {
|
|
611
|
+
label: "MRL Residue Analysis",
|
|
612
|
+
description: "Maximum Residue Limit reports for chemical compliance.",
|
|
613
|
+
category: "Agronomy & Testing" /* AGRONOMY_TESTING */
|
|
614
|
+
},
|
|
615
|
+
["HEAVY_METAL" /* HEAVY_METAL */]: {
|
|
616
|
+
label: "Heavy Metal Analysis",
|
|
617
|
+
description: "Testing for lead, cadmium, and other metal contaminants.",
|
|
618
|
+
category: "Agronomy & Testing" /* AGRONOMY_TESTING */
|
|
619
|
+
},
|
|
620
|
+
["MICROBIAL" /* MICROBIAL */]: {
|
|
621
|
+
label: "Microbial Testing",
|
|
622
|
+
description: "Pathogen detection reports (e.g., E. coli, Salmonella).",
|
|
623
|
+
category: "Agronomy & Testing" /* AGRONOMY_TESTING */
|
|
624
|
+
},
|
|
625
|
+
// --- FARM OPERATIONS ---
|
|
626
|
+
["SPRAY_RECORD" /* SPRAY_RECORD */]: {
|
|
627
|
+
label: "Spray Operations",
|
|
628
|
+
description: "Chemical application logs and weather conditions.",
|
|
629
|
+
category: "Farm Operations" /* FARM_OPERATIONS */
|
|
630
|
+
},
|
|
631
|
+
["FERTIGATION_RECORD" /* FERTIGATION_RECORD */]: {
|
|
632
|
+
label: "Fertigation Logs",
|
|
633
|
+
description: "Records of liquid fertilizer applied via irrigation.",
|
|
634
|
+
category: "Farm Operations" /* FARM_OPERATIONS */
|
|
635
|
+
},
|
|
636
|
+
["FERTILIZER_RECORD" /* FERTILIZER_RECORD */]: {
|
|
637
|
+
label: "Fertilizer Records",
|
|
638
|
+
description: "Manual granular or bulk fertilizer application logs.",
|
|
639
|
+
category: "Farm Operations" /* FARM_OPERATIONS */
|
|
640
|
+
},
|
|
641
|
+
["HARVEST_LOG" /* HARVEST_LOG */]: {
|
|
642
|
+
label: "Harvest Manifests",
|
|
643
|
+
description: "Daily picking volumes and block yield data.",
|
|
644
|
+
category: "Farm Operations" /* FARM_OPERATIONS */
|
|
645
|
+
},
|
|
646
|
+
["PACKHOUSE_INSPECTION" /* PACKHOUSE_INSPECTION */]: {
|
|
647
|
+
label: "Packhouse Inspections",
|
|
648
|
+
description: "Quality and hygiene checks conducted in the packhouse.",
|
|
649
|
+
category: "Farm Operations" /* FARM_OPERATIONS */
|
|
650
|
+
},
|
|
651
|
+
["MAPPING_TRAFIC_MANAGEMENT" /* MAPPING_TRAFIC_MANAGEMENT */]: {
|
|
652
|
+
label: "Traffic Management",
|
|
653
|
+
description: "Maps and rules for vehicle and heavy machinery movement.",
|
|
654
|
+
category: "Farm Operations" /* FARM_OPERATIONS */
|
|
655
|
+
},
|
|
656
|
+
// --- COMPLIANCE & QUALITY ---
|
|
657
|
+
["QA" /* QA */]: {
|
|
658
|
+
label: "Quality Assurance",
|
|
659
|
+
description: "General product quality checks and grading standards.",
|
|
660
|
+
category: "Compliance & Quality" /* COMPLIANCE_QA */
|
|
661
|
+
},
|
|
662
|
+
["PEST" /* PEST */]: {
|
|
663
|
+
label: "Pest & Disease Monitoring",
|
|
664
|
+
description: "Scouting reports and pest pressure assessments.",
|
|
665
|
+
category: "Compliance & Quality" /* COMPLIANCE_QA */
|
|
666
|
+
},
|
|
667
|
+
["AUDIT_REPORT" /* AUDIT_REPORT */]: {
|
|
668
|
+
label: "External Audit Reports",
|
|
669
|
+
description: "Final results from Freshcare, GlobalGAP, or Organic audits.",
|
|
670
|
+
category: "Compliance & Quality" /* COMPLIANCE_QA */
|
|
671
|
+
},
|
|
672
|
+
["RISK_ASSESSMENTS" /* RISK_ASSESSMENTS */]: {
|
|
673
|
+
label: "Risk Assessments",
|
|
674
|
+
description: "Operational hazard identification and safety mitigations.",
|
|
675
|
+
category: "Compliance & Quality" /* COMPLIANCE_QA */
|
|
676
|
+
},
|
|
677
|
+
// --- ASSETS & MAINTENANCE ---
|
|
678
|
+
["SERVICING_MAINTENANCE" /* SERVICING_MAINTENANCE */]: {
|
|
679
|
+
label: "Equipment Maintenance",
|
|
680
|
+
description: "Service history and repair logs for farm machinery.",
|
|
681
|
+
category: "Assets & Maintenance" /* ASSETS_MAINT */
|
|
682
|
+
},
|
|
683
|
+
["EQUIPMENT_CALIBRATION_RECORD" /* EQUIPMENT_CALIBRATION_RECORD */]: {
|
|
684
|
+
label: "Calibration Records",
|
|
685
|
+
description: "Accuracy checks for sprayers, scales, and moisture probes.",
|
|
686
|
+
category: "Assets & Maintenance" /* ASSETS_MAINT */
|
|
687
|
+
},
|
|
688
|
+
["CLEANING" /* CLEANING */]: {
|
|
689
|
+
label: "Sanitation Logs",
|
|
690
|
+
description: "Daily/weekly cleaning schedules for tools and facilities.",
|
|
691
|
+
category: "Assets & Maintenance" /* ASSETS_MAINT */
|
|
692
|
+
},
|
|
693
|
+
["MAPPING_FARM_MAPS" /* MAPPING_FARM_MAPS */]: {
|
|
694
|
+
label: "Farm Infrastructure Maps",
|
|
695
|
+
description: "Layouts of blocks, irrigation, and fixed assets.",
|
|
696
|
+
category: "Assets & Maintenance" /* ASSETS_MAINT */
|
|
697
|
+
},
|
|
698
|
+
// --- INVENTORY & LOGISTICS ---
|
|
699
|
+
["INVENTORY_CHEMICALS" /* INVENTORY_CHEMICALS */]: {
|
|
700
|
+
label: "Chemical Inventory",
|
|
701
|
+
description: "Manifests for stored pesticides and fertilizers.",
|
|
702
|
+
category: "Inventory & Logistics" /* INVENTORY_LOG */
|
|
703
|
+
},
|
|
704
|
+
["INVENTORY_BOX_CARTON" /* INVENTORY_BOX_CARTON */]: {
|
|
705
|
+
label: "Packaging Inventory",
|
|
706
|
+
description: "Stock levels for cartons, bins, and packaging materials.",
|
|
707
|
+
category: "Inventory & Logistics" /* INVENTORY_LOG */
|
|
708
|
+
},
|
|
709
|
+
["INVENTORY_CONSUMABLES" /* INVENTORY_CONSUMABLES */]: {
|
|
710
|
+
label: "General Consumables",
|
|
711
|
+
description: "Stock tracking for fuel, PPE, and workshop supplies.",
|
|
712
|
+
category: "Inventory & Logistics" /* INVENTORY_LOG */
|
|
713
|
+
},
|
|
714
|
+
["STOCKTAKE" /* STOCKTAKE */]: {
|
|
715
|
+
label: "Physical Stocktake",
|
|
716
|
+
description: "Periodic audits of physical vs. recorded stock levels.",
|
|
717
|
+
category: "Inventory & Logistics" /* INVENTORY_LOG */
|
|
718
|
+
},
|
|
719
|
+
["STOCKTAKE_MSDS" /* STOCKTAKE_MSDS */]: {
|
|
720
|
+
label: "MSDS / Safety Data",
|
|
721
|
+
description: "Material Safety Data Sheets for stored chemicals.",
|
|
722
|
+
category: "Inventory & Logistics" /* INVENTORY_LOG */
|
|
723
|
+
},
|
|
724
|
+
// --- HR, LEGAL & SAFETY ---
|
|
725
|
+
["TRAINING_RECORDS" /* TRAINING_RECORDS */]: {
|
|
726
|
+
label: "Staff Inductions",
|
|
727
|
+
description: "General staff onboarding and safety training logs.",
|
|
728
|
+
category: "HR, Legal & Safety" /* HR_LEGAL_SAFETY */
|
|
729
|
+
},
|
|
730
|
+
["TRAINING_CERTIFICATE" /* TRAINING_CERTIFICATE */]: {
|
|
731
|
+
label: "Training Certificates",
|
|
732
|
+
description: "External licenses, ChemCert, and first aid tickets.",
|
|
733
|
+
category: "HR, Legal & Safety" /* HR_LEGAL_SAFETY */
|
|
734
|
+
},
|
|
735
|
+
["SOPS" /* SOPS */]: {
|
|
736
|
+
label: "Standard Procedures (SOPs)",
|
|
737
|
+
description: "Formalized instructions for farm and packhouse tasks.",
|
|
738
|
+
category: "HR, Legal & Safety" /* HR_LEGAL_SAFETY */
|
|
739
|
+
},
|
|
740
|
+
["LEGAL_CONTRACT" /* LEGAL_CONTRACT */]: {
|
|
741
|
+
label: "Legal Contracts",
|
|
742
|
+
description: "Lease agreements, supply contracts, and employment terms.",
|
|
743
|
+
category: "HR, Legal & Safety" /* HR_LEGAL_SAFETY */
|
|
744
|
+
},
|
|
745
|
+
["INCIDENT_REPORT" /* INCIDENT_REPORT */]: {
|
|
746
|
+
label: "Incident Reports",
|
|
747
|
+
description: "Logs of injuries, near-misses, or property damage.",
|
|
748
|
+
category: "HR, Legal & Safety" /* HR_LEGAL_SAFETY */
|
|
749
|
+
},
|
|
750
|
+
["SENSITIVE_IDENTITY" /* SENSITIVE_IDENTITY */]: {
|
|
751
|
+
label: "Identity & Visas",
|
|
752
|
+
description: "Sensitive data: Passports, ID cards, and work permits.",
|
|
753
|
+
category: "HR, Legal & Safety" /* HR_LEGAL_SAFETY */
|
|
754
|
+
},
|
|
755
|
+
["MAPPING_EMERGENCY" /* MAPPING_EMERGENCY */]: {
|
|
756
|
+
label: "Emergency Response Maps",
|
|
757
|
+
description: "Evacuation routes and emergency assembly points.",
|
|
758
|
+
category: "HR, Legal & Safety" /* HR_LEGAL_SAFETY */
|
|
759
|
+
},
|
|
760
|
+
// --- FINANCE & ADMIN ---
|
|
761
|
+
["INVOICE" /* INVOICE */]: {
|
|
762
|
+
label: "Supplier Invoices",
|
|
763
|
+
description: "Billing records for inputs, utilities, and services.",
|
|
764
|
+
category: "Finance & Admin" /* FINANCE_ADMIN */
|
|
765
|
+
}
|
|
766
|
+
};
|
|
767
|
+
var CATEGORY_TABS = [
|
|
768
|
+
"All",
|
|
769
|
+
...Object.values(DocumentCategory)
|
|
770
|
+
];
|
|
571
771
|
var DOCUMENT_MENU_MAP = {
|
|
572
772
|
["SPRAY_RECORD" /* SPRAY_RECORD */]: [RESOURCE_PATHS.farmManagement],
|
|
573
773
|
["FERTIGATION_RECORD" /* FERTIGATION_RECORD */]: [RESOURCE_PATHS.farmManagement],
|
|
@@ -603,6 +803,36 @@ var DOCUMENT_MENU_MAP = {
|
|
|
603
803
|
["AUDIT_REPORT" /* AUDIT_REPORT */]: [RESOURCE_PATHS.safetyAuditing, RESOURCE_PATHS.dashboard],
|
|
604
804
|
["SENSITIVE_IDENTITY" /* SENSITIVE_IDENTITY */]: [RESOURCE_PATHS.adminUserRoster]
|
|
605
805
|
};
|
|
806
|
+
var SIGNATURE_MODES = {
|
|
807
|
+
TYPED_NAME: "typed_name",
|
|
808
|
+
DRAWN_IMAGE: "drawn_image",
|
|
809
|
+
UPLOADED_IMAGE: "uploaded_image"
|
|
810
|
+
};
|
|
811
|
+
var CORRECTIVE_ACTION_STATUSES = {
|
|
812
|
+
DRAFT: "draft",
|
|
813
|
+
GENERATED: "generated",
|
|
814
|
+
REVIEWED: "reviewed",
|
|
815
|
+
CLOSED: "closed",
|
|
816
|
+
FAILED: "failed"
|
|
817
|
+
};
|
|
818
|
+
var TEMPLATE_SCOPE_LEVELS = {
|
|
819
|
+
FACILITY: "facility",
|
|
820
|
+
LEGAL_ENTITY: "legalEntity",
|
|
821
|
+
COMPANY: "company"
|
|
822
|
+
};
|
|
823
|
+
var CORRECTIVE_ACTION_GENERATION_SOURCES = {
|
|
824
|
+
CREATE: "CREATE",
|
|
825
|
+
RECREATE: "RECREATE"
|
|
826
|
+
};
|
|
827
|
+
var CAR_SUPPORTED_EVIDENCE_MIME_TYPES = [
|
|
828
|
+
"application/pdf",
|
|
829
|
+
"image/png",
|
|
830
|
+
"image/jpeg"
|
|
831
|
+
];
|
|
832
|
+
var CAR_SUPPORTED_SIGNATURE_MIME_TYPES = [
|
|
833
|
+
"image/png",
|
|
834
|
+
"image/jpeg"
|
|
835
|
+
];
|
|
606
836
|
// Annotate the CommonJS export names for ESM import in node:
|
|
607
837
|
0 && (module.exports = {
|
|
608
838
|
ACCESS_RANK,
|
|
@@ -612,9 +842,16 @@ var DOCUMENT_MENU_MAP = {
|
|
|
612
842
|
ApprovalType,
|
|
613
843
|
AuditStatus,
|
|
614
844
|
AuditType,
|
|
845
|
+
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
846
|
+
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
615
847
|
CAT,
|
|
848
|
+
CATEGORY_TABS,
|
|
849
|
+
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
850
|
+
CORRECTIVE_ACTION_STATUSES,
|
|
616
851
|
CropCycleStatus,
|
|
852
|
+
DOCUMENT_DISPLAY_INFO,
|
|
617
853
|
DOCUMENT_MENU_MAP,
|
|
854
|
+
DocumentCategory,
|
|
618
855
|
DocumentType,
|
|
619
856
|
ERROR_DICTIONARY,
|
|
620
857
|
EVERYONE,
|
|
@@ -640,8 +877,10 @@ var DOCUMENT_MENU_MAP = {
|
|
|
640
877
|
RelationshipType,
|
|
641
878
|
RowOrientation,
|
|
642
879
|
SENTINEL_UUID,
|
|
880
|
+
SIGNATURE_MODES,
|
|
643
881
|
SoilTexture,
|
|
644
882
|
TASK_TYPE_REGISTRY,
|
|
883
|
+
TEMPLATE_SCOPE_LEVELS,
|
|
645
884
|
TargetEntityType,
|
|
646
885
|
TaskStatus,
|
|
647
886
|
TaskType,
|
package/dist/constants.mjs
CHANGED
|
@@ -6,9 +6,16 @@ import {
|
|
|
6
6
|
ApprovalType,
|
|
7
7
|
AuditStatus,
|
|
8
8
|
AuditType,
|
|
9
|
+
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
10
|
+
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
9
11
|
CAT,
|
|
12
|
+
CATEGORY_TABS,
|
|
13
|
+
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
14
|
+
CORRECTIVE_ACTION_STATUSES,
|
|
10
15
|
CropCycleStatus,
|
|
16
|
+
DOCUMENT_DISPLAY_INFO,
|
|
11
17
|
DOCUMENT_MENU_MAP,
|
|
18
|
+
DocumentCategory,
|
|
12
19
|
DocumentType,
|
|
13
20
|
ERROR_DICTIONARY,
|
|
14
21
|
EVERYONE,
|
|
@@ -34,8 +41,10 @@ import {
|
|
|
34
41
|
RelationshipType,
|
|
35
42
|
RowOrientation,
|
|
36
43
|
SENTINEL_UUID,
|
|
44
|
+
SIGNATURE_MODES,
|
|
37
45
|
SoilTexture,
|
|
38
46
|
TASK_TYPE_REGISTRY,
|
|
47
|
+
TEMPLATE_SCOPE_LEVELS,
|
|
39
48
|
TargetEntityType,
|
|
40
49
|
TaskStatus,
|
|
41
50
|
TaskType,
|
|
@@ -45,7 +54,7 @@ import {
|
|
|
45
54
|
UserRole,
|
|
46
55
|
VigorRating,
|
|
47
56
|
WaterSource
|
|
48
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-LYIT2TMM.mjs";
|
|
49
58
|
export {
|
|
50
59
|
ACCESS_RANK,
|
|
51
60
|
ACT,
|
|
@@ -54,9 +63,16 @@ export {
|
|
|
54
63
|
ApprovalType,
|
|
55
64
|
AuditStatus,
|
|
56
65
|
AuditType,
|
|
66
|
+
CAR_SUPPORTED_EVIDENCE_MIME_TYPES,
|
|
67
|
+
CAR_SUPPORTED_SIGNATURE_MIME_TYPES,
|
|
57
68
|
CAT,
|
|
69
|
+
CATEGORY_TABS,
|
|
70
|
+
CORRECTIVE_ACTION_GENERATION_SOURCES,
|
|
71
|
+
CORRECTIVE_ACTION_STATUSES,
|
|
58
72
|
CropCycleStatus,
|
|
73
|
+
DOCUMENT_DISPLAY_INFO,
|
|
59
74
|
DOCUMENT_MENU_MAP,
|
|
75
|
+
DocumentCategory,
|
|
60
76
|
DocumentType,
|
|
61
77
|
ERROR_DICTIONARY,
|
|
62
78
|
EVERYONE,
|
|
@@ -82,8 +98,10 @@ export {
|
|
|
82
98
|
RelationshipType,
|
|
83
99
|
RowOrientation,
|
|
84
100
|
SENTINEL_UUID,
|
|
101
|
+
SIGNATURE_MODES,
|
|
85
102
|
SoilTexture,
|
|
86
103
|
TASK_TYPE_REGISTRY,
|
|
104
|
+
TEMPLATE_SCOPE_LEVELS,
|
|
87
105
|
TargetEntityType,
|
|
88
106
|
TaskStatus,
|
|
89
107
|
TaskType,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as AgriCoreSession,
|
|
2
|
-
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, i as AuthScopeFields, C as
|
|
1
|
+
import { d as AgriCoreSession, ar as UserRoleType, a7 as ResourceRequirement, c as AccessLevelType, j as AvailableScope, O as InfrastructureFields, M as FormMeta, ah as TabConfig, a5 as ResolvedError } from './constants-DOmJizGn.mjs';
|
|
2
|
+
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, i as AuthScopeFields, B as Base44Id, C as CAR_SUPPORTED_EVIDENCE_MIME_TYPES, k as CAR_SUPPORTED_SIGNATURE_MIME_TYPES, l as CAT, m as CATEGORY_TABS, n as CORRECTIVE_ACTION_GENERATION_SOURCES, o as CORRECTIVE_ACTION_STATUSES, p as CanonicalId, q as CarSupportedEvidenceMimeType, r as CarSupportedSignatureMimeType, s as CarTemplateFileMetadata, t as CompanyConfig, u as CorrectiveActionCompileTaskMetadata, v as CorrectiveActionGenerationSource, w as CorrectiveActionStatus, x as CropCycleStatus, D as DOCUMENT_DISPLAY_INFO, y as DOCUMENT_MENU_MAP, z as DocumentCategory, E as DocumentType, F as ERROR_DICTIONARY, G as EVERYONE, H as EmitterType, I as EnabledModule, J as FORM_REGISTRY, K as FacilityType, L as FileUploadTaskType, N as HarvestMethod, P as LinkedStatus, Q as MOD, R as MODULE_LABELS, S as MicroclimateZone, T as MimeType, U as ModCode, V as NettingType, W as NormalizedSignatureValue, X as NotificationMode, Y as OrderStatus, Z as PermissionLevel, _ as PhysicalState, $ as PlantingMethod, a0 as RESOURCE_MODULE_MAP, a1 as RESOURCE_PATHS, a2 as RESOURCE_REQUIREMENTS, a3 as ROLE_SECTIONS_BY_KEY, a4 as RelationshipType, a6 as ResourceOverrides, a8 as RowOrientation, a9 as SENTINEL_UUID, aa as SIGNATURE_MODES, ab as ScopeType, ac as SignatureInput, ad as SignatureMode, ae as SoilTexture, af as TASK_TYPE_REGISTRY, ag as TEMPLATE_SCOPE_LEVELS, ai as TargetEntityType, aj as TaskStatus, ak as TaskType, al as TaskTypeConfig, am as TemplateScopeLevel, an as TransactionType, ao as TrellisType, ap as UserPrivilege, aq as UserRole, as as VigorRating, at as WaterSource } from './constants-DOmJizGn.mjs';
|
|
3
3
|
|
|
4
4
|
declare const AgriLogger: {
|
|
5
5
|
log(level: "INFO" | "WARN" | "ERROR", message: string, meta: any): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as AgriCoreSession,
|
|
2
|
-
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, i as AuthScopeFields, C as
|
|
1
|
+
import { d as AgriCoreSession, ar as UserRoleType, a7 as ResourceRequirement, c as AccessLevelType, j as AvailableScope, O as InfrastructureFields, M as FormMeta, ah as TabConfig, a5 as ResolvedError } from './constants-DOmJizGn.js';
|
|
2
|
+
export { A as ACCESS_RANK, a as ACT, b as AccessLevel, e as ApprovalStatus, f as ApprovalType, g as AuditStatus, h as AuditType, i as AuthScopeFields, B as Base44Id, C as CAR_SUPPORTED_EVIDENCE_MIME_TYPES, k as CAR_SUPPORTED_SIGNATURE_MIME_TYPES, l as CAT, m as CATEGORY_TABS, n as CORRECTIVE_ACTION_GENERATION_SOURCES, o as CORRECTIVE_ACTION_STATUSES, p as CanonicalId, q as CarSupportedEvidenceMimeType, r as CarSupportedSignatureMimeType, s as CarTemplateFileMetadata, t as CompanyConfig, u as CorrectiveActionCompileTaskMetadata, v as CorrectiveActionGenerationSource, w as CorrectiveActionStatus, x as CropCycleStatus, D as DOCUMENT_DISPLAY_INFO, y as DOCUMENT_MENU_MAP, z as DocumentCategory, E as DocumentType, F as ERROR_DICTIONARY, G as EVERYONE, H as EmitterType, I as EnabledModule, J as FORM_REGISTRY, K as FacilityType, L as FileUploadTaskType, N as HarvestMethod, P as LinkedStatus, Q as MOD, R as MODULE_LABELS, S as MicroclimateZone, T as MimeType, U as ModCode, V as NettingType, W as NormalizedSignatureValue, X as NotificationMode, Y as OrderStatus, Z as PermissionLevel, _ as PhysicalState, $ as PlantingMethod, a0 as RESOURCE_MODULE_MAP, a1 as RESOURCE_PATHS, a2 as RESOURCE_REQUIREMENTS, a3 as ROLE_SECTIONS_BY_KEY, a4 as RelationshipType, a6 as ResourceOverrides, a8 as RowOrientation, a9 as SENTINEL_UUID, aa as SIGNATURE_MODES, ab as ScopeType, ac as SignatureInput, ad as SignatureMode, ae as SoilTexture, af as TASK_TYPE_REGISTRY, ag as TEMPLATE_SCOPE_LEVELS, ai as TargetEntityType, aj as TaskStatus, ak as TaskType, al as TaskTypeConfig, am as TemplateScopeLevel, an as TransactionType, ao as TrellisType, ap as UserPrivilege, aq as UserRole, as as VigorRating, at as WaterSource } from './constants-DOmJizGn.js';
|
|
3
3
|
|
|
4
4
|
declare const AgriLogger: {
|
|
5
5
|
log(level: "INFO" | "WARN" | "ERROR", message: string, meta: any): void;
|