efiber-prisma-schema 2.0.6 → 2.0.8
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 +19 -18
- package/prisma/generated/edge.js +73 -28
- package/prisma/generated/index-browser.js +14 -13
- package/prisma/generated/index.d.ts +24 -9
- package/prisma/generated/index.js +95 -29
- package/prisma/generated/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/prisma/generated/package.json +68 -29
- package/prisma/generated/query_engine_bg.js +2 -0
- package/prisma/generated/query_engine_bg.wasm +0 -0
- package/prisma/generated/runtime/edge-esm.js +35 -0
- package/prisma/generated/runtime/edge.js +35 -0
- package/prisma/generated/runtime/index-browser.d.ts +303 -20
- package/prisma/generated/runtime/index-browser.js +12 -1
- package/prisma/generated/runtime/{client.d.ts → library.d.ts} +905 -103
- package/prisma/generated/runtime/library.js +147 -0
- package/prisma/generated/runtime/react-native.js +84 -0
- package/prisma/generated/runtime/wasm-compiler-edge.js +33 -24
- package/prisma/generated/runtime/wasm-engine-edge.js +38 -0
- package/prisma/generated/schema.prisma +1 -0
- package/prisma/generated/wasm-edge-light-loader.mjs +1 -1
- package/prisma/generated/wasm-worker-loader.mjs +1 -1
- package/prisma/generated/wasm.d.ts +1 -0
- package/prisma/generated/{internal/class.ts → wasm.js} +2448 -1238
- package/prisma/schema.prisma +1 -0
- package/index.d.ts +0 -10
- package/index.js +0 -10
- package/prisma/generated/browser.ts +0 -559
- package/prisma/generated/client.ts +0 -581
- package/prisma/generated/commonInputTypes.ts +0 -1246
- package/prisma/generated/enums.ts +0 -188
- package/prisma/generated/internal/prismaNamespace.ts +0 -11532
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +0 -2582
- package/prisma/generated/models/AttributeDefinition.ts +0 -1498
- package/prisma/generated/models/AttributeValue.ts +0 -1419
- package/prisma/generated/models/Audit.ts +0 -1725
- package/prisma/generated/models/BillOfMaterial.ts +0 -1934
- package/prisma/generated/models/Building.ts +0 -6130
- package/prisma/generated/models/BuildingTemplate.ts +0 -2912
- package/prisma/generated/models/Cable.ts +0 -10501
- package/prisma/generated/models/CableAttachment.ts +0 -1530
- package/prisma/generated/models/CableAttributes.ts +0 -2244
- package/prisma/generated/models/CableTemplate.ts +0 -3170
- package/prisma/generated/models/CamusatClient.ts +0 -2001
- package/prisma/generated/models/CamusatCountry.ts +0 -2425
- package/prisma/generated/models/CentralOffice.ts +0 -1921
- package/prisma/generated/models/CentralOfficeTeam.ts +0 -1620
- package/prisma/generated/models/CentralOfficeUser.ts +0 -1650
- package/prisma/generated/models/Cluster.ts +0 -10984
- package/prisma/generated/models/ClusterComments.ts +0 -1668
- package/prisma/generated/models/ClusterNotes.ts +0 -1703
- package/prisma/generated/models/Conduit.ts +0 -5119
- package/prisma/generated/models/ConduitTemplate.ts +0 -2940
- package/prisma/generated/models/Country.ts +0 -1795
- package/prisma/generated/models/DispatchMaterial.ts +0 -3070
- package/prisma/generated/models/DispatchProject.ts +0 -4179
- package/prisma/generated/models/DispatchTeam.ts +0 -3053
- package/prisma/generated/models/Duct.ts +0 -1813
- package/prisma/generated/models/ElementNode.ts +0 -4413
- package/prisma/generated/models/ElementRelation.ts +0 -1644
- package/prisma/generated/models/EmailConfigurations.ts +0 -3736
- package/prisma/generated/models/EmailTemplates.ts +0 -1739
- package/prisma/generated/models/EmailsIncoming.ts +0 -2010
- package/prisma/generated/models/EmailsIncomingSample.ts +0 -1503
- package/prisma/generated/models/EmailsOutgoing.ts +0 -1648
- package/prisma/generated/models/FDTSRO.ts +0 -6180
- package/prisma/generated/models/FDTSROTemplate.ts +0 -2912
- package/prisma/generated/models/Feature.ts +0 -1867
- package/prisma/generated/models/FeatureType.ts +0 -1430
- package/prisma/generated/models/IntegrationReportTemplate.ts +0 -1878
- package/prisma/generated/models/Loop.ts +0 -5271
- package/prisma/generated/models/LoopTemplate.ts +0 -2912
- package/prisma/generated/models/MainProject.ts +0 -1664
- package/prisma/generated/models/Manhole.ts +0 -5090
- package/prisma/generated/models/ManholeTemplate.ts +0 -2912
- package/prisma/generated/models/MapElement.ts +0 -3450
- package/prisma/generated/models/MapElementTemplate.ts +0 -2742
- package/prisma/generated/models/Material.ts +0 -1963
- package/prisma/generated/models/MaterialBillOfMaterial.ts +0 -1737
- package/prisma/generated/models/MaterialChangeLog.ts +0 -1454
- package/prisma/generated/models/NetworkElement.ts +0 -6891
- package/prisma/generated/models/NetworkElementInstallation.ts +0 -3320
- package/prisma/generated/models/Notifications.ts +0 -1563
- package/prisma/generated/models/OptionSource.ts +0 -1132
- package/prisma/generated/models/PboFat.ts +0 -8248
- package/prisma/generated/models/PboFatAttributes.ts +0 -2672
- package/prisma/generated/models/PboFatTemplate.ts +0 -3112
- package/prisma/generated/models/Platform.ts +0 -1759
- package/prisma/generated/models/Pole.ts +0 -5266
- package/prisma/generated/models/PoleTemplate.ts +0 -2912
- package/prisma/generated/models/Position.ts +0 -1490
- package/prisma/generated/models/PreviousEquipment.ts +0 -1881
- package/prisma/generated/models/Project.ts +0 -14893
- package/prisma/generated/models/ProjectType.ts +0 -1351
- package/prisma/generated/models/ProjectWorkFlow.ts +0 -1856
- package/prisma/generated/models/ReportFormats.ts +0 -1768
- package/prisma/generated/models/ReportFormulaConfig.ts +0 -1375
- package/prisma/generated/models/ReportMetric.ts +0 -1737
- package/prisma/generated/models/ReportTable.ts +0 -1498
- package/prisma/generated/models/ReportVisualization.ts +0 -1446
- package/prisma/generated/models/Revision.ts +0 -4653
- package/prisma/generated/models/Role.ts +0 -2960
- package/prisma/generated/models/SFU.ts +0 -5977
- package/prisma/generated/models/SFUTemplate.ts +0 -2912
- package/prisma/generated/models/SpliceClosure.ts +0 -6405
- package/prisma/generated/models/SpliceClosureAttributes.ts +0 -2172
- package/prisma/generated/models/SpliceClosureTemplate.ts +0 -3176
- package/prisma/generated/models/Splitter.ts +0 -1459
- package/prisma/generated/models/StockMovement.ts +0 -1589
- package/prisma/generated/models/SubsidiaryMaterial.ts +0 -2193
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +0 -1966
- package/prisma/generated/models/Team.ts +0 -2044
- package/prisma/generated/models/TeamMaterial.ts +0 -2193
- package/prisma/generated/models/TeamMaterialMovementLog.ts +0 -1966
- package/prisma/generated/models/TeamPlatform.ts +0 -1874
- package/prisma/generated/models/TeamType.ts +0 -1655
- package/prisma/generated/models/Template.ts +0 -1691
- package/prisma/generated/models/TemplateComponent.ts +0 -1995
- package/prisma/generated/models/User.ts +0 -25676
- package/prisma/generated/models/WorkOrder.ts +0 -5901
- package/prisma/generated/models/WorkOrderActivityLog.ts +0 -2126
- package/prisma/generated/models/WorkOrderChannel.ts +0 -1454
- package/prisma/generated/models/WorkOrderComments.ts +0 -1687
- package/prisma/generated/models/WorkOrderEditLog.ts +0 -1757
- package/prisma/generated/models/WorkOrderMaterial.ts +0 -1933
- package/prisma/generated/models/WorkOrderPauses.ts +0 -1454
- package/prisma/generated/models/WorkOrderTask.ts +0 -2220
- package/prisma/generated/models/WorkOrderTaskData.ts +0 -1244
- package/prisma/generated/models/ZoneNro.ts +0 -3926
- package/prisma/generated/models/ZoneNroTemplate.ts +0 -2966
- package/prisma/generated/models/clientMaterial.ts +0 -2193
- package/prisma/generated/models/clientMaterialMovementLog.ts +0 -1966
- package/prisma/generated/models/ductTemplate.ts +0 -1606
- package/prisma/generated/models/installationSequence.ts +0 -1708
- package/prisma/generated/models/integrationProjectUserStatus.ts +0 -1916
- package/prisma/generated/models/integrationUserLocation.ts +0 -1681
- package/prisma/generated/models/problemCategorization.ts +0 -1543
- package/prisma/generated/models/projectPhaseLog.ts +0 -1728
- package/prisma/generated/models/qrCodeTag.ts +0 -4978
- package/prisma/generated/models/qrCodeTemplate.ts +0 -6500
- package/prisma/generated/models/ticketMaterialMovementLog.ts +0 -1651
- package/prisma/generated/models.ts +0 -119
- package/prisma/generated/query_compiler_bg.js +0 -2
- package/prisma/generated/query_compiler_bg.wasm +0 -0
- package/prisma/generated/query_compiler_bg.wasm-base64.js +0 -2
- package/prisma/generated/runtime/client.js +0 -86
- package/prisma/migrations/0_init/migration.sql +0 -0
- package/prisma/migrations/20231209164007_/migration.sql +0 -8
- package/prisma/migrations/20231209192452_country_table/migration.sql +0 -7
- package/prisma/migrations/20231209194848_/migration.sql +0 -10
- package/prisma/migrations/20231209195140_/migration.sql +0 -8
- package/prisma/migrations/20231209201218_country_update/migration.sql +0 -29
- package/prisma/migrations/20231209201405_/migration.sql +0 -8
- package/prisma/migrations/20231209213149_camusat_country/migration.sql +0 -20
- package/prisma/migrations/20231209221814_platform/migration.sql +0 -26
- package/prisma/migrations/20231209223246_/migration.sql +0 -16
- package/prisma/migrations/20231209231721_roles/migration.sql +0 -34
- package/prisma/migrations/20231210113501_team_and_users/migration.sql +0 -119
- package/prisma/migrations/20231210181832_user_update/migration.sql +0 -25
- package/prisma/migrations/20231219121311_add_projects/migration.sql +0 -60
- package/prisma/migrations/20231219123045_/migration.sql +0 -8
- package/prisma/migrations/20231219123850_audit/migration.sql +0 -20
- package/prisma/migrations/20240116090035_/migration.sql +0 -57
- package/prisma/migrations/20240202082320_init/migration.sql +0 -17
- package/prisma/migrations/20240202091027_camusat_client/migration.sql +0 -29
- package/prisma/migrations/20240202124330_camusatcountry/migration.sql +0 -20
- package/prisma/migrations/20240203085209_feature/migration.sql +0 -66
- package/prisma/migrations/20240203123342_feature/migration.sql +0 -38
- package/prisma/migrations/20240203124454_featuretype/migration.sql +0 -30
- package/prisma/migrations/20240203134414_featuretype/migration.sql +0 -8
- package/prisma/migrations/20240203154141_featuretype/migration.sql +0 -47
- package/prisma/migrations/20240203203915_template/migration.sql +0 -82
- package/prisma/migrations/20240204040725_template_component/migration.sql +0 -83
- package/prisma/migrations/20240204043127_template_component/migration.sql +0 -3
- package/prisma/migrations/20240204051036_template_component/migration.sql +0 -17
- package/prisma/migrations/20240204052923_template_component/migration.sql +0 -24
- package/prisma/migrations/20240204103902_template_component/migration.sql +0 -10
- package/prisma/migrations/20240204112656_camusat_client/migration.sql +0 -13
- package/prisma/migrations/20240204113143_camusat_client/migration.sql +0 -16
- package/prisma/migrations/20240204133932_camusat_client/migration.sql +0 -13
- package/prisma/migrations/20240204134637_camusat_client/migration.sql +0 -16
- package/prisma/migrations/20240204135459_camusat_client/migration.sql +0 -8
- package/prisma/migrations/20240204135615_camusat_client/migration.sql +0 -16
- package/prisma/migrations/20240204141001_camusat_client/migration.sql +0 -16
- package/prisma/migrations/20240205070804_template/migration.sql +0 -60
- package/prisma/migrations/20240205071138_template/migration.sql +0 -8
- package/prisma/migrations/20240205074015_template/migration.sql +0 -11
- package/prisma/migrations/20240205100949_template/migration.sql +0 -3
- package/prisma/migrations/20240205170632_template/migration.sql +0 -26
- package/prisma/migrations/20240205171038_template/migration.sql +0 -8
- package/prisma/migrations/20240206115225_template/migration.sql +0 -2
- package/prisma/migrations/20240206115743_template/migration.sql +0 -8
- package/prisma/migrations/20240206122145_template/migration.sql +0 -8
- package/prisma/migrations/20240206122530_template/migration.sql +0 -17
- package/prisma/migrations/20240206124010_template/migration.sql +0 -2
- package/prisma/migrations/20240206124504_template/migration.sql +0 -8
- package/prisma/migrations/20240207123737_template_component/migration.sql +0 -27
- package/prisma/migrations/20240207182427_project_workflow/migration.sql +0 -13
- package/prisma/migrations/20240208080438_project_workflow/migration.sql +0 -29
- package/prisma/migrations/20240208094341_project_workflow/migration.sql +0 -20
- package/prisma/migrations/20240208094513_project_workflow/migration.sql +0 -11
- package/prisma/migrations/20240208110543_feature/migration.sql +0 -42
- package/prisma/migrations/20240209094123_feature/migration.sql +0 -2
- package/prisma/migrations/20240211174122_camusat_client/migration.sql +0 -2
- package/prisma/migrations/20240219060721_feature/migration.sql +0 -14
- package/prisma/migrations/20240220085809_emails/migration.sql +0 -82
- package/prisma/migrations/20240226075734_update_email_config_and_workorder/migration.sql +0 -33
- package/prisma/migrations/20240227112839_update_email_config/migration.sql +0 -2
- package/prisma/migrations/20240227124801_work_order_update/migration.sql +0 -6
- package/prisma/migrations/20240301063634_material/migration.sql +0 -40
- package/prisma/migrations/20240301064450_material/migration.sql +0 -8
- package/prisma/migrations/20240301071914_bill_of_material/migration.sql +0 -32
- package/prisma/migrations/20240301130744_dispatch_material/migration.sql +0 -19
- package/prisma/migrations/20240304051150_dispatch_material/migration.sql +0 -5
- package/prisma/migrations/20240304060722_dispatch_material/migration.sql +0 -5
- package/prisma/migrations/20240304060902_dispatch_material/migration.sql +0 -8
- package/prisma/migrations/20240304061156_dispatch_material/migration.sql +0 -9
- package/prisma/migrations/20240304173952_stock_movement/migration.sql +0 -40
- package/prisma/migrations/20240305072137_stock_movement/migration.sql +0 -239
- package/prisma/migrations/20240305072744_stock_movement/migration.sql +0 -12
- package/prisma/migrations/20240306055959_stock_movement/migration.sql +0 -11
- package/prisma/migrations/20240306062724_stock_movement/migration.sql +0 -2
- package/prisma/migrations/20240306113309_stock_movement/migration.sql +0 -8
- package/prisma/migrations/20240306141448_stock_movement/migration.sql +0 -5
- package/prisma/migrations/20240306144254_stock_movement/migration.sql +0 -5
- package/prisma/migrations/20240306154800_stock_movement/migration.sql +0 -8
- package/prisma/migrations/20240307095205_stock_movement/migration.sql +0 -16
- package/prisma/migrations/20240308175028_new/migration.sql +0 -8
- package/prisma/migrations/20240310114206_dispatch_project/migration.sql +0 -5
- package/prisma/migrations/20240311121226_new/migration.sql +0 -71
- package/prisma/migrations/20240311171024_new/migration.sql +0 -8
- package/prisma/migrations/20240312090511_material/migration.sql +0 -17
- package/prisma/migrations/20240312095600_material/migration.sql +0 -16
- package/prisma/migrations/20240312115431_material/migration.sql +0 -11
- package/prisma/migrations/20240316161358_work_order/migration.sql +0 -3
- package/prisma/migrations/20240318112352_problem_categorization/migration.sql +0 -14
- package/prisma/migrations/20240318112616_problem_categorization/migration.sql +0 -8
- package/prisma/migrations/20240319072457_work_order/migration.sql +0 -5
- package/prisma/migrations/20240320124008_dispatch_project/migration.sql +0 -26
- package/prisma/migrations/20240321081929_dispatch_project/migration.sql +0 -8
- package/prisma/migrations/20240321102139_work_order/migration.sql +0 -45
- package/prisma/migrations/20240321103420_work_order/migration.sql +0 -14
- package/prisma/migrations/20240321103537_work_order/migration.sql +0 -2
- package/prisma/migrations/20240322061027_material/migration.sql +0 -11
- package/prisma/migrations/20240323122952_work_order/migration.sql +0 -6
- package/prisma/migrations/20240323125822_work_order/migration.sql +0 -2
- package/prisma/migrations/20240325082900_work_order/migration.sql +0 -11
- package/prisma/migrations/20240326115608_work_order/migration.sql +0 -18
- package/prisma/migrations/20240327051438_work_order/migration.sql +0 -8
- package/prisma/migrations/20240327100905_work_order/migration.sql +0 -24
- package/prisma/migrations/20240328121421_work_order/migration.sql +0 -26
- package/prisma/migrations/20240328122320_work_order/migration.sql +0 -9
- package/prisma/migrations/20240328123833_work_order/migration.sql +0 -3
- package/prisma/migrations/20240328132921_work_order/migration.sql +0 -5
- package/prisma/migrations/20240328142205_work_order/migration.sql +0 -2
- package/prisma/migrations/20240401184203_billof_material/migration.sql +0 -8
- package/prisma/migrations/20240402125649_feature/migration.sql +0 -2
- package/prisma/migrations/20240404054220_project/migration.sql +0 -29
- package/prisma/migrations/20240407224722_user/migration.sql +0 -2
- package/prisma/migrations/20240408100730_template_component/migration.sql +0 -12
- package/prisma/migrations/20240409094754_template/migration.sql +0 -2
- package/prisma/migrations/20240409095653_template/migration.sql +0 -2
- package/prisma/migrations/20240409100032_features/migration.sql +0 -2
- package/prisma/migrations/20240409100313_project/migration.sql +0 -5
- package/prisma/migrations/20240411073053_subject_email_configurations/migration.sql +0 -2
- package/prisma/migrations/20240412093517_work_order_tasks/migration.sql +0 -3
- package/prisma/migrations/20240413085449_problem_categorization/migration.sql +0 -5
- package/prisma/migrations/20240415101559_project/migration.sql +0 -20
- package/prisma/migrations/20240417062104_sync_to_git/migration.sql +0 -122
- package/prisma/migrations/20240417125606_workorder/migration.sql +0 -2
- package/prisma/migrations/20240422112728_movement_logs/migration.sql +0 -17
- package/prisma/migrations/20240423100846_work_order_task/migration.sql +0 -3
- package/prisma/migrations/20240428163748_email_count/migration.sql +0 -6
- package/prisma/migrations/20240430112607_work_order_edit_logs/migration.sql +0 -25
- package/prisma/migrations/20240502051952_template_status_color/migration.sql +0 -2
- package/prisma/migrations/20240506195539_projecttypes/migration.sql +0 -29
- package/prisma/migrations/20240508074229_workorder_task/migration.sql +0 -2
- package/prisma/migrations/20240515065236_coms/migration.sql +0 -21
- package/prisma/migrations/20240516093046_subsidiary_prefix/migration.sql +0 -2
- package/prisma/migrations/20240516170701_/migration.sql +0 -9
- package/prisma/migrations/20240520093356_emailconfig/migration.sql +0 -13
- package/prisma/migrations/20240530093136_emailtemplates/migration.sql +0 -24
- package/prisma/migrations/20240530110729_emailtemplates/migration.sql +0 -4
- package/prisma/migrations/20240530113416_emailtemplates/migration.sql +0 -9
- package/prisma/migrations/20240605072947_audit/migration.sql +0 -2
- package/prisma/migrations/20240605130105_notification_tokens/migration.sql +0 -2
- package/prisma/migrations/20240606074325_notifications/migration.sql +0 -21
- package/prisma/migrations/20240606074819_notif2/migration.sql +0 -8
- package/prisma/migrations/20240606172109_excel_config/migration.sql +0 -2
- package/prisma/migrations/20240607094457_reportformats/migration.sql +0 -27
- package/prisma/migrations/20240611101040_audit_matrices/migration.sql +0 -2
- package/prisma/migrations/20240611102951_workorder_audit_matrix/migration.sql +0 -2
- package/prisma/migrations/20240613063600_dispatch_roles/migration.sql +0 -18
- package/prisma/migrations/20240613071005_permissions_view_schedule/migration.sql +0 -2
- package/prisma/migrations/20240703093757_email_templates_templateinfo/migration.sql +0 -2
- package/prisma/migrations/20240715124159_mainproject_roles/migration.sql +0 -5
- package/prisma/migrations/20240722073020_admin_permissions_update/migration.sql +0 -4
- package/prisma/migrations/20240722082135_edit_projects/migration.sql +0 -2
- package/prisma/migrations/20240726090437_user_refresh_token/migration.sql +0 -11
- package/prisma/migrations/20240729135109_project_workflow_edit/migration.sql +0 -2
- package/prisma/migrations/20240729140705_template_component_project_index/migration.sql +0 -2
- package/prisma/migrations/20240731061332_report_format_bom_info/migration.sql +0 -2
- package/prisma/migrations/20240805073630_user_platform_relationship/migration.sql +0 -17
- package/prisma/migrations/20240809075746_workorder_sla/migration.sql +0 -2
- package/prisma/migrations/20240814094717_platform_to_project/migration.sql +0 -17
- package/prisma/migrations/20240814102025_platforms_to_project/migration.sql +0 -8
- package/prisma/migrations/20240819093908_network_elements/migration.sql +0 -239
- package/prisma/migrations/20240820092024_network_element_attributes/migration.sql +0 -276
- package/prisma/migrations/20240826083231_fat_template/migration.sql +0 -45
- package/prisma/migrations/20240826085204_pbo_pbo_template_to_project/migration.sql +0 -23
- package/prisma/migrations/20240826091924_attributes_to_fat_optional/migration.sql +0 -15
- package/prisma/migrations/20240902094457_email_signature/migration.sql +0 -2
- package/prisma/migrations/20240904092123_pbo_fat_zone_geometry/migration.sql +0 -16
- package/prisma/migrations/20240905125754_fat_name_attributes/migration.sql +0 -3
- package/prisma/migrations/20240905131742_fat_attribute_visible_on_mobile/migration.sql +0 -2
- package/prisma/migrations/20240911083041_country_list_user/migration.sql +0 -17
- package/prisma/migrations/20240911135957_actiondate_workorder_activity_log/migration.sql +0 -2
- package/prisma/migrations/20240911140227_workorder_activity_log_action_date_string_to_datetime/migration.sql +0 -9
- package/prisma/migrations/20240916130344_cable_template/migration.sql +0 -72
- package/prisma/migrations/20240916132002_cable_terminal_access/migration.sql +0 -5
- package/prisma/migrations/20240917113037_cable_id_on_cable_attributes_optional/migration.sql +0 -8
- package/prisma/migrations/20240917114004_visible_on_mobile_cable_attributes/migration.sql +0 -2
- package/prisma/migrations/20240917114107_visible_on_mobile_cable_attributes/migration.sql +0 -9
- package/prisma/migrations/20240919080014_create_cluster_and_central_office_tables/migration.sql +0 -54
- package/prisma/migrations/20240920092832_create_qr_code/migration.sql +0 -39
- package/prisma/migrations/20240924121308_qrcode_tag/migration.sql +0 -23
- package/prisma/migrations/20241003093709_integration_login_permissions/migration.sql +0 -3
- package/prisma/migrations/20241024090904_project_phase/migration.sql +0 -2
- package/prisma/migrations/20241024115650_project_phase_log/migration.sql +0 -24
- package/prisma/migrations/20241026095632_pbo_fat_attributes/migration.sql +0 -2
- package/prisma/migrations/20241028095307_qr_code_template_i_ds/migration.sql +0 -9
- package/prisma/migrations/20241029081315_add_more_network_elements/migration.sql +0 -273
- package/prisma/migrations/20241029084826_cable_coordinates/migration.sql +0 -5
- package/prisma/migrations/20241029092244_splice_closure_to_project/migration.sql +0 -5
- package/prisma/migrations/20241029092705_splice_closure_to_cluster/migration.sql +0 -5
- package/prisma/migrations/20241029094049_network_element_templates/migration.sql +0 -295
- package/prisma/migrations/20241029102645_network_elements_name/migration.sql +0 -50
- package/prisma/migrations/20241102074544_mail_carboncopy_list/migration.sql +0 -2
- package/prisma/migrations/20241104114549_change_qr_code_to_qr_code_template/migration.sql +0 -122
- package/prisma/migrations/20241104121110_qr_code_template_to_network_element_template/migration.sql +0 -33
- package/prisma/migrations/20241106101316_zone_coordinates/migration.sql +0 -5
- package/prisma/migrations/20241201141127_auto_name_elements/migration.sql +0 -39
- package/prisma/migrations/20241201144124_auto_name_element/migration.sql +0 -39
- package/prisma/migrations/20241201150401_template_index/migration.sql +0 -29
- package/prisma/migrations/20241205084445_template_id/migration.sql +0 -59
- package/prisma/migrations/20241205093552_integration_project_user_status/migration.sql +0 -23
- package/prisma/migrations/20241211093653_installation_sequence/migration.sql +0 -90
- package/prisma/migrations/20241211150807_installation_index/migration.sql +0 -2
- package/prisma/migrations/20241217082800_cluster_boundary/migration.sql +0 -3
- package/prisma/migrations/20250114092907_workorder_to_pbo_fat/migration.sql +0 -5
- package/prisma/migrations/20250114112746_workorder_to_sfu_and_building/migration.sql +0 -9
- package/prisma/migrations/20250211070850_networkelement_sequence/migration.sql +0 -19
- package/prisma/migrations/20250211072332_refresh_db/migration.sql +0 -95
- package/prisma/migrations/20250211080946_installation_sequence_self_relation/migration.sql +0 -6
- package/prisma/migrations/20250220100853_cluster_to_user_status/migration.sql +0 -32
- package/prisma/migrations/20250228100106_qr_code_template_to_cluster/migration.sql +0 -5
- package/prisma/migrations/20250304155122_clusters_to_users_centraloffices_to_users/migration.sql +0 -50
- package/prisma/migrations/20250306100801_templates_to_projects/migration.sql +0 -244
- package/prisma/migrations/20250306101814_cluster_naming_convention/migration.sql +0 -2
- package/prisma/migrations/20250311083647_previous_equipment/migration.sql +0 -28
- package/prisma/migrations/20250311141713_make_qrcode_template_prefix_unique/migration.sql +0 -8
- package/prisma/migrations/20250313114158_ne_coordinates/migration.sql +0 -32
- package/prisma/migrations/20250317072348_integration_user_location_model/migration.sql +0 -23
- package/prisma/migrations/20250416100413_standardize_cluster_centraloffice_qrcode/migration.sql +0 -8
- package/prisma/migrations/20250514130302_work_order_pause_table/migration.sql +0 -18
- package/prisma/migrations/20250514143429_work_order_pauses_end_at_nullable/migration.sql +0 -2
- package/prisma/migrations/20250514144701_workorder_is_paused_column/migration.sql +0 -2
- package/prisma/migrations/20250516124919_team_to_dispatch_team/migration.sql +0 -5
- package/prisma/migrations/20250519061226_camusat_client_to_user/migration.sql +0 -16
- package/prisma/migrations/20250611094742_integration_reports_kpi/migration.sql +0 -136
- package/prisma/migrations/20250618064448_optionalize_report_metrics/migration.sql +0 -4
- package/prisma/migrations/20250618072220_metricids_to_reportvisualization/migration.sql +0 -12
- package/prisma/migrations/20250618140056_report_metric_type/migration.sql +0 -5
- package/prisma/migrations/20250701090108_network_element_classification/migration.sql +0 -5
- package/prisma/migrations/20250701095803_network_element_texts/migration.sql +0 -59
- package/prisma/migrations/20250702092223_network_elements_files/migration.sql +0 -59
- package/prisma/migrations/20250730060532_mapelements/migration.sql +0 -95
- package/prisma/migrations/20250730080107_map_element_type/migration.sql +0 -8
- package/prisma/migrations/20250730152717_map_element_templates_to_projects/migration.sql +0 -28
- package/prisma/migrations/20250825114129_as_built_coordinates/migration.sql +0 -23
- package/prisma/migrations/20250826103723_central_office_team/migration.sql +0 -44
- package/prisma/migrations/20250828071450_is_installed/migration.sql +0 -37
- package/prisma/migrations/20250828080138_installation_status/migration.sql +0 -2
- package/prisma/migrations/20250901055110_web_notifications/migration.sql +0 -8
- package/prisma/migrations/20250901072039_cluster_comments/migration.sql +0 -22
- package/prisma/migrations/20250901112738_cluster_status_phase/migration.sql +0 -17
- package/prisma/migrations/20250902073555_cluster_comments_type/migration.sql +0 -9
- package/prisma/migrations/20250902170717_ne_installation_status/migration.sql +0 -35
- package/prisma/migrations/20250903092620_network_element_revision/migration.sql +0 -91
- package/prisma/migrations/20250903094438_revision_to_cluster/migration.sql +0 -5
- package/prisma/migrations/20250909084233_element_node/migration.sql +0 -191
- package/prisma/migrations/20250925093531_cluster_notes/migration.sql +0 -27
- package/prisma/migrations/20251010080110_create_conduit_ne/migration.sql +0 -212
- package/prisma/migrations/20251010083652_conduit_coordinates/migration.sql +0 -2
- package/prisma/migrations/20251015110151_denormalized_attributes_fat/migration.sql +0 -79
- package/prisma/migrations/20251015114440_fat_maximum_capacity/migration.sql +0 -9
- package/prisma/migrations/20251022155308_client_revision_id/migration.sql +0 -2
- package/prisma/migrations/20251023080808_backfill_ne_attributes/migration.sql +0 -164
- package/prisma/migrations/20251023103204_ne_attribute_addition/migration.sql +0 -24
- package/prisma/migrations/20251023170405_building_address/migration.sql +0 -2
- package/prisma/migrations/20251025065659_sfu_address/migration.sql +0 -2
- package/prisma/migrations/20251028133222_workorder_config_custom_sla/migration.sql +0 -3
- package/prisma/migrations/20251029064618_sla_start_at/migration.sql +0 -2
- package/prisma/migrations/20251029072210_workorder_comments/migration.sql +0 -23
- package/prisma/migrations/20251105075805_cable_subcable/migration.sql +0 -7
- package/prisma/migrations/20251106090226_conduit_name_prefix/migration.sql +0 -2
- package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +0 -2
- package/prisma/migrations/migration_lock.toml +0 -3
- package/prisma.config.ts +0 -18
|
@@ -1,1963 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file exports the `Material` model and its related types.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums.js"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Model Material
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type MaterialModel = runtime.Types.Result.DefaultSelection<Prisma.$MaterialPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateMaterial = {
|
|
22
|
-
_count: MaterialCountAggregateOutputType | null
|
|
23
|
-
_avg: MaterialAvgAggregateOutputType | null
|
|
24
|
-
_sum: MaterialSumAggregateOutputType | null
|
|
25
|
-
_min: MaterialMinAggregateOutputType | null
|
|
26
|
-
_max: MaterialMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type MaterialAvgAggregateOutputType = {
|
|
30
|
-
no: number | null
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type MaterialSumAggregateOutputType = {
|
|
34
|
-
no: number | null
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type MaterialMinAggregateOutputType = {
|
|
38
|
-
id: string | null
|
|
39
|
-
no: number | null
|
|
40
|
-
name: string | null
|
|
41
|
-
code: string | null
|
|
42
|
-
description: string | null
|
|
43
|
-
unit: string | null
|
|
44
|
-
status: string | null
|
|
45
|
-
createdAt: Date | null
|
|
46
|
-
updatedAt: Date | null
|
|
47
|
-
deletedAt: Date | null
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export type MaterialMaxAggregateOutputType = {
|
|
51
|
-
id: string | null
|
|
52
|
-
no: number | null
|
|
53
|
-
name: string | null
|
|
54
|
-
code: string | null
|
|
55
|
-
description: string | null
|
|
56
|
-
unit: string | null
|
|
57
|
-
status: string | null
|
|
58
|
-
createdAt: Date | null
|
|
59
|
-
updatedAt: Date | null
|
|
60
|
-
deletedAt: Date | null
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export type MaterialCountAggregateOutputType = {
|
|
64
|
-
id: number
|
|
65
|
-
no: number
|
|
66
|
-
name: number
|
|
67
|
-
code: number
|
|
68
|
-
description: number
|
|
69
|
-
unit: number
|
|
70
|
-
status: number
|
|
71
|
-
createdAt: number
|
|
72
|
-
updatedAt: number
|
|
73
|
-
deletedAt: number
|
|
74
|
-
_all: number
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
export type MaterialAvgAggregateInputType = {
|
|
79
|
-
no?: true
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type MaterialSumAggregateInputType = {
|
|
83
|
-
no?: true
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export type MaterialMinAggregateInputType = {
|
|
87
|
-
id?: true
|
|
88
|
-
no?: true
|
|
89
|
-
name?: true
|
|
90
|
-
code?: true
|
|
91
|
-
description?: true
|
|
92
|
-
unit?: true
|
|
93
|
-
status?: true
|
|
94
|
-
createdAt?: true
|
|
95
|
-
updatedAt?: true
|
|
96
|
-
deletedAt?: true
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export type MaterialMaxAggregateInputType = {
|
|
100
|
-
id?: true
|
|
101
|
-
no?: true
|
|
102
|
-
name?: true
|
|
103
|
-
code?: true
|
|
104
|
-
description?: true
|
|
105
|
-
unit?: true
|
|
106
|
-
status?: true
|
|
107
|
-
createdAt?: true
|
|
108
|
-
updatedAt?: true
|
|
109
|
-
deletedAt?: true
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export type MaterialCountAggregateInputType = {
|
|
113
|
-
id?: true
|
|
114
|
-
no?: true
|
|
115
|
-
name?: true
|
|
116
|
-
code?: true
|
|
117
|
-
description?: true
|
|
118
|
-
unit?: true
|
|
119
|
-
status?: true
|
|
120
|
-
createdAt?: true
|
|
121
|
-
updatedAt?: true
|
|
122
|
-
deletedAt?: true
|
|
123
|
-
_all?: true
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export type MaterialAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
-
/**
|
|
128
|
-
* Filter which Material to aggregate.
|
|
129
|
-
*/
|
|
130
|
-
where?: Prisma.MaterialWhereInput
|
|
131
|
-
/**
|
|
132
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
133
|
-
*
|
|
134
|
-
* Determine the order of Materials to fetch.
|
|
135
|
-
*/
|
|
136
|
-
orderBy?: Prisma.MaterialOrderByWithRelationInput | Prisma.MaterialOrderByWithRelationInput[]
|
|
137
|
-
/**
|
|
138
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
139
|
-
*
|
|
140
|
-
* Sets the start position
|
|
141
|
-
*/
|
|
142
|
-
cursor?: Prisma.MaterialWhereUniqueInput
|
|
143
|
-
/**
|
|
144
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
145
|
-
*
|
|
146
|
-
* Take `±n` Materials from the position of the cursor.
|
|
147
|
-
*/
|
|
148
|
-
take?: number
|
|
149
|
-
/**
|
|
150
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
151
|
-
*
|
|
152
|
-
* Skip the first `n` Materials.
|
|
153
|
-
*/
|
|
154
|
-
skip?: number
|
|
155
|
-
/**
|
|
156
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
-
*
|
|
158
|
-
* Count returned Materials
|
|
159
|
-
**/
|
|
160
|
-
_count?: true | MaterialCountAggregateInputType
|
|
161
|
-
/**
|
|
162
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
-
*
|
|
164
|
-
* Select which fields to average
|
|
165
|
-
**/
|
|
166
|
-
_avg?: MaterialAvgAggregateInputType
|
|
167
|
-
/**
|
|
168
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
-
*
|
|
170
|
-
* Select which fields to sum
|
|
171
|
-
**/
|
|
172
|
-
_sum?: MaterialSumAggregateInputType
|
|
173
|
-
/**
|
|
174
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
-
*
|
|
176
|
-
* Select which fields to find the minimum value
|
|
177
|
-
**/
|
|
178
|
-
_min?: MaterialMinAggregateInputType
|
|
179
|
-
/**
|
|
180
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
-
*
|
|
182
|
-
* Select which fields to find the maximum value
|
|
183
|
-
**/
|
|
184
|
-
_max?: MaterialMaxAggregateInputType
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export type GetMaterialAggregateType<T extends MaterialAggregateArgs> = {
|
|
188
|
-
[P in keyof T & keyof AggregateMaterial]: P extends '_count' | 'count'
|
|
189
|
-
? T[P] extends true
|
|
190
|
-
? number
|
|
191
|
-
: Prisma.GetScalarType<T[P], AggregateMaterial[P]>
|
|
192
|
-
: Prisma.GetScalarType<T[P], AggregateMaterial[P]>
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
export type MaterialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
199
|
-
where?: Prisma.MaterialWhereInput
|
|
200
|
-
orderBy?: Prisma.MaterialOrderByWithAggregationInput | Prisma.MaterialOrderByWithAggregationInput[]
|
|
201
|
-
by: Prisma.MaterialScalarFieldEnum[] | Prisma.MaterialScalarFieldEnum
|
|
202
|
-
having?: Prisma.MaterialScalarWhereWithAggregatesInput
|
|
203
|
-
take?: number
|
|
204
|
-
skip?: number
|
|
205
|
-
_count?: MaterialCountAggregateInputType | true
|
|
206
|
-
_avg?: MaterialAvgAggregateInputType
|
|
207
|
-
_sum?: MaterialSumAggregateInputType
|
|
208
|
-
_min?: MaterialMinAggregateInputType
|
|
209
|
-
_max?: MaterialMaxAggregateInputType
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
export type MaterialGroupByOutputType = {
|
|
213
|
-
id: string
|
|
214
|
-
no: number
|
|
215
|
-
name: string
|
|
216
|
-
code: string
|
|
217
|
-
description: string | null
|
|
218
|
-
unit: string
|
|
219
|
-
status: string
|
|
220
|
-
createdAt: Date
|
|
221
|
-
updatedAt: Date
|
|
222
|
-
deletedAt: Date | null
|
|
223
|
-
_count: MaterialCountAggregateOutputType | null
|
|
224
|
-
_avg: MaterialAvgAggregateOutputType | null
|
|
225
|
-
_sum: MaterialSumAggregateOutputType | null
|
|
226
|
-
_min: MaterialMinAggregateOutputType | null
|
|
227
|
-
_max: MaterialMaxAggregateOutputType | null
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
type GetMaterialGroupByPayload<T extends MaterialGroupByArgs> = Prisma.PrismaPromise<
|
|
231
|
-
Array<
|
|
232
|
-
Prisma.PickEnumerable<MaterialGroupByOutputType, T['by']> &
|
|
233
|
-
{
|
|
234
|
-
[P in ((keyof T) & (keyof MaterialGroupByOutputType))]: P extends '_count'
|
|
235
|
-
? T[P] extends boolean
|
|
236
|
-
? number
|
|
237
|
-
: Prisma.GetScalarType<T[P], MaterialGroupByOutputType[P]>
|
|
238
|
-
: Prisma.GetScalarType<T[P], MaterialGroupByOutputType[P]>
|
|
239
|
-
}
|
|
240
|
-
>
|
|
241
|
-
>
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
export type MaterialWhereInput = {
|
|
246
|
-
AND?: Prisma.MaterialWhereInput | Prisma.MaterialWhereInput[]
|
|
247
|
-
OR?: Prisma.MaterialWhereInput[]
|
|
248
|
-
NOT?: Prisma.MaterialWhereInput | Prisma.MaterialWhereInput[]
|
|
249
|
-
id?: Prisma.StringFilter<"Material"> | string
|
|
250
|
-
no?: Prisma.IntFilter<"Material"> | number
|
|
251
|
-
name?: Prisma.StringFilter<"Material"> | string
|
|
252
|
-
code?: Prisma.StringFilter<"Material"> | string
|
|
253
|
-
description?: Prisma.StringNullableFilter<"Material"> | string | null
|
|
254
|
-
unit?: Prisma.StringFilter<"Material"> | string
|
|
255
|
-
status?: Prisma.StringFilter<"Material"> | string
|
|
256
|
-
createdAt?: Prisma.DateTimeFilter<"Material"> | Date | string
|
|
257
|
-
updatedAt?: Prisma.DateTimeFilter<"Material"> | Date | string
|
|
258
|
-
deletedAt?: Prisma.DateTimeNullableFilter<"Material"> | Date | string | null
|
|
259
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialListRelationFilter
|
|
260
|
-
pboFatAttributes?: Prisma.PboFatAttributesListRelationFilter
|
|
261
|
-
cableAttributes?: Prisma.CableAttributesListRelationFilter
|
|
262
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesListRelationFilter
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
export type MaterialOrderByWithRelationInput = {
|
|
266
|
-
id?: Prisma.SortOrder
|
|
267
|
-
no?: Prisma.SortOrder
|
|
268
|
-
name?: Prisma.SortOrder
|
|
269
|
-
code?: Prisma.SortOrder
|
|
270
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
271
|
-
unit?: Prisma.SortOrder
|
|
272
|
-
status?: Prisma.SortOrder
|
|
273
|
-
createdAt?: Prisma.SortOrder
|
|
274
|
-
updatedAt?: Prisma.SortOrder
|
|
275
|
-
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
276
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialOrderByRelationAggregateInput
|
|
277
|
-
pboFatAttributes?: Prisma.PboFatAttributesOrderByRelationAggregateInput
|
|
278
|
-
cableAttributes?: Prisma.CableAttributesOrderByRelationAggregateInput
|
|
279
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesOrderByRelationAggregateInput
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
export type MaterialWhereUniqueInput = Prisma.AtLeast<{
|
|
283
|
-
id?: string
|
|
284
|
-
AND?: Prisma.MaterialWhereInput | Prisma.MaterialWhereInput[]
|
|
285
|
-
OR?: Prisma.MaterialWhereInput[]
|
|
286
|
-
NOT?: Prisma.MaterialWhereInput | Prisma.MaterialWhereInput[]
|
|
287
|
-
no?: Prisma.IntFilter<"Material"> | number
|
|
288
|
-
name?: Prisma.StringFilter<"Material"> | string
|
|
289
|
-
code?: Prisma.StringFilter<"Material"> | string
|
|
290
|
-
description?: Prisma.StringNullableFilter<"Material"> | string | null
|
|
291
|
-
unit?: Prisma.StringFilter<"Material"> | string
|
|
292
|
-
status?: Prisma.StringFilter<"Material"> | string
|
|
293
|
-
createdAt?: Prisma.DateTimeFilter<"Material"> | Date | string
|
|
294
|
-
updatedAt?: Prisma.DateTimeFilter<"Material"> | Date | string
|
|
295
|
-
deletedAt?: Prisma.DateTimeNullableFilter<"Material"> | Date | string | null
|
|
296
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialListRelationFilter
|
|
297
|
-
pboFatAttributes?: Prisma.PboFatAttributesListRelationFilter
|
|
298
|
-
cableAttributes?: Prisma.CableAttributesListRelationFilter
|
|
299
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesListRelationFilter
|
|
300
|
-
}, "id" | "id">
|
|
301
|
-
|
|
302
|
-
export type MaterialOrderByWithAggregationInput = {
|
|
303
|
-
id?: Prisma.SortOrder
|
|
304
|
-
no?: Prisma.SortOrder
|
|
305
|
-
name?: Prisma.SortOrder
|
|
306
|
-
code?: Prisma.SortOrder
|
|
307
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
308
|
-
unit?: Prisma.SortOrder
|
|
309
|
-
status?: Prisma.SortOrder
|
|
310
|
-
createdAt?: Prisma.SortOrder
|
|
311
|
-
updatedAt?: Prisma.SortOrder
|
|
312
|
-
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
313
|
-
_count?: Prisma.MaterialCountOrderByAggregateInput
|
|
314
|
-
_avg?: Prisma.MaterialAvgOrderByAggregateInput
|
|
315
|
-
_max?: Prisma.MaterialMaxOrderByAggregateInput
|
|
316
|
-
_min?: Prisma.MaterialMinOrderByAggregateInput
|
|
317
|
-
_sum?: Prisma.MaterialSumOrderByAggregateInput
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
export type MaterialScalarWhereWithAggregatesInput = {
|
|
321
|
-
AND?: Prisma.MaterialScalarWhereWithAggregatesInput | Prisma.MaterialScalarWhereWithAggregatesInput[]
|
|
322
|
-
OR?: Prisma.MaterialScalarWhereWithAggregatesInput[]
|
|
323
|
-
NOT?: Prisma.MaterialScalarWhereWithAggregatesInput | Prisma.MaterialScalarWhereWithAggregatesInput[]
|
|
324
|
-
id?: Prisma.StringWithAggregatesFilter<"Material"> | string
|
|
325
|
-
no?: Prisma.IntWithAggregatesFilter<"Material"> | number
|
|
326
|
-
name?: Prisma.StringWithAggregatesFilter<"Material"> | string
|
|
327
|
-
code?: Prisma.StringWithAggregatesFilter<"Material"> | string
|
|
328
|
-
description?: Prisma.StringNullableWithAggregatesFilter<"Material"> | string | null
|
|
329
|
-
unit?: Prisma.StringWithAggregatesFilter<"Material"> | string
|
|
330
|
-
status?: Prisma.StringWithAggregatesFilter<"Material"> | string
|
|
331
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Material"> | Date | string
|
|
332
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Material"> | Date | string
|
|
333
|
-
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Material"> | Date | string | null
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
export type MaterialCreateInput = {
|
|
337
|
-
id?: string
|
|
338
|
-
no?: number
|
|
339
|
-
name: string
|
|
340
|
-
code: string
|
|
341
|
-
description?: string | null
|
|
342
|
-
unit: string
|
|
343
|
-
status?: string
|
|
344
|
-
createdAt?: Date | string
|
|
345
|
-
updatedAt?: Date | string
|
|
346
|
-
deletedAt?: Date | string | null
|
|
347
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedManyWithoutMaterialInput
|
|
348
|
-
pboFatAttributes?: Prisma.PboFatAttributesCreateNestedManyWithoutMaterialInput
|
|
349
|
-
cableAttributes?: Prisma.CableAttributesCreateNestedManyWithoutMaterialInput
|
|
350
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesCreateNestedManyWithoutMaterialInput
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
export type MaterialUncheckedCreateInput = {
|
|
354
|
-
id?: string
|
|
355
|
-
no?: number
|
|
356
|
-
name: string
|
|
357
|
-
code: string
|
|
358
|
-
description?: string | null
|
|
359
|
-
unit: string
|
|
360
|
-
status?: string
|
|
361
|
-
createdAt?: Date | string
|
|
362
|
-
updatedAt?: Date | string
|
|
363
|
-
deletedAt?: Date | string | null
|
|
364
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
365
|
-
pboFatAttributes?: Prisma.PboFatAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
366
|
-
cableAttributes?: Prisma.CableAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
367
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
export type MaterialUpdateInput = {
|
|
371
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
372
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
373
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
374
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
375
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
376
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
377
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
378
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
379
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
380
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
381
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUpdateManyWithoutMaterialNestedInput
|
|
382
|
-
pboFatAttributes?: Prisma.PboFatAttributesUpdateManyWithoutMaterialNestedInput
|
|
383
|
-
cableAttributes?: Prisma.CableAttributesUpdateManyWithoutMaterialNestedInput
|
|
384
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUpdateManyWithoutMaterialNestedInput
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
export type MaterialUncheckedUpdateInput = {
|
|
388
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
389
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
390
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
391
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
392
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
393
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
394
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
395
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
396
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
397
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
398
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
399
|
-
pboFatAttributes?: Prisma.PboFatAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
400
|
-
cableAttributes?: Prisma.CableAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
401
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
export type MaterialCreateManyInput = {
|
|
405
|
-
id?: string
|
|
406
|
-
no?: number
|
|
407
|
-
name: string
|
|
408
|
-
code: string
|
|
409
|
-
description?: string | null
|
|
410
|
-
unit: string
|
|
411
|
-
status?: string
|
|
412
|
-
createdAt?: Date | string
|
|
413
|
-
updatedAt?: Date | string
|
|
414
|
-
deletedAt?: Date | string | null
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
export type MaterialUpdateManyMutationInput = {
|
|
418
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
419
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
420
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
421
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
422
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
423
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
424
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
425
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
426
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
427
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
export type MaterialUncheckedUpdateManyInput = {
|
|
431
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
432
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
433
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
434
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
435
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
436
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
437
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
438
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
439
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
440
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
export type MaterialCountOrderByAggregateInput = {
|
|
444
|
-
id?: Prisma.SortOrder
|
|
445
|
-
no?: Prisma.SortOrder
|
|
446
|
-
name?: Prisma.SortOrder
|
|
447
|
-
code?: Prisma.SortOrder
|
|
448
|
-
description?: Prisma.SortOrder
|
|
449
|
-
unit?: Prisma.SortOrder
|
|
450
|
-
status?: Prisma.SortOrder
|
|
451
|
-
createdAt?: Prisma.SortOrder
|
|
452
|
-
updatedAt?: Prisma.SortOrder
|
|
453
|
-
deletedAt?: Prisma.SortOrder
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
export type MaterialAvgOrderByAggregateInput = {
|
|
457
|
-
no?: Prisma.SortOrder
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
export type MaterialMaxOrderByAggregateInput = {
|
|
461
|
-
id?: Prisma.SortOrder
|
|
462
|
-
no?: Prisma.SortOrder
|
|
463
|
-
name?: Prisma.SortOrder
|
|
464
|
-
code?: Prisma.SortOrder
|
|
465
|
-
description?: Prisma.SortOrder
|
|
466
|
-
unit?: Prisma.SortOrder
|
|
467
|
-
status?: Prisma.SortOrder
|
|
468
|
-
createdAt?: Prisma.SortOrder
|
|
469
|
-
updatedAt?: Prisma.SortOrder
|
|
470
|
-
deletedAt?: Prisma.SortOrder
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
export type MaterialMinOrderByAggregateInput = {
|
|
474
|
-
id?: Prisma.SortOrder
|
|
475
|
-
no?: Prisma.SortOrder
|
|
476
|
-
name?: Prisma.SortOrder
|
|
477
|
-
code?: Prisma.SortOrder
|
|
478
|
-
description?: Prisma.SortOrder
|
|
479
|
-
unit?: Prisma.SortOrder
|
|
480
|
-
status?: Prisma.SortOrder
|
|
481
|
-
createdAt?: Prisma.SortOrder
|
|
482
|
-
updatedAt?: Prisma.SortOrder
|
|
483
|
-
deletedAt?: Prisma.SortOrder
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
export type MaterialSumOrderByAggregateInput = {
|
|
487
|
-
no?: Prisma.SortOrder
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
export type MaterialScalarRelationFilter = {
|
|
491
|
-
is?: Prisma.MaterialWhereInput
|
|
492
|
-
isNot?: Prisma.MaterialWhereInput
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
export type MaterialNullableScalarRelationFilter = {
|
|
496
|
-
is?: Prisma.MaterialWhereInput | null
|
|
497
|
-
isNot?: Prisma.MaterialWhereInput | null
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
export type MaterialCreateNestedOneWithoutBillOfMaterialInput = {
|
|
501
|
-
create?: Prisma.XOR<Prisma.MaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialUncheckedCreateWithoutBillOfMaterialInput>
|
|
502
|
-
connectOrCreate?: Prisma.MaterialCreateOrConnectWithoutBillOfMaterialInput
|
|
503
|
-
connect?: Prisma.MaterialWhereUniqueInput
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
export type MaterialUpdateOneRequiredWithoutBillOfMaterialNestedInput = {
|
|
507
|
-
create?: Prisma.XOR<Prisma.MaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialUncheckedCreateWithoutBillOfMaterialInput>
|
|
508
|
-
connectOrCreate?: Prisma.MaterialCreateOrConnectWithoutBillOfMaterialInput
|
|
509
|
-
upsert?: Prisma.MaterialUpsertWithoutBillOfMaterialInput
|
|
510
|
-
connect?: Prisma.MaterialWhereUniqueInput
|
|
511
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MaterialUpdateToOneWithWhereWithoutBillOfMaterialInput, Prisma.MaterialUpdateWithoutBillOfMaterialInput>, Prisma.MaterialUncheckedUpdateWithoutBillOfMaterialInput>
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
export type MaterialCreateNestedOneWithoutCableAttributesInput = {
|
|
515
|
-
create?: Prisma.XOR<Prisma.MaterialCreateWithoutCableAttributesInput, Prisma.MaterialUncheckedCreateWithoutCableAttributesInput>
|
|
516
|
-
connectOrCreate?: Prisma.MaterialCreateOrConnectWithoutCableAttributesInput
|
|
517
|
-
connect?: Prisma.MaterialWhereUniqueInput
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
export type MaterialUpdateOneWithoutCableAttributesNestedInput = {
|
|
521
|
-
create?: Prisma.XOR<Prisma.MaterialCreateWithoutCableAttributesInput, Prisma.MaterialUncheckedCreateWithoutCableAttributesInput>
|
|
522
|
-
connectOrCreate?: Prisma.MaterialCreateOrConnectWithoutCableAttributesInput
|
|
523
|
-
upsert?: Prisma.MaterialUpsertWithoutCableAttributesInput
|
|
524
|
-
disconnect?: Prisma.MaterialWhereInput | boolean
|
|
525
|
-
delete?: Prisma.MaterialWhereInput | boolean
|
|
526
|
-
connect?: Prisma.MaterialWhereUniqueInput
|
|
527
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MaterialUpdateToOneWithWhereWithoutCableAttributesInput, Prisma.MaterialUpdateWithoutCableAttributesInput>, Prisma.MaterialUncheckedUpdateWithoutCableAttributesInput>
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
export type MaterialCreateNestedOneWithoutPboFatAttributesInput = {
|
|
531
|
-
create?: Prisma.XOR<Prisma.MaterialCreateWithoutPboFatAttributesInput, Prisma.MaterialUncheckedCreateWithoutPboFatAttributesInput>
|
|
532
|
-
connectOrCreate?: Prisma.MaterialCreateOrConnectWithoutPboFatAttributesInput
|
|
533
|
-
connect?: Prisma.MaterialWhereUniqueInput
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
export type MaterialUpdateOneWithoutPboFatAttributesNestedInput = {
|
|
537
|
-
create?: Prisma.XOR<Prisma.MaterialCreateWithoutPboFatAttributesInput, Prisma.MaterialUncheckedCreateWithoutPboFatAttributesInput>
|
|
538
|
-
connectOrCreate?: Prisma.MaterialCreateOrConnectWithoutPboFatAttributesInput
|
|
539
|
-
upsert?: Prisma.MaterialUpsertWithoutPboFatAttributesInput
|
|
540
|
-
disconnect?: Prisma.MaterialWhereInput | boolean
|
|
541
|
-
delete?: Prisma.MaterialWhereInput | boolean
|
|
542
|
-
connect?: Prisma.MaterialWhereUniqueInput
|
|
543
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MaterialUpdateToOneWithWhereWithoutPboFatAttributesInput, Prisma.MaterialUpdateWithoutPboFatAttributesInput>, Prisma.MaterialUncheckedUpdateWithoutPboFatAttributesInput>
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
export type MaterialCreateNestedOneWithoutSpliceClosureAttributesInput = {
|
|
547
|
-
create?: Prisma.XOR<Prisma.MaterialCreateWithoutSpliceClosureAttributesInput, Prisma.MaterialUncheckedCreateWithoutSpliceClosureAttributesInput>
|
|
548
|
-
connectOrCreate?: Prisma.MaterialCreateOrConnectWithoutSpliceClosureAttributesInput
|
|
549
|
-
connect?: Prisma.MaterialWhereUniqueInput
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
export type MaterialUpdateOneWithoutSpliceClosureAttributesNestedInput = {
|
|
553
|
-
create?: Prisma.XOR<Prisma.MaterialCreateWithoutSpliceClosureAttributesInput, Prisma.MaterialUncheckedCreateWithoutSpliceClosureAttributesInput>
|
|
554
|
-
connectOrCreate?: Prisma.MaterialCreateOrConnectWithoutSpliceClosureAttributesInput
|
|
555
|
-
upsert?: Prisma.MaterialUpsertWithoutSpliceClosureAttributesInput
|
|
556
|
-
disconnect?: Prisma.MaterialWhereInput | boolean
|
|
557
|
-
delete?: Prisma.MaterialWhereInput | boolean
|
|
558
|
-
connect?: Prisma.MaterialWhereUniqueInput
|
|
559
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MaterialUpdateToOneWithWhereWithoutSpliceClosureAttributesInput, Prisma.MaterialUpdateWithoutSpliceClosureAttributesInput>, Prisma.MaterialUncheckedUpdateWithoutSpliceClosureAttributesInput>
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
export type MaterialCreateWithoutBillOfMaterialInput = {
|
|
563
|
-
id?: string
|
|
564
|
-
no?: number
|
|
565
|
-
name: string
|
|
566
|
-
code: string
|
|
567
|
-
description?: string | null
|
|
568
|
-
unit: string
|
|
569
|
-
status?: string
|
|
570
|
-
createdAt?: Date | string
|
|
571
|
-
updatedAt?: Date | string
|
|
572
|
-
deletedAt?: Date | string | null
|
|
573
|
-
pboFatAttributes?: Prisma.PboFatAttributesCreateNestedManyWithoutMaterialInput
|
|
574
|
-
cableAttributes?: Prisma.CableAttributesCreateNestedManyWithoutMaterialInput
|
|
575
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesCreateNestedManyWithoutMaterialInput
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
export type MaterialUncheckedCreateWithoutBillOfMaterialInput = {
|
|
579
|
-
id?: string
|
|
580
|
-
no?: number
|
|
581
|
-
name: string
|
|
582
|
-
code: string
|
|
583
|
-
description?: string | null
|
|
584
|
-
unit: string
|
|
585
|
-
status?: string
|
|
586
|
-
createdAt?: Date | string
|
|
587
|
-
updatedAt?: Date | string
|
|
588
|
-
deletedAt?: Date | string | null
|
|
589
|
-
pboFatAttributes?: Prisma.PboFatAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
590
|
-
cableAttributes?: Prisma.CableAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
591
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
export type MaterialCreateOrConnectWithoutBillOfMaterialInput = {
|
|
595
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
596
|
-
create: Prisma.XOR<Prisma.MaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialUncheckedCreateWithoutBillOfMaterialInput>
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
export type MaterialUpsertWithoutBillOfMaterialInput = {
|
|
600
|
-
update: Prisma.XOR<Prisma.MaterialUpdateWithoutBillOfMaterialInput, Prisma.MaterialUncheckedUpdateWithoutBillOfMaterialInput>
|
|
601
|
-
create: Prisma.XOR<Prisma.MaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialUncheckedCreateWithoutBillOfMaterialInput>
|
|
602
|
-
where?: Prisma.MaterialWhereInput
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
export type MaterialUpdateToOneWithWhereWithoutBillOfMaterialInput = {
|
|
606
|
-
where?: Prisma.MaterialWhereInput
|
|
607
|
-
data: Prisma.XOR<Prisma.MaterialUpdateWithoutBillOfMaterialInput, Prisma.MaterialUncheckedUpdateWithoutBillOfMaterialInput>
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
export type MaterialUpdateWithoutBillOfMaterialInput = {
|
|
611
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
612
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
613
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
614
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
615
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
616
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
617
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
618
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
619
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
620
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
621
|
-
pboFatAttributes?: Prisma.PboFatAttributesUpdateManyWithoutMaterialNestedInput
|
|
622
|
-
cableAttributes?: Prisma.CableAttributesUpdateManyWithoutMaterialNestedInput
|
|
623
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUpdateManyWithoutMaterialNestedInput
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
export type MaterialUncheckedUpdateWithoutBillOfMaterialInput = {
|
|
627
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
628
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
629
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
630
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
631
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
632
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
633
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
634
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
635
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
636
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
637
|
-
pboFatAttributes?: Prisma.PboFatAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
638
|
-
cableAttributes?: Prisma.CableAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
639
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
export type MaterialCreateWithoutCableAttributesInput = {
|
|
643
|
-
id?: string
|
|
644
|
-
no?: number
|
|
645
|
-
name: string
|
|
646
|
-
code: string
|
|
647
|
-
description?: string | null
|
|
648
|
-
unit: string
|
|
649
|
-
status?: string
|
|
650
|
-
createdAt?: Date | string
|
|
651
|
-
updatedAt?: Date | string
|
|
652
|
-
deletedAt?: Date | string | null
|
|
653
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedManyWithoutMaterialInput
|
|
654
|
-
pboFatAttributes?: Prisma.PboFatAttributesCreateNestedManyWithoutMaterialInput
|
|
655
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesCreateNestedManyWithoutMaterialInput
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
export type MaterialUncheckedCreateWithoutCableAttributesInput = {
|
|
659
|
-
id?: string
|
|
660
|
-
no?: number
|
|
661
|
-
name: string
|
|
662
|
-
code: string
|
|
663
|
-
description?: string | null
|
|
664
|
-
unit: string
|
|
665
|
-
status?: string
|
|
666
|
-
createdAt?: Date | string
|
|
667
|
-
updatedAt?: Date | string
|
|
668
|
-
deletedAt?: Date | string | null
|
|
669
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
670
|
-
pboFatAttributes?: Prisma.PboFatAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
671
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
export type MaterialCreateOrConnectWithoutCableAttributesInput = {
|
|
675
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
676
|
-
create: Prisma.XOR<Prisma.MaterialCreateWithoutCableAttributesInput, Prisma.MaterialUncheckedCreateWithoutCableAttributesInput>
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
export type MaterialUpsertWithoutCableAttributesInput = {
|
|
680
|
-
update: Prisma.XOR<Prisma.MaterialUpdateWithoutCableAttributesInput, Prisma.MaterialUncheckedUpdateWithoutCableAttributesInput>
|
|
681
|
-
create: Prisma.XOR<Prisma.MaterialCreateWithoutCableAttributesInput, Prisma.MaterialUncheckedCreateWithoutCableAttributesInput>
|
|
682
|
-
where?: Prisma.MaterialWhereInput
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
export type MaterialUpdateToOneWithWhereWithoutCableAttributesInput = {
|
|
686
|
-
where?: Prisma.MaterialWhereInput
|
|
687
|
-
data: Prisma.XOR<Prisma.MaterialUpdateWithoutCableAttributesInput, Prisma.MaterialUncheckedUpdateWithoutCableAttributesInput>
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
export type MaterialUpdateWithoutCableAttributesInput = {
|
|
691
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
692
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
693
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
694
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
695
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
696
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
697
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
698
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
699
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
700
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
701
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUpdateManyWithoutMaterialNestedInput
|
|
702
|
-
pboFatAttributes?: Prisma.PboFatAttributesUpdateManyWithoutMaterialNestedInput
|
|
703
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUpdateManyWithoutMaterialNestedInput
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
export type MaterialUncheckedUpdateWithoutCableAttributesInput = {
|
|
707
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
708
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
709
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
710
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
711
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
712
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
713
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
714
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
715
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
716
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
717
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
718
|
-
pboFatAttributes?: Prisma.PboFatAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
719
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
export type MaterialCreateWithoutPboFatAttributesInput = {
|
|
723
|
-
id?: string
|
|
724
|
-
no?: number
|
|
725
|
-
name: string
|
|
726
|
-
code: string
|
|
727
|
-
description?: string | null
|
|
728
|
-
unit: string
|
|
729
|
-
status?: string
|
|
730
|
-
createdAt?: Date | string
|
|
731
|
-
updatedAt?: Date | string
|
|
732
|
-
deletedAt?: Date | string | null
|
|
733
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedManyWithoutMaterialInput
|
|
734
|
-
cableAttributes?: Prisma.CableAttributesCreateNestedManyWithoutMaterialInput
|
|
735
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesCreateNestedManyWithoutMaterialInput
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
export type MaterialUncheckedCreateWithoutPboFatAttributesInput = {
|
|
739
|
-
id?: string
|
|
740
|
-
no?: number
|
|
741
|
-
name: string
|
|
742
|
-
code: string
|
|
743
|
-
description?: string | null
|
|
744
|
-
unit: string
|
|
745
|
-
status?: string
|
|
746
|
-
createdAt?: Date | string
|
|
747
|
-
updatedAt?: Date | string
|
|
748
|
-
deletedAt?: Date | string | null
|
|
749
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
750
|
-
cableAttributes?: Prisma.CableAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
751
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
export type MaterialCreateOrConnectWithoutPboFatAttributesInput = {
|
|
755
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
756
|
-
create: Prisma.XOR<Prisma.MaterialCreateWithoutPboFatAttributesInput, Prisma.MaterialUncheckedCreateWithoutPboFatAttributesInput>
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
export type MaterialUpsertWithoutPboFatAttributesInput = {
|
|
760
|
-
update: Prisma.XOR<Prisma.MaterialUpdateWithoutPboFatAttributesInput, Prisma.MaterialUncheckedUpdateWithoutPboFatAttributesInput>
|
|
761
|
-
create: Prisma.XOR<Prisma.MaterialCreateWithoutPboFatAttributesInput, Prisma.MaterialUncheckedCreateWithoutPboFatAttributesInput>
|
|
762
|
-
where?: Prisma.MaterialWhereInput
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
export type MaterialUpdateToOneWithWhereWithoutPboFatAttributesInput = {
|
|
766
|
-
where?: Prisma.MaterialWhereInput
|
|
767
|
-
data: Prisma.XOR<Prisma.MaterialUpdateWithoutPboFatAttributesInput, Prisma.MaterialUncheckedUpdateWithoutPboFatAttributesInput>
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
export type MaterialUpdateWithoutPboFatAttributesInput = {
|
|
771
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
772
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
773
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
774
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
775
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
776
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
777
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
778
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
779
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
780
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
781
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUpdateManyWithoutMaterialNestedInput
|
|
782
|
-
cableAttributes?: Prisma.CableAttributesUpdateManyWithoutMaterialNestedInput
|
|
783
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUpdateManyWithoutMaterialNestedInput
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
export type MaterialUncheckedUpdateWithoutPboFatAttributesInput = {
|
|
787
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
788
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
789
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
790
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
791
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
792
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
793
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
794
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
795
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
796
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
797
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
798
|
-
cableAttributes?: Prisma.CableAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
799
|
-
spliceClosureAttributes?: Prisma.SpliceClosureAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
export type MaterialCreateWithoutSpliceClosureAttributesInput = {
|
|
803
|
-
id?: string
|
|
804
|
-
no?: number
|
|
805
|
-
name: string
|
|
806
|
-
code: string
|
|
807
|
-
description?: string | null
|
|
808
|
-
unit: string
|
|
809
|
-
status?: string
|
|
810
|
-
createdAt?: Date | string
|
|
811
|
-
updatedAt?: Date | string
|
|
812
|
-
deletedAt?: Date | string | null
|
|
813
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialCreateNestedManyWithoutMaterialInput
|
|
814
|
-
pboFatAttributes?: Prisma.PboFatAttributesCreateNestedManyWithoutMaterialInput
|
|
815
|
-
cableAttributes?: Prisma.CableAttributesCreateNestedManyWithoutMaterialInput
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
export type MaterialUncheckedCreateWithoutSpliceClosureAttributesInput = {
|
|
819
|
-
id?: string
|
|
820
|
-
no?: number
|
|
821
|
-
name: string
|
|
822
|
-
code: string
|
|
823
|
-
description?: string | null
|
|
824
|
-
unit: string
|
|
825
|
-
status?: string
|
|
826
|
-
createdAt?: Date | string
|
|
827
|
-
updatedAt?: Date | string
|
|
828
|
-
deletedAt?: Date | string | null
|
|
829
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUncheckedCreateNestedManyWithoutMaterialInput
|
|
830
|
-
pboFatAttributes?: Prisma.PboFatAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
831
|
-
cableAttributes?: Prisma.CableAttributesUncheckedCreateNestedManyWithoutMaterialInput
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
export type MaterialCreateOrConnectWithoutSpliceClosureAttributesInput = {
|
|
835
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
836
|
-
create: Prisma.XOR<Prisma.MaterialCreateWithoutSpliceClosureAttributesInput, Prisma.MaterialUncheckedCreateWithoutSpliceClosureAttributesInput>
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export type MaterialUpsertWithoutSpliceClosureAttributesInput = {
|
|
840
|
-
update: Prisma.XOR<Prisma.MaterialUpdateWithoutSpliceClosureAttributesInput, Prisma.MaterialUncheckedUpdateWithoutSpliceClosureAttributesInput>
|
|
841
|
-
create: Prisma.XOR<Prisma.MaterialCreateWithoutSpliceClosureAttributesInput, Prisma.MaterialUncheckedCreateWithoutSpliceClosureAttributesInput>
|
|
842
|
-
where?: Prisma.MaterialWhereInput
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
export type MaterialUpdateToOneWithWhereWithoutSpliceClosureAttributesInput = {
|
|
846
|
-
where?: Prisma.MaterialWhereInput
|
|
847
|
-
data: Prisma.XOR<Prisma.MaterialUpdateWithoutSpliceClosureAttributesInput, Prisma.MaterialUncheckedUpdateWithoutSpliceClosureAttributesInput>
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
export type MaterialUpdateWithoutSpliceClosureAttributesInput = {
|
|
851
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
852
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
853
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
854
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
855
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
856
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
857
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
858
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
859
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
860
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
861
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUpdateManyWithoutMaterialNestedInput
|
|
862
|
-
pboFatAttributes?: Prisma.PboFatAttributesUpdateManyWithoutMaterialNestedInput
|
|
863
|
-
cableAttributes?: Prisma.CableAttributesUpdateManyWithoutMaterialNestedInput
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
export type MaterialUncheckedUpdateWithoutSpliceClosureAttributesInput = {
|
|
867
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
868
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
869
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
870
|
-
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
871
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
872
|
-
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
|
873
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
874
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
875
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
876
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
877
|
-
billOfMaterial?: Prisma.MaterialBillOfMaterialUncheckedUpdateManyWithoutMaterialNestedInput
|
|
878
|
-
pboFatAttributes?: Prisma.PboFatAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
879
|
-
cableAttributes?: Prisma.CableAttributesUncheckedUpdateManyWithoutMaterialNestedInput
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* Count Type MaterialCountOutputType
|
|
885
|
-
*/
|
|
886
|
-
|
|
887
|
-
export type MaterialCountOutputType = {
|
|
888
|
-
billOfMaterial: number
|
|
889
|
-
pboFatAttributes: number
|
|
890
|
-
cableAttributes: number
|
|
891
|
-
spliceClosureAttributes: number
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
export type MaterialCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
895
|
-
billOfMaterial?: boolean | MaterialCountOutputTypeCountBillOfMaterialArgs
|
|
896
|
-
pboFatAttributes?: boolean | MaterialCountOutputTypeCountPboFatAttributesArgs
|
|
897
|
-
cableAttributes?: boolean | MaterialCountOutputTypeCountCableAttributesArgs
|
|
898
|
-
spliceClosureAttributes?: boolean | MaterialCountOutputTypeCountSpliceClosureAttributesArgs
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* MaterialCountOutputType without action
|
|
903
|
-
*/
|
|
904
|
-
export type MaterialCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
905
|
-
/**
|
|
906
|
-
* Select specific fields to fetch from the MaterialCountOutputType
|
|
907
|
-
*/
|
|
908
|
-
select?: Prisma.MaterialCountOutputTypeSelect<ExtArgs> | null
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* MaterialCountOutputType without action
|
|
913
|
-
*/
|
|
914
|
-
export type MaterialCountOutputTypeCountBillOfMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
915
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
/**
|
|
919
|
-
* MaterialCountOutputType without action
|
|
920
|
-
*/
|
|
921
|
-
export type MaterialCountOutputTypeCountPboFatAttributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
922
|
-
where?: Prisma.PboFatAttributesWhereInput
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* MaterialCountOutputType without action
|
|
927
|
-
*/
|
|
928
|
-
export type MaterialCountOutputTypeCountCableAttributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
929
|
-
where?: Prisma.CableAttributesWhereInput
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
/**
|
|
933
|
-
* MaterialCountOutputType without action
|
|
934
|
-
*/
|
|
935
|
-
export type MaterialCountOutputTypeCountSpliceClosureAttributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
936
|
-
where?: Prisma.SpliceClosureAttributesWhereInput
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
export type MaterialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
941
|
-
id?: boolean
|
|
942
|
-
no?: boolean
|
|
943
|
-
name?: boolean
|
|
944
|
-
code?: boolean
|
|
945
|
-
description?: boolean
|
|
946
|
-
unit?: boolean
|
|
947
|
-
status?: boolean
|
|
948
|
-
createdAt?: boolean
|
|
949
|
-
updatedAt?: boolean
|
|
950
|
-
deletedAt?: boolean
|
|
951
|
-
billOfMaterial?: boolean | Prisma.Material$billOfMaterialArgs<ExtArgs>
|
|
952
|
-
pboFatAttributes?: boolean | Prisma.Material$pboFatAttributesArgs<ExtArgs>
|
|
953
|
-
cableAttributes?: boolean | Prisma.Material$cableAttributesArgs<ExtArgs>
|
|
954
|
-
spliceClosureAttributes?: boolean | Prisma.Material$spliceClosureAttributesArgs<ExtArgs>
|
|
955
|
-
_count?: boolean | Prisma.MaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
956
|
-
}, ExtArgs["result"]["material"]>
|
|
957
|
-
|
|
958
|
-
export type MaterialSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
959
|
-
id?: boolean
|
|
960
|
-
no?: boolean
|
|
961
|
-
name?: boolean
|
|
962
|
-
code?: boolean
|
|
963
|
-
description?: boolean
|
|
964
|
-
unit?: boolean
|
|
965
|
-
status?: boolean
|
|
966
|
-
createdAt?: boolean
|
|
967
|
-
updatedAt?: boolean
|
|
968
|
-
deletedAt?: boolean
|
|
969
|
-
}, ExtArgs["result"]["material"]>
|
|
970
|
-
|
|
971
|
-
export type MaterialSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
972
|
-
id?: boolean
|
|
973
|
-
no?: boolean
|
|
974
|
-
name?: boolean
|
|
975
|
-
code?: boolean
|
|
976
|
-
description?: boolean
|
|
977
|
-
unit?: boolean
|
|
978
|
-
status?: boolean
|
|
979
|
-
createdAt?: boolean
|
|
980
|
-
updatedAt?: boolean
|
|
981
|
-
deletedAt?: boolean
|
|
982
|
-
}, ExtArgs["result"]["material"]>
|
|
983
|
-
|
|
984
|
-
export type MaterialSelectScalar = {
|
|
985
|
-
id?: boolean
|
|
986
|
-
no?: boolean
|
|
987
|
-
name?: boolean
|
|
988
|
-
code?: boolean
|
|
989
|
-
description?: boolean
|
|
990
|
-
unit?: boolean
|
|
991
|
-
status?: boolean
|
|
992
|
-
createdAt?: boolean
|
|
993
|
-
updatedAt?: boolean
|
|
994
|
-
deletedAt?: boolean
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
export type MaterialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "code" | "description" | "unit" | "status" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["material"]>
|
|
998
|
-
export type MaterialInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
999
|
-
billOfMaterial?: boolean | Prisma.Material$billOfMaterialArgs<ExtArgs>
|
|
1000
|
-
pboFatAttributes?: boolean | Prisma.Material$pboFatAttributesArgs<ExtArgs>
|
|
1001
|
-
cableAttributes?: boolean | Prisma.Material$cableAttributesArgs<ExtArgs>
|
|
1002
|
-
spliceClosureAttributes?: boolean | Prisma.Material$spliceClosureAttributesArgs<ExtArgs>
|
|
1003
|
-
_count?: boolean | Prisma.MaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
1004
|
-
}
|
|
1005
|
-
export type MaterialIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
1006
|
-
export type MaterialIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
1007
|
-
|
|
1008
|
-
export type $MaterialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1009
|
-
name: "Material"
|
|
1010
|
-
objects: {
|
|
1011
|
-
billOfMaterial: Prisma.$MaterialBillOfMaterialPayload<ExtArgs>[]
|
|
1012
|
-
pboFatAttributes: Prisma.$PboFatAttributesPayload<ExtArgs>[]
|
|
1013
|
-
cableAttributes: Prisma.$CableAttributesPayload<ExtArgs>[]
|
|
1014
|
-
spliceClosureAttributes: Prisma.$SpliceClosureAttributesPayload<ExtArgs>[]
|
|
1015
|
-
}
|
|
1016
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1017
|
-
id: string
|
|
1018
|
-
no: number
|
|
1019
|
-
name: string
|
|
1020
|
-
code: string
|
|
1021
|
-
description: string | null
|
|
1022
|
-
unit: string
|
|
1023
|
-
status: string
|
|
1024
|
-
createdAt: Date
|
|
1025
|
-
updatedAt: Date
|
|
1026
|
-
deletedAt: Date | null
|
|
1027
|
-
}, ExtArgs["result"]["material"]>
|
|
1028
|
-
composites: {}
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
export type MaterialGetPayload<S extends boolean | null | undefined | MaterialDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MaterialPayload, S>
|
|
1032
|
-
|
|
1033
|
-
export type MaterialCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1034
|
-
Omit<MaterialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1035
|
-
select?: MaterialCountAggregateInputType | true
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export interface MaterialDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1039
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Material'], meta: { name: 'Material' } }
|
|
1040
|
-
/**
|
|
1041
|
-
* Find zero or one Material that matches the filter.
|
|
1042
|
-
* @param {MaterialFindUniqueArgs} args - Arguments to find a Material
|
|
1043
|
-
* @example
|
|
1044
|
-
* // Get one Material
|
|
1045
|
-
* const material = await prisma.material.findUnique({
|
|
1046
|
-
* where: {
|
|
1047
|
-
* // ... provide filter here
|
|
1048
|
-
* }
|
|
1049
|
-
* })
|
|
1050
|
-
*/
|
|
1051
|
-
findUnique<T extends MaterialFindUniqueArgs>(args: Prisma.SelectSubset<T, MaterialFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* Find one Material that matches the filter or throw an error with `error.code='P2025'`
|
|
1055
|
-
* if no matches were found.
|
|
1056
|
-
* @param {MaterialFindUniqueOrThrowArgs} args - Arguments to find a Material
|
|
1057
|
-
* @example
|
|
1058
|
-
* // Get one Material
|
|
1059
|
-
* const material = await prisma.material.findUniqueOrThrow({
|
|
1060
|
-
* where: {
|
|
1061
|
-
* // ... provide filter here
|
|
1062
|
-
* }
|
|
1063
|
-
* })
|
|
1064
|
-
*/
|
|
1065
|
-
findUniqueOrThrow<T extends MaterialFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MaterialFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* Find the first Material that matches the filter.
|
|
1069
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1070
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1071
|
-
* @param {MaterialFindFirstArgs} args - Arguments to find a Material
|
|
1072
|
-
* @example
|
|
1073
|
-
* // Get one Material
|
|
1074
|
-
* const material = await prisma.material.findFirst({
|
|
1075
|
-
* where: {
|
|
1076
|
-
* // ... provide filter here
|
|
1077
|
-
* }
|
|
1078
|
-
* })
|
|
1079
|
-
*/
|
|
1080
|
-
findFirst<T extends MaterialFindFirstArgs>(args?: Prisma.SelectSubset<T, MaterialFindFirstArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* Find the first Material that matches the filter or
|
|
1084
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1085
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1086
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1087
|
-
* @param {MaterialFindFirstOrThrowArgs} args - Arguments to find a Material
|
|
1088
|
-
* @example
|
|
1089
|
-
* // Get one Material
|
|
1090
|
-
* const material = await prisma.material.findFirstOrThrow({
|
|
1091
|
-
* where: {
|
|
1092
|
-
* // ... provide filter here
|
|
1093
|
-
* }
|
|
1094
|
-
* })
|
|
1095
|
-
*/
|
|
1096
|
-
findFirstOrThrow<T extends MaterialFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MaterialFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* Find zero or more Materials that matches the filter.
|
|
1100
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1101
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1102
|
-
* @param {MaterialFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1103
|
-
* @example
|
|
1104
|
-
* // Get all Materials
|
|
1105
|
-
* const materials = await prisma.material.findMany()
|
|
1106
|
-
*
|
|
1107
|
-
* // Get first 10 Materials
|
|
1108
|
-
* const materials = await prisma.material.findMany({ take: 10 })
|
|
1109
|
-
*
|
|
1110
|
-
* // Only select the `id`
|
|
1111
|
-
* const materialWithIdOnly = await prisma.material.findMany({ select: { id: true } })
|
|
1112
|
-
*
|
|
1113
|
-
*/
|
|
1114
|
-
findMany<T extends MaterialFindManyArgs>(args?: Prisma.SelectSubset<T, MaterialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* Create a Material.
|
|
1118
|
-
* @param {MaterialCreateArgs} args - Arguments to create a Material.
|
|
1119
|
-
* @example
|
|
1120
|
-
* // Create one Material
|
|
1121
|
-
* const Material = await prisma.material.create({
|
|
1122
|
-
* data: {
|
|
1123
|
-
* // ... data to create a Material
|
|
1124
|
-
* }
|
|
1125
|
-
* })
|
|
1126
|
-
*
|
|
1127
|
-
*/
|
|
1128
|
-
create<T extends MaterialCreateArgs>(args: Prisma.SelectSubset<T, MaterialCreateArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* Create many Materials.
|
|
1132
|
-
* @param {MaterialCreateManyArgs} args - Arguments to create many Materials.
|
|
1133
|
-
* @example
|
|
1134
|
-
* // Create many Materials
|
|
1135
|
-
* const material = await prisma.material.createMany({
|
|
1136
|
-
* data: [
|
|
1137
|
-
* // ... provide data here
|
|
1138
|
-
* ]
|
|
1139
|
-
* })
|
|
1140
|
-
*
|
|
1141
|
-
*/
|
|
1142
|
-
createMany<T extends MaterialCreateManyArgs>(args?: Prisma.SelectSubset<T, MaterialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
* Create many Materials and returns the data saved in the database.
|
|
1146
|
-
* @param {MaterialCreateManyAndReturnArgs} args - Arguments to create many Materials.
|
|
1147
|
-
* @example
|
|
1148
|
-
* // Create many Materials
|
|
1149
|
-
* const material = await prisma.material.createManyAndReturn({
|
|
1150
|
-
* data: [
|
|
1151
|
-
* // ... provide data here
|
|
1152
|
-
* ]
|
|
1153
|
-
* })
|
|
1154
|
-
*
|
|
1155
|
-
* // Create many Materials and only return the `id`
|
|
1156
|
-
* const materialWithIdOnly = await prisma.material.createManyAndReturn({
|
|
1157
|
-
* select: { id: true },
|
|
1158
|
-
* data: [
|
|
1159
|
-
* // ... provide data here
|
|
1160
|
-
* ]
|
|
1161
|
-
* })
|
|
1162
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1163
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1164
|
-
*
|
|
1165
|
-
*/
|
|
1166
|
-
createManyAndReturn<T extends MaterialCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MaterialCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* Delete a Material.
|
|
1170
|
-
* @param {MaterialDeleteArgs} args - Arguments to delete one Material.
|
|
1171
|
-
* @example
|
|
1172
|
-
* // Delete one Material
|
|
1173
|
-
* const Material = await prisma.material.delete({
|
|
1174
|
-
* where: {
|
|
1175
|
-
* // ... filter to delete one Material
|
|
1176
|
-
* }
|
|
1177
|
-
* })
|
|
1178
|
-
*
|
|
1179
|
-
*/
|
|
1180
|
-
delete<T extends MaterialDeleteArgs>(args: Prisma.SelectSubset<T, MaterialDeleteArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
* Update one Material.
|
|
1184
|
-
* @param {MaterialUpdateArgs} args - Arguments to update one Material.
|
|
1185
|
-
* @example
|
|
1186
|
-
* // Update one Material
|
|
1187
|
-
* const material = await prisma.material.update({
|
|
1188
|
-
* where: {
|
|
1189
|
-
* // ... provide filter here
|
|
1190
|
-
* },
|
|
1191
|
-
* data: {
|
|
1192
|
-
* // ... provide data here
|
|
1193
|
-
* }
|
|
1194
|
-
* })
|
|
1195
|
-
*
|
|
1196
|
-
*/
|
|
1197
|
-
update<T extends MaterialUpdateArgs>(args: Prisma.SelectSubset<T, MaterialUpdateArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* Delete zero or more Materials.
|
|
1201
|
-
* @param {MaterialDeleteManyArgs} args - Arguments to filter Materials to delete.
|
|
1202
|
-
* @example
|
|
1203
|
-
* // Delete a few Materials
|
|
1204
|
-
* const { count } = await prisma.material.deleteMany({
|
|
1205
|
-
* where: {
|
|
1206
|
-
* // ... provide filter here
|
|
1207
|
-
* }
|
|
1208
|
-
* })
|
|
1209
|
-
*
|
|
1210
|
-
*/
|
|
1211
|
-
deleteMany<T extends MaterialDeleteManyArgs>(args?: Prisma.SelectSubset<T, MaterialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1214
|
-
* Update zero or more Materials.
|
|
1215
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1216
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1217
|
-
* @param {MaterialUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1218
|
-
* @example
|
|
1219
|
-
* // Update many Materials
|
|
1220
|
-
* const material = await prisma.material.updateMany({
|
|
1221
|
-
* where: {
|
|
1222
|
-
* // ... provide filter here
|
|
1223
|
-
* },
|
|
1224
|
-
* data: {
|
|
1225
|
-
* // ... provide data here
|
|
1226
|
-
* }
|
|
1227
|
-
* })
|
|
1228
|
-
*
|
|
1229
|
-
*/
|
|
1230
|
-
updateMany<T extends MaterialUpdateManyArgs>(args: Prisma.SelectSubset<T, MaterialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* Update zero or more Materials and returns the data updated in the database.
|
|
1234
|
-
* @param {MaterialUpdateManyAndReturnArgs} args - Arguments to update many Materials.
|
|
1235
|
-
* @example
|
|
1236
|
-
* // Update many Materials
|
|
1237
|
-
* const material = await prisma.material.updateManyAndReturn({
|
|
1238
|
-
* where: {
|
|
1239
|
-
* // ... provide filter here
|
|
1240
|
-
* },
|
|
1241
|
-
* data: [
|
|
1242
|
-
* // ... provide data here
|
|
1243
|
-
* ]
|
|
1244
|
-
* })
|
|
1245
|
-
*
|
|
1246
|
-
* // Update zero or more Materials and only return the `id`
|
|
1247
|
-
* const materialWithIdOnly = await prisma.material.updateManyAndReturn({
|
|
1248
|
-
* select: { id: true },
|
|
1249
|
-
* where: {
|
|
1250
|
-
* // ... provide filter here
|
|
1251
|
-
* },
|
|
1252
|
-
* data: [
|
|
1253
|
-
* // ... provide data here
|
|
1254
|
-
* ]
|
|
1255
|
-
* })
|
|
1256
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1257
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1258
|
-
*
|
|
1259
|
-
*/
|
|
1260
|
-
updateManyAndReturn<T extends MaterialUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MaterialUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1261
|
-
|
|
1262
|
-
/**
|
|
1263
|
-
* Create or update one Material.
|
|
1264
|
-
* @param {MaterialUpsertArgs} args - Arguments to update or create a Material.
|
|
1265
|
-
* @example
|
|
1266
|
-
* // Update or create a Material
|
|
1267
|
-
* const material = await prisma.material.upsert({
|
|
1268
|
-
* create: {
|
|
1269
|
-
* // ... data to create a Material
|
|
1270
|
-
* },
|
|
1271
|
-
* update: {
|
|
1272
|
-
* // ... in case it already exists, update
|
|
1273
|
-
* },
|
|
1274
|
-
* where: {
|
|
1275
|
-
* // ... the filter for the Material we want to update
|
|
1276
|
-
* }
|
|
1277
|
-
* })
|
|
1278
|
-
*/
|
|
1279
|
-
upsert<T extends MaterialUpsertArgs>(args: Prisma.SelectSubset<T, MaterialUpsertArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
/**
|
|
1283
|
-
* Count the number of Materials.
|
|
1284
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1285
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1286
|
-
* @param {MaterialCountArgs} args - Arguments to filter Materials to count.
|
|
1287
|
-
* @example
|
|
1288
|
-
* // Count the number of Materials
|
|
1289
|
-
* const count = await prisma.material.count({
|
|
1290
|
-
* where: {
|
|
1291
|
-
* // ... the filter for the Materials we want to count
|
|
1292
|
-
* }
|
|
1293
|
-
* })
|
|
1294
|
-
**/
|
|
1295
|
-
count<T extends MaterialCountArgs>(
|
|
1296
|
-
args?: Prisma.Subset<T, MaterialCountArgs>,
|
|
1297
|
-
): Prisma.PrismaPromise<
|
|
1298
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1299
|
-
? T['select'] extends true
|
|
1300
|
-
? number
|
|
1301
|
-
: Prisma.GetScalarType<T['select'], MaterialCountAggregateOutputType>
|
|
1302
|
-
: number
|
|
1303
|
-
>
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* Allows you to perform aggregations operations on a Material.
|
|
1307
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1308
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1309
|
-
* @param {MaterialAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1310
|
-
* @example
|
|
1311
|
-
* // Ordered by age ascending
|
|
1312
|
-
* // Where email contains prisma.io
|
|
1313
|
-
* // Limited to the 10 users
|
|
1314
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1315
|
-
* _avg: {
|
|
1316
|
-
* age: true,
|
|
1317
|
-
* },
|
|
1318
|
-
* where: {
|
|
1319
|
-
* email: {
|
|
1320
|
-
* contains: "prisma.io",
|
|
1321
|
-
* },
|
|
1322
|
-
* },
|
|
1323
|
-
* orderBy: {
|
|
1324
|
-
* age: "asc",
|
|
1325
|
-
* },
|
|
1326
|
-
* take: 10,
|
|
1327
|
-
* })
|
|
1328
|
-
**/
|
|
1329
|
-
aggregate<T extends MaterialAggregateArgs>(args: Prisma.Subset<T, MaterialAggregateArgs>): Prisma.PrismaPromise<GetMaterialAggregateType<T>>
|
|
1330
|
-
|
|
1331
|
-
/**
|
|
1332
|
-
* Group by Material.
|
|
1333
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1334
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1335
|
-
* @param {MaterialGroupByArgs} args - Group by arguments.
|
|
1336
|
-
* @example
|
|
1337
|
-
* // Group by city, order by createdAt, get count
|
|
1338
|
-
* const result = await prisma.user.groupBy({
|
|
1339
|
-
* by: ['city', 'createdAt'],
|
|
1340
|
-
* orderBy: {
|
|
1341
|
-
* createdAt: true
|
|
1342
|
-
* },
|
|
1343
|
-
* _count: {
|
|
1344
|
-
* _all: true
|
|
1345
|
-
* },
|
|
1346
|
-
* })
|
|
1347
|
-
*
|
|
1348
|
-
**/
|
|
1349
|
-
groupBy<
|
|
1350
|
-
T extends MaterialGroupByArgs,
|
|
1351
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1352
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1353
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1354
|
-
>,
|
|
1355
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1356
|
-
? { orderBy: MaterialGroupByArgs['orderBy'] }
|
|
1357
|
-
: { orderBy?: MaterialGroupByArgs['orderBy'] },
|
|
1358
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1359
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1360
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1361
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1362
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1363
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1364
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1365
|
-
? `Error: "by" must not be empty.`
|
|
1366
|
-
: HavingValid extends Prisma.False
|
|
1367
|
-
? {
|
|
1368
|
-
[P in HavingFields]: P extends ByFields
|
|
1369
|
-
? never
|
|
1370
|
-
: P extends string
|
|
1371
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1372
|
-
: [
|
|
1373
|
-
Error,
|
|
1374
|
-
'Field ',
|
|
1375
|
-
P,
|
|
1376
|
-
` in "having" needs to be provided in "by"`,
|
|
1377
|
-
]
|
|
1378
|
-
}[HavingFields]
|
|
1379
|
-
: 'take' extends Prisma.Keys<T>
|
|
1380
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1381
|
-
? ByValid extends Prisma.True
|
|
1382
|
-
? {}
|
|
1383
|
-
: {
|
|
1384
|
-
[P in OrderFields]: P extends ByFields
|
|
1385
|
-
? never
|
|
1386
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1387
|
-
}[OrderFields]
|
|
1388
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1389
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1390
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1391
|
-
? ByValid extends Prisma.True
|
|
1392
|
-
? {}
|
|
1393
|
-
: {
|
|
1394
|
-
[P in OrderFields]: P extends ByFields
|
|
1395
|
-
? never
|
|
1396
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1397
|
-
}[OrderFields]
|
|
1398
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1399
|
-
: ByValid extends Prisma.True
|
|
1400
|
-
? {}
|
|
1401
|
-
: {
|
|
1402
|
-
[P in OrderFields]: P extends ByFields
|
|
1403
|
-
? never
|
|
1404
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1405
|
-
}[OrderFields]
|
|
1406
|
-
>(args: Prisma.SubsetIntersection<T, MaterialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMaterialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1407
|
-
/**
|
|
1408
|
-
* Fields of the Material model
|
|
1409
|
-
*/
|
|
1410
|
-
readonly fields: MaterialFieldRefs;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
/**
|
|
1414
|
-
* The delegate class that acts as a "Promise-like" for Material.
|
|
1415
|
-
* Why is this prefixed with `Prisma__`?
|
|
1416
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1417
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1418
|
-
*/
|
|
1419
|
-
export interface Prisma__MaterialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1420
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1421
|
-
billOfMaterial<T extends Prisma.Material$billOfMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Material$billOfMaterialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1422
|
-
pboFatAttributes<T extends Prisma.Material$pboFatAttributesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Material$pboFatAttributesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PboFatAttributesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1423
|
-
cableAttributes<T extends Prisma.Material$cableAttributesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Material$cableAttributesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CableAttributesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1424
|
-
spliceClosureAttributes<T extends Prisma.Material$spliceClosureAttributesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Material$spliceClosureAttributesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SpliceClosureAttributesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1425
|
-
/**
|
|
1426
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1427
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1428
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1429
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1430
|
-
*/
|
|
1431
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1432
|
-
/**
|
|
1433
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1434
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1435
|
-
* @returns A Promise for the completion of the callback.
|
|
1436
|
-
*/
|
|
1437
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1438
|
-
/**
|
|
1439
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1440
|
-
* resolved value cannot be modified from the callback.
|
|
1441
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1442
|
-
* @returns A Promise for the completion of the callback.
|
|
1443
|
-
*/
|
|
1444
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
/**
|
|
1451
|
-
* Fields of the Material model
|
|
1452
|
-
*/
|
|
1453
|
-
export interface MaterialFieldRefs {
|
|
1454
|
-
readonly id: Prisma.FieldRef<"Material", 'String'>
|
|
1455
|
-
readonly no: Prisma.FieldRef<"Material", 'Int'>
|
|
1456
|
-
readonly name: Prisma.FieldRef<"Material", 'String'>
|
|
1457
|
-
readonly code: Prisma.FieldRef<"Material", 'String'>
|
|
1458
|
-
readonly description: Prisma.FieldRef<"Material", 'String'>
|
|
1459
|
-
readonly unit: Prisma.FieldRef<"Material", 'String'>
|
|
1460
|
-
readonly status: Prisma.FieldRef<"Material", 'String'>
|
|
1461
|
-
readonly createdAt: Prisma.FieldRef<"Material", 'DateTime'>
|
|
1462
|
-
readonly updatedAt: Prisma.FieldRef<"Material", 'DateTime'>
|
|
1463
|
-
readonly deletedAt: Prisma.FieldRef<"Material", 'DateTime'>
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
// Custom InputTypes
|
|
1468
|
-
/**
|
|
1469
|
-
* Material findUnique
|
|
1470
|
-
*/
|
|
1471
|
-
export type MaterialFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1472
|
-
/**
|
|
1473
|
-
* Select specific fields to fetch from the Material
|
|
1474
|
-
*/
|
|
1475
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1476
|
-
/**
|
|
1477
|
-
* Omit specific fields from the Material
|
|
1478
|
-
*/
|
|
1479
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1480
|
-
/**
|
|
1481
|
-
* Choose, which related nodes to fetch as well
|
|
1482
|
-
*/
|
|
1483
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1484
|
-
/**
|
|
1485
|
-
* Filter, which Material to fetch.
|
|
1486
|
-
*/
|
|
1487
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
/**
|
|
1491
|
-
* Material findUniqueOrThrow
|
|
1492
|
-
*/
|
|
1493
|
-
export type MaterialFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1494
|
-
/**
|
|
1495
|
-
* Select specific fields to fetch from the Material
|
|
1496
|
-
*/
|
|
1497
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1498
|
-
/**
|
|
1499
|
-
* Omit specific fields from the Material
|
|
1500
|
-
*/
|
|
1501
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1502
|
-
/**
|
|
1503
|
-
* Choose, which related nodes to fetch as well
|
|
1504
|
-
*/
|
|
1505
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1506
|
-
/**
|
|
1507
|
-
* Filter, which Material to fetch.
|
|
1508
|
-
*/
|
|
1509
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
/**
|
|
1513
|
-
* Material findFirst
|
|
1514
|
-
*/
|
|
1515
|
-
export type MaterialFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1516
|
-
/**
|
|
1517
|
-
* Select specific fields to fetch from the Material
|
|
1518
|
-
*/
|
|
1519
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1520
|
-
/**
|
|
1521
|
-
* Omit specific fields from the Material
|
|
1522
|
-
*/
|
|
1523
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1524
|
-
/**
|
|
1525
|
-
* Choose, which related nodes to fetch as well
|
|
1526
|
-
*/
|
|
1527
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1528
|
-
/**
|
|
1529
|
-
* Filter, which Material to fetch.
|
|
1530
|
-
*/
|
|
1531
|
-
where?: Prisma.MaterialWhereInput
|
|
1532
|
-
/**
|
|
1533
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1534
|
-
*
|
|
1535
|
-
* Determine the order of Materials to fetch.
|
|
1536
|
-
*/
|
|
1537
|
-
orderBy?: Prisma.MaterialOrderByWithRelationInput | Prisma.MaterialOrderByWithRelationInput[]
|
|
1538
|
-
/**
|
|
1539
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1540
|
-
*
|
|
1541
|
-
* Sets the position for searching for Materials.
|
|
1542
|
-
*/
|
|
1543
|
-
cursor?: Prisma.MaterialWhereUniqueInput
|
|
1544
|
-
/**
|
|
1545
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1546
|
-
*
|
|
1547
|
-
* Take `±n` Materials from the position of the cursor.
|
|
1548
|
-
*/
|
|
1549
|
-
take?: number
|
|
1550
|
-
/**
|
|
1551
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1552
|
-
*
|
|
1553
|
-
* Skip the first `n` Materials.
|
|
1554
|
-
*/
|
|
1555
|
-
skip?: number
|
|
1556
|
-
/**
|
|
1557
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1558
|
-
*
|
|
1559
|
-
* Filter by unique combinations of Materials.
|
|
1560
|
-
*/
|
|
1561
|
-
distinct?: Prisma.MaterialScalarFieldEnum | Prisma.MaterialScalarFieldEnum[]
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
/**
|
|
1565
|
-
* Material findFirstOrThrow
|
|
1566
|
-
*/
|
|
1567
|
-
export type MaterialFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1568
|
-
/**
|
|
1569
|
-
* Select specific fields to fetch from the Material
|
|
1570
|
-
*/
|
|
1571
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1572
|
-
/**
|
|
1573
|
-
* Omit specific fields from the Material
|
|
1574
|
-
*/
|
|
1575
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1576
|
-
/**
|
|
1577
|
-
* Choose, which related nodes to fetch as well
|
|
1578
|
-
*/
|
|
1579
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1580
|
-
/**
|
|
1581
|
-
* Filter, which Material to fetch.
|
|
1582
|
-
*/
|
|
1583
|
-
where?: Prisma.MaterialWhereInput
|
|
1584
|
-
/**
|
|
1585
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1586
|
-
*
|
|
1587
|
-
* Determine the order of Materials to fetch.
|
|
1588
|
-
*/
|
|
1589
|
-
orderBy?: Prisma.MaterialOrderByWithRelationInput | Prisma.MaterialOrderByWithRelationInput[]
|
|
1590
|
-
/**
|
|
1591
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1592
|
-
*
|
|
1593
|
-
* Sets the position for searching for Materials.
|
|
1594
|
-
*/
|
|
1595
|
-
cursor?: Prisma.MaterialWhereUniqueInput
|
|
1596
|
-
/**
|
|
1597
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1598
|
-
*
|
|
1599
|
-
* Take `±n` Materials from the position of the cursor.
|
|
1600
|
-
*/
|
|
1601
|
-
take?: number
|
|
1602
|
-
/**
|
|
1603
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1604
|
-
*
|
|
1605
|
-
* Skip the first `n` Materials.
|
|
1606
|
-
*/
|
|
1607
|
-
skip?: number
|
|
1608
|
-
/**
|
|
1609
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1610
|
-
*
|
|
1611
|
-
* Filter by unique combinations of Materials.
|
|
1612
|
-
*/
|
|
1613
|
-
distinct?: Prisma.MaterialScalarFieldEnum | Prisma.MaterialScalarFieldEnum[]
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
/**
|
|
1617
|
-
* Material findMany
|
|
1618
|
-
*/
|
|
1619
|
-
export type MaterialFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1620
|
-
/**
|
|
1621
|
-
* Select specific fields to fetch from the Material
|
|
1622
|
-
*/
|
|
1623
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1624
|
-
/**
|
|
1625
|
-
* Omit specific fields from the Material
|
|
1626
|
-
*/
|
|
1627
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1628
|
-
/**
|
|
1629
|
-
* Choose, which related nodes to fetch as well
|
|
1630
|
-
*/
|
|
1631
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1632
|
-
/**
|
|
1633
|
-
* Filter, which Materials to fetch.
|
|
1634
|
-
*/
|
|
1635
|
-
where?: Prisma.MaterialWhereInput
|
|
1636
|
-
/**
|
|
1637
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1638
|
-
*
|
|
1639
|
-
* Determine the order of Materials to fetch.
|
|
1640
|
-
*/
|
|
1641
|
-
orderBy?: Prisma.MaterialOrderByWithRelationInput | Prisma.MaterialOrderByWithRelationInput[]
|
|
1642
|
-
/**
|
|
1643
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1644
|
-
*
|
|
1645
|
-
* Sets the position for listing Materials.
|
|
1646
|
-
*/
|
|
1647
|
-
cursor?: Prisma.MaterialWhereUniqueInput
|
|
1648
|
-
/**
|
|
1649
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1650
|
-
*
|
|
1651
|
-
* Take `±n` Materials from the position of the cursor.
|
|
1652
|
-
*/
|
|
1653
|
-
take?: number
|
|
1654
|
-
/**
|
|
1655
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1656
|
-
*
|
|
1657
|
-
* Skip the first `n` Materials.
|
|
1658
|
-
*/
|
|
1659
|
-
skip?: number
|
|
1660
|
-
distinct?: Prisma.MaterialScalarFieldEnum | Prisma.MaterialScalarFieldEnum[]
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
/**
|
|
1664
|
-
* Material create
|
|
1665
|
-
*/
|
|
1666
|
-
export type MaterialCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1667
|
-
/**
|
|
1668
|
-
* Select specific fields to fetch from the Material
|
|
1669
|
-
*/
|
|
1670
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1671
|
-
/**
|
|
1672
|
-
* Omit specific fields from the Material
|
|
1673
|
-
*/
|
|
1674
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1675
|
-
/**
|
|
1676
|
-
* Choose, which related nodes to fetch as well
|
|
1677
|
-
*/
|
|
1678
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1679
|
-
/**
|
|
1680
|
-
* The data needed to create a Material.
|
|
1681
|
-
*/
|
|
1682
|
-
data: Prisma.XOR<Prisma.MaterialCreateInput, Prisma.MaterialUncheckedCreateInput>
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
/**
|
|
1686
|
-
* Material createMany
|
|
1687
|
-
*/
|
|
1688
|
-
export type MaterialCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1689
|
-
/**
|
|
1690
|
-
* The data used to create many Materials.
|
|
1691
|
-
*/
|
|
1692
|
-
data: Prisma.MaterialCreateManyInput | Prisma.MaterialCreateManyInput[]
|
|
1693
|
-
skipDuplicates?: boolean
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
/**
|
|
1697
|
-
* Material createManyAndReturn
|
|
1698
|
-
*/
|
|
1699
|
-
export type MaterialCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1700
|
-
/**
|
|
1701
|
-
* Select specific fields to fetch from the Material
|
|
1702
|
-
*/
|
|
1703
|
-
select?: Prisma.MaterialSelectCreateManyAndReturn<ExtArgs> | null
|
|
1704
|
-
/**
|
|
1705
|
-
* Omit specific fields from the Material
|
|
1706
|
-
*/
|
|
1707
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1708
|
-
/**
|
|
1709
|
-
* The data used to create many Materials.
|
|
1710
|
-
*/
|
|
1711
|
-
data: Prisma.MaterialCreateManyInput | Prisma.MaterialCreateManyInput[]
|
|
1712
|
-
skipDuplicates?: boolean
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* Material update
|
|
1717
|
-
*/
|
|
1718
|
-
export type MaterialUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1719
|
-
/**
|
|
1720
|
-
* Select specific fields to fetch from the Material
|
|
1721
|
-
*/
|
|
1722
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1723
|
-
/**
|
|
1724
|
-
* Omit specific fields from the Material
|
|
1725
|
-
*/
|
|
1726
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1727
|
-
/**
|
|
1728
|
-
* Choose, which related nodes to fetch as well
|
|
1729
|
-
*/
|
|
1730
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1731
|
-
/**
|
|
1732
|
-
* The data needed to update a Material.
|
|
1733
|
-
*/
|
|
1734
|
-
data: Prisma.XOR<Prisma.MaterialUpdateInput, Prisma.MaterialUncheckedUpdateInput>
|
|
1735
|
-
/**
|
|
1736
|
-
* Choose, which Material to update.
|
|
1737
|
-
*/
|
|
1738
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
/**
|
|
1742
|
-
* Material updateMany
|
|
1743
|
-
*/
|
|
1744
|
-
export type MaterialUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1745
|
-
/**
|
|
1746
|
-
* The data used to update Materials.
|
|
1747
|
-
*/
|
|
1748
|
-
data: Prisma.XOR<Prisma.MaterialUpdateManyMutationInput, Prisma.MaterialUncheckedUpdateManyInput>
|
|
1749
|
-
/**
|
|
1750
|
-
* Filter which Materials to update
|
|
1751
|
-
*/
|
|
1752
|
-
where?: Prisma.MaterialWhereInput
|
|
1753
|
-
/**
|
|
1754
|
-
* Limit how many Materials to update.
|
|
1755
|
-
*/
|
|
1756
|
-
limit?: number
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
/**
|
|
1760
|
-
* Material updateManyAndReturn
|
|
1761
|
-
*/
|
|
1762
|
-
export type MaterialUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1763
|
-
/**
|
|
1764
|
-
* Select specific fields to fetch from the Material
|
|
1765
|
-
*/
|
|
1766
|
-
select?: Prisma.MaterialSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1767
|
-
/**
|
|
1768
|
-
* Omit specific fields from the Material
|
|
1769
|
-
*/
|
|
1770
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1771
|
-
/**
|
|
1772
|
-
* The data used to update Materials.
|
|
1773
|
-
*/
|
|
1774
|
-
data: Prisma.XOR<Prisma.MaterialUpdateManyMutationInput, Prisma.MaterialUncheckedUpdateManyInput>
|
|
1775
|
-
/**
|
|
1776
|
-
* Filter which Materials to update
|
|
1777
|
-
*/
|
|
1778
|
-
where?: Prisma.MaterialWhereInput
|
|
1779
|
-
/**
|
|
1780
|
-
* Limit how many Materials to update.
|
|
1781
|
-
*/
|
|
1782
|
-
limit?: number
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
/**
|
|
1786
|
-
* Material upsert
|
|
1787
|
-
*/
|
|
1788
|
-
export type MaterialUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1789
|
-
/**
|
|
1790
|
-
* Select specific fields to fetch from the Material
|
|
1791
|
-
*/
|
|
1792
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1793
|
-
/**
|
|
1794
|
-
* Omit specific fields from the Material
|
|
1795
|
-
*/
|
|
1796
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1797
|
-
/**
|
|
1798
|
-
* Choose, which related nodes to fetch as well
|
|
1799
|
-
*/
|
|
1800
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1801
|
-
/**
|
|
1802
|
-
* The filter to search for the Material to update in case it exists.
|
|
1803
|
-
*/
|
|
1804
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
1805
|
-
/**
|
|
1806
|
-
* In case the Material found by the `where` argument doesn't exist, create a new Material with this data.
|
|
1807
|
-
*/
|
|
1808
|
-
create: Prisma.XOR<Prisma.MaterialCreateInput, Prisma.MaterialUncheckedCreateInput>
|
|
1809
|
-
/**
|
|
1810
|
-
* In case the Material was found with the provided `where` argument, update it with this data.
|
|
1811
|
-
*/
|
|
1812
|
-
update: Prisma.XOR<Prisma.MaterialUpdateInput, Prisma.MaterialUncheckedUpdateInput>
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
/**
|
|
1816
|
-
* Material delete
|
|
1817
|
-
*/
|
|
1818
|
-
export type MaterialDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1819
|
-
/**
|
|
1820
|
-
* Select specific fields to fetch from the Material
|
|
1821
|
-
*/
|
|
1822
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1823
|
-
/**
|
|
1824
|
-
* Omit specific fields from the Material
|
|
1825
|
-
*/
|
|
1826
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1827
|
-
/**
|
|
1828
|
-
* Choose, which related nodes to fetch as well
|
|
1829
|
-
*/
|
|
1830
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1831
|
-
/**
|
|
1832
|
-
* Filter which Material to delete.
|
|
1833
|
-
*/
|
|
1834
|
-
where: Prisma.MaterialWhereUniqueInput
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
/**
|
|
1838
|
-
* Material deleteMany
|
|
1839
|
-
*/
|
|
1840
|
-
export type MaterialDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1841
|
-
/**
|
|
1842
|
-
* Filter which Materials to delete
|
|
1843
|
-
*/
|
|
1844
|
-
where?: Prisma.MaterialWhereInput
|
|
1845
|
-
/**
|
|
1846
|
-
* Limit how many Materials to delete.
|
|
1847
|
-
*/
|
|
1848
|
-
limit?: number
|
|
1849
|
-
}
|
|
1850
|
-
|
|
1851
|
-
/**
|
|
1852
|
-
* Material.billOfMaterial
|
|
1853
|
-
*/
|
|
1854
|
-
export type Material$billOfMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1855
|
-
/**
|
|
1856
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1857
|
-
*/
|
|
1858
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1859
|
-
/**
|
|
1860
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1861
|
-
*/
|
|
1862
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1863
|
-
/**
|
|
1864
|
-
* Choose, which related nodes to fetch as well
|
|
1865
|
-
*/
|
|
1866
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1867
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
1868
|
-
orderBy?: Prisma.MaterialBillOfMaterialOrderByWithRelationInput | Prisma.MaterialBillOfMaterialOrderByWithRelationInput[]
|
|
1869
|
-
cursor?: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1870
|
-
take?: number
|
|
1871
|
-
skip?: number
|
|
1872
|
-
distinct?: Prisma.MaterialBillOfMaterialScalarFieldEnum | Prisma.MaterialBillOfMaterialScalarFieldEnum[]
|
|
1873
|
-
}
|
|
1874
|
-
|
|
1875
|
-
/**
|
|
1876
|
-
* Material.pboFatAttributes
|
|
1877
|
-
*/
|
|
1878
|
-
export type Material$pboFatAttributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1879
|
-
/**
|
|
1880
|
-
* Select specific fields to fetch from the PboFatAttributes
|
|
1881
|
-
*/
|
|
1882
|
-
select?: Prisma.PboFatAttributesSelect<ExtArgs> | null
|
|
1883
|
-
/**
|
|
1884
|
-
* Omit specific fields from the PboFatAttributes
|
|
1885
|
-
*/
|
|
1886
|
-
omit?: Prisma.PboFatAttributesOmit<ExtArgs> | null
|
|
1887
|
-
/**
|
|
1888
|
-
* Choose, which related nodes to fetch as well
|
|
1889
|
-
*/
|
|
1890
|
-
include?: Prisma.PboFatAttributesInclude<ExtArgs> | null
|
|
1891
|
-
where?: Prisma.PboFatAttributesWhereInput
|
|
1892
|
-
orderBy?: Prisma.PboFatAttributesOrderByWithRelationInput | Prisma.PboFatAttributesOrderByWithRelationInput[]
|
|
1893
|
-
cursor?: Prisma.PboFatAttributesWhereUniqueInput
|
|
1894
|
-
take?: number
|
|
1895
|
-
skip?: number
|
|
1896
|
-
distinct?: Prisma.PboFatAttributesScalarFieldEnum | Prisma.PboFatAttributesScalarFieldEnum[]
|
|
1897
|
-
}
|
|
1898
|
-
|
|
1899
|
-
/**
|
|
1900
|
-
* Material.cableAttributes
|
|
1901
|
-
*/
|
|
1902
|
-
export type Material$cableAttributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1903
|
-
/**
|
|
1904
|
-
* Select specific fields to fetch from the CableAttributes
|
|
1905
|
-
*/
|
|
1906
|
-
select?: Prisma.CableAttributesSelect<ExtArgs> | null
|
|
1907
|
-
/**
|
|
1908
|
-
* Omit specific fields from the CableAttributes
|
|
1909
|
-
*/
|
|
1910
|
-
omit?: Prisma.CableAttributesOmit<ExtArgs> | null
|
|
1911
|
-
/**
|
|
1912
|
-
* Choose, which related nodes to fetch as well
|
|
1913
|
-
*/
|
|
1914
|
-
include?: Prisma.CableAttributesInclude<ExtArgs> | null
|
|
1915
|
-
where?: Prisma.CableAttributesWhereInput
|
|
1916
|
-
orderBy?: Prisma.CableAttributesOrderByWithRelationInput | Prisma.CableAttributesOrderByWithRelationInput[]
|
|
1917
|
-
cursor?: Prisma.CableAttributesWhereUniqueInput
|
|
1918
|
-
take?: number
|
|
1919
|
-
skip?: number
|
|
1920
|
-
distinct?: Prisma.CableAttributesScalarFieldEnum | Prisma.CableAttributesScalarFieldEnum[]
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
/**
|
|
1924
|
-
* Material.spliceClosureAttributes
|
|
1925
|
-
*/
|
|
1926
|
-
export type Material$spliceClosureAttributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1927
|
-
/**
|
|
1928
|
-
* Select specific fields to fetch from the SpliceClosureAttributes
|
|
1929
|
-
*/
|
|
1930
|
-
select?: Prisma.SpliceClosureAttributesSelect<ExtArgs> | null
|
|
1931
|
-
/**
|
|
1932
|
-
* Omit specific fields from the SpliceClosureAttributes
|
|
1933
|
-
*/
|
|
1934
|
-
omit?: Prisma.SpliceClosureAttributesOmit<ExtArgs> | null
|
|
1935
|
-
/**
|
|
1936
|
-
* Choose, which related nodes to fetch as well
|
|
1937
|
-
*/
|
|
1938
|
-
include?: Prisma.SpliceClosureAttributesInclude<ExtArgs> | null
|
|
1939
|
-
where?: Prisma.SpliceClosureAttributesWhereInput
|
|
1940
|
-
orderBy?: Prisma.SpliceClosureAttributesOrderByWithRelationInput | Prisma.SpliceClosureAttributesOrderByWithRelationInput[]
|
|
1941
|
-
cursor?: Prisma.SpliceClosureAttributesWhereUniqueInput
|
|
1942
|
-
take?: number
|
|
1943
|
-
skip?: number
|
|
1944
|
-
distinct?: Prisma.SpliceClosureAttributesScalarFieldEnum | Prisma.SpliceClosureAttributesScalarFieldEnum[]
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
/**
|
|
1948
|
-
* Material without action
|
|
1949
|
-
*/
|
|
1950
|
-
export type MaterialDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1951
|
-
/**
|
|
1952
|
-
* Select specific fields to fetch from the Material
|
|
1953
|
-
*/
|
|
1954
|
-
select?: Prisma.MaterialSelect<ExtArgs> | null
|
|
1955
|
-
/**
|
|
1956
|
-
* Omit specific fields from the Material
|
|
1957
|
-
*/
|
|
1958
|
-
omit?: Prisma.MaterialOmit<ExtArgs> | null
|
|
1959
|
-
/**
|
|
1960
|
-
* Choose, which related nodes to fetch as well
|
|
1961
|
-
*/
|
|
1962
|
-
include?: Prisma.MaterialInclude<ExtArgs> | null
|
|
1963
|
-
}
|