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,1737 +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 `MaterialBillOfMaterial` 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 MaterialBillOfMaterial
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type MaterialBillOfMaterialModel = runtime.Types.Result.DefaultSelection<Prisma.$MaterialBillOfMaterialPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateMaterialBillOfMaterial = {
|
|
22
|
-
_count: MaterialBillOfMaterialCountAggregateOutputType | null
|
|
23
|
-
_avg: MaterialBillOfMaterialAvgAggregateOutputType | null
|
|
24
|
-
_sum: MaterialBillOfMaterialSumAggregateOutputType | null
|
|
25
|
-
_min: MaterialBillOfMaterialMinAggregateOutputType | null
|
|
26
|
-
_max: MaterialBillOfMaterialMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type MaterialBillOfMaterialAvgAggregateOutputType = {
|
|
30
|
-
no: number | null
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type MaterialBillOfMaterialSumAggregateOutputType = {
|
|
34
|
-
no: number | null
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type MaterialBillOfMaterialMinAggregateOutputType = {
|
|
38
|
-
id: string | null
|
|
39
|
-
no: number | null
|
|
40
|
-
createdAt: Date | null
|
|
41
|
-
updatedAt: Date | null
|
|
42
|
-
deletedAt: Date | null
|
|
43
|
-
materialId: string | null
|
|
44
|
-
billOfMaterialId: string | null
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export type MaterialBillOfMaterialMaxAggregateOutputType = {
|
|
48
|
-
id: string | null
|
|
49
|
-
no: number | null
|
|
50
|
-
createdAt: Date | null
|
|
51
|
-
updatedAt: Date | null
|
|
52
|
-
deletedAt: Date | null
|
|
53
|
-
materialId: string | null
|
|
54
|
-
billOfMaterialId: string | null
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export type MaterialBillOfMaterialCountAggregateOutputType = {
|
|
58
|
-
id: number
|
|
59
|
-
no: number
|
|
60
|
-
createdAt: number
|
|
61
|
-
updatedAt: number
|
|
62
|
-
deletedAt: number
|
|
63
|
-
materialId: number
|
|
64
|
-
billOfMaterialId: number
|
|
65
|
-
_all: number
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
export type MaterialBillOfMaterialAvgAggregateInputType = {
|
|
70
|
-
no?: true
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export type MaterialBillOfMaterialSumAggregateInputType = {
|
|
74
|
-
no?: true
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export type MaterialBillOfMaterialMinAggregateInputType = {
|
|
78
|
-
id?: true
|
|
79
|
-
no?: true
|
|
80
|
-
createdAt?: true
|
|
81
|
-
updatedAt?: true
|
|
82
|
-
deletedAt?: true
|
|
83
|
-
materialId?: true
|
|
84
|
-
billOfMaterialId?: true
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export type MaterialBillOfMaterialMaxAggregateInputType = {
|
|
88
|
-
id?: true
|
|
89
|
-
no?: true
|
|
90
|
-
createdAt?: true
|
|
91
|
-
updatedAt?: true
|
|
92
|
-
deletedAt?: true
|
|
93
|
-
materialId?: true
|
|
94
|
-
billOfMaterialId?: true
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export type MaterialBillOfMaterialCountAggregateInputType = {
|
|
98
|
-
id?: true
|
|
99
|
-
no?: true
|
|
100
|
-
createdAt?: true
|
|
101
|
-
updatedAt?: true
|
|
102
|
-
deletedAt?: true
|
|
103
|
-
materialId?: true
|
|
104
|
-
billOfMaterialId?: true
|
|
105
|
-
_all?: true
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export type MaterialBillOfMaterialAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
109
|
-
/**
|
|
110
|
-
* Filter which MaterialBillOfMaterial to aggregate.
|
|
111
|
-
*/
|
|
112
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
113
|
-
/**
|
|
114
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
115
|
-
*
|
|
116
|
-
* Determine the order of MaterialBillOfMaterials to fetch.
|
|
117
|
-
*/
|
|
118
|
-
orderBy?: Prisma.MaterialBillOfMaterialOrderByWithRelationInput | Prisma.MaterialBillOfMaterialOrderByWithRelationInput[]
|
|
119
|
-
/**
|
|
120
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
121
|
-
*
|
|
122
|
-
* Sets the start position
|
|
123
|
-
*/
|
|
124
|
-
cursor?: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
125
|
-
/**
|
|
126
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
127
|
-
*
|
|
128
|
-
* Take `±n` MaterialBillOfMaterials from the position of the cursor.
|
|
129
|
-
*/
|
|
130
|
-
take?: number
|
|
131
|
-
/**
|
|
132
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
133
|
-
*
|
|
134
|
-
* Skip the first `n` MaterialBillOfMaterials.
|
|
135
|
-
*/
|
|
136
|
-
skip?: number
|
|
137
|
-
/**
|
|
138
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
-
*
|
|
140
|
-
* Count returned MaterialBillOfMaterials
|
|
141
|
-
**/
|
|
142
|
-
_count?: true | MaterialBillOfMaterialCountAggregateInputType
|
|
143
|
-
/**
|
|
144
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
-
*
|
|
146
|
-
* Select which fields to average
|
|
147
|
-
**/
|
|
148
|
-
_avg?: MaterialBillOfMaterialAvgAggregateInputType
|
|
149
|
-
/**
|
|
150
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
-
*
|
|
152
|
-
* Select which fields to sum
|
|
153
|
-
**/
|
|
154
|
-
_sum?: MaterialBillOfMaterialSumAggregateInputType
|
|
155
|
-
/**
|
|
156
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
-
*
|
|
158
|
-
* Select which fields to find the minimum value
|
|
159
|
-
**/
|
|
160
|
-
_min?: MaterialBillOfMaterialMinAggregateInputType
|
|
161
|
-
/**
|
|
162
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
-
*
|
|
164
|
-
* Select which fields to find the maximum value
|
|
165
|
-
**/
|
|
166
|
-
_max?: MaterialBillOfMaterialMaxAggregateInputType
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
export type GetMaterialBillOfMaterialAggregateType<T extends MaterialBillOfMaterialAggregateArgs> = {
|
|
170
|
-
[P in keyof T & keyof AggregateMaterialBillOfMaterial]: P extends '_count' | 'count'
|
|
171
|
-
? T[P] extends true
|
|
172
|
-
? number
|
|
173
|
-
: Prisma.GetScalarType<T[P], AggregateMaterialBillOfMaterial[P]>
|
|
174
|
-
: Prisma.GetScalarType<T[P], AggregateMaterialBillOfMaterial[P]>
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
export type MaterialBillOfMaterialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
181
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
182
|
-
orderBy?: Prisma.MaterialBillOfMaterialOrderByWithAggregationInput | Prisma.MaterialBillOfMaterialOrderByWithAggregationInput[]
|
|
183
|
-
by: Prisma.MaterialBillOfMaterialScalarFieldEnum[] | Prisma.MaterialBillOfMaterialScalarFieldEnum
|
|
184
|
-
having?: Prisma.MaterialBillOfMaterialScalarWhereWithAggregatesInput
|
|
185
|
-
take?: number
|
|
186
|
-
skip?: number
|
|
187
|
-
_count?: MaterialBillOfMaterialCountAggregateInputType | true
|
|
188
|
-
_avg?: MaterialBillOfMaterialAvgAggregateInputType
|
|
189
|
-
_sum?: MaterialBillOfMaterialSumAggregateInputType
|
|
190
|
-
_min?: MaterialBillOfMaterialMinAggregateInputType
|
|
191
|
-
_max?: MaterialBillOfMaterialMaxAggregateInputType
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
export type MaterialBillOfMaterialGroupByOutputType = {
|
|
195
|
-
id: string
|
|
196
|
-
no: number
|
|
197
|
-
createdAt: Date
|
|
198
|
-
updatedAt: Date
|
|
199
|
-
deletedAt: Date | null
|
|
200
|
-
materialId: string
|
|
201
|
-
billOfMaterialId: string
|
|
202
|
-
_count: MaterialBillOfMaterialCountAggregateOutputType | null
|
|
203
|
-
_avg: MaterialBillOfMaterialAvgAggregateOutputType | null
|
|
204
|
-
_sum: MaterialBillOfMaterialSumAggregateOutputType | null
|
|
205
|
-
_min: MaterialBillOfMaterialMinAggregateOutputType | null
|
|
206
|
-
_max: MaterialBillOfMaterialMaxAggregateOutputType | null
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
type GetMaterialBillOfMaterialGroupByPayload<T extends MaterialBillOfMaterialGroupByArgs> = Prisma.PrismaPromise<
|
|
210
|
-
Array<
|
|
211
|
-
Prisma.PickEnumerable<MaterialBillOfMaterialGroupByOutputType, T['by']> &
|
|
212
|
-
{
|
|
213
|
-
[P in ((keyof T) & (keyof MaterialBillOfMaterialGroupByOutputType))]: P extends '_count'
|
|
214
|
-
? T[P] extends boolean
|
|
215
|
-
? number
|
|
216
|
-
: Prisma.GetScalarType<T[P], MaterialBillOfMaterialGroupByOutputType[P]>
|
|
217
|
-
: Prisma.GetScalarType<T[P], MaterialBillOfMaterialGroupByOutputType[P]>
|
|
218
|
-
}
|
|
219
|
-
>
|
|
220
|
-
>
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
export type MaterialBillOfMaterialWhereInput = {
|
|
225
|
-
AND?: Prisma.MaterialBillOfMaterialWhereInput | Prisma.MaterialBillOfMaterialWhereInput[]
|
|
226
|
-
OR?: Prisma.MaterialBillOfMaterialWhereInput[]
|
|
227
|
-
NOT?: Prisma.MaterialBillOfMaterialWhereInput | Prisma.MaterialBillOfMaterialWhereInput[]
|
|
228
|
-
id?: Prisma.StringFilter<"MaterialBillOfMaterial"> | string
|
|
229
|
-
no?: Prisma.IntFilter<"MaterialBillOfMaterial"> | number
|
|
230
|
-
createdAt?: Prisma.DateTimeFilter<"MaterialBillOfMaterial"> | Date | string
|
|
231
|
-
updatedAt?: Prisma.DateTimeFilter<"MaterialBillOfMaterial"> | Date | string
|
|
232
|
-
deletedAt?: Prisma.DateTimeNullableFilter<"MaterialBillOfMaterial"> | Date | string | null
|
|
233
|
-
materialId?: Prisma.StringFilter<"MaterialBillOfMaterial"> | string
|
|
234
|
-
billOfMaterialId?: Prisma.StringFilter<"MaterialBillOfMaterial"> | string
|
|
235
|
-
material?: Prisma.XOR<Prisma.MaterialScalarRelationFilter, Prisma.MaterialWhereInput>
|
|
236
|
-
billOfMaterial?: Prisma.XOR<Prisma.BillOfMaterialScalarRelationFilter, Prisma.BillOfMaterialWhereInput>
|
|
237
|
-
dispatchMaterial?: Prisma.DispatchMaterialListRelationFilter
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
export type MaterialBillOfMaterialOrderByWithRelationInput = {
|
|
241
|
-
id?: Prisma.SortOrder
|
|
242
|
-
no?: Prisma.SortOrder
|
|
243
|
-
createdAt?: Prisma.SortOrder
|
|
244
|
-
updatedAt?: Prisma.SortOrder
|
|
245
|
-
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
246
|
-
materialId?: Prisma.SortOrder
|
|
247
|
-
billOfMaterialId?: Prisma.SortOrder
|
|
248
|
-
material?: Prisma.MaterialOrderByWithRelationInput
|
|
249
|
-
billOfMaterial?: Prisma.BillOfMaterialOrderByWithRelationInput
|
|
250
|
-
dispatchMaterial?: Prisma.DispatchMaterialOrderByRelationAggregateInput
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
export type MaterialBillOfMaterialWhereUniqueInput = Prisma.AtLeast<{
|
|
254
|
-
id?: string
|
|
255
|
-
AND?: Prisma.MaterialBillOfMaterialWhereInput | Prisma.MaterialBillOfMaterialWhereInput[]
|
|
256
|
-
OR?: Prisma.MaterialBillOfMaterialWhereInput[]
|
|
257
|
-
NOT?: Prisma.MaterialBillOfMaterialWhereInput | Prisma.MaterialBillOfMaterialWhereInput[]
|
|
258
|
-
no?: Prisma.IntFilter<"MaterialBillOfMaterial"> | number
|
|
259
|
-
createdAt?: Prisma.DateTimeFilter<"MaterialBillOfMaterial"> | Date | string
|
|
260
|
-
updatedAt?: Prisma.DateTimeFilter<"MaterialBillOfMaterial"> | Date | string
|
|
261
|
-
deletedAt?: Prisma.DateTimeNullableFilter<"MaterialBillOfMaterial"> | Date | string | null
|
|
262
|
-
materialId?: Prisma.StringFilter<"MaterialBillOfMaterial"> | string
|
|
263
|
-
billOfMaterialId?: Prisma.StringFilter<"MaterialBillOfMaterial"> | string
|
|
264
|
-
material?: Prisma.XOR<Prisma.MaterialScalarRelationFilter, Prisma.MaterialWhereInput>
|
|
265
|
-
billOfMaterial?: Prisma.XOR<Prisma.BillOfMaterialScalarRelationFilter, Prisma.BillOfMaterialWhereInput>
|
|
266
|
-
dispatchMaterial?: Prisma.DispatchMaterialListRelationFilter
|
|
267
|
-
}, "id" | "id">
|
|
268
|
-
|
|
269
|
-
export type MaterialBillOfMaterialOrderByWithAggregationInput = {
|
|
270
|
-
id?: Prisma.SortOrder
|
|
271
|
-
no?: Prisma.SortOrder
|
|
272
|
-
createdAt?: Prisma.SortOrder
|
|
273
|
-
updatedAt?: Prisma.SortOrder
|
|
274
|
-
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
275
|
-
materialId?: Prisma.SortOrder
|
|
276
|
-
billOfMaterialId?: Prisma.SortOrder
|
|
277
|
-
_count?: Prisma.MaterialBillOfMaterialCountOrderByAggregateInput
|
|
278
|
-
_avg?: Prisma.MaterialBillOfMaterialAvgOrderByAggregateInput
|
|
279
|
-
_max?: Prisma.MaterialBillOfMaterialMaxOrderByAggregateInput
|
|
280
|
-
_min?: Prisma.MaterialBillOfMaterialMinOrderByAggregateInput
|
|
281
|
-
_sum?: Prisma.MaterialBillOfMaterialSumOrderByAggregateInput
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export type MaterialBillOfMaterialScalarWhereWithAggregatesInput = {
|
|
285
|
-
AND?: Prisma.MaterialBillOfMaterialScalarWhereWithAggregatesInput | Prisma.MaterialBillOfMaterialScalarWhereWithAggregatesInput[]
|
|
286
|
-
OR?: Prisma.MaterialBillOfMaterialScalarWhereWithAggregatesInput[]
|
|
287
|
-
NOT?: Prisma.MaterialBillOfMaterialScalarWhereWithAggregatesInput | Prisma.MaterialBillOfMaterialScalarWhereWithAggregatesInput[]
|
|
288
|
-
id?: Prisma.StringWithAggregatesFilter<"MaterialBillOfMaterial"> | string
|
|
289
|
-
no?: Prisma.IntWithAggregatesFilter<"MaterialBillOfMaterial"> | number
|
|
290
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"MaterialBillOfMaterial"> | Date | string
|
|
291
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"MaterialBillOfMaterial"> | Date | string
|
|
292
|
-
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"MaterialBillOfMaterial"> | Date | string | null
|
|
293
|
-
materialId?: Prisma.StringWithAggregatesFilter<"MaterialBillOfMaterial"> | string
|
|
294
|
-
billOfMaterialId?: Prisma.StringWithAggregatesFilter<"MaterialBillOfMaterial"> | string
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
export type MaterialBillOfMaterialCreateInput = {
|
|
298
|
-
id?: string
|
|
299
|
-
no?: number
|
|
300
|
-
createdAt?: Date | string
|
|
301
|
-
updatedAt?: Date | string
|
|
302
|
-
deletedAt?: Date | string | null
|
|
303
|
-
material: Prisma.MaterialCreateNestedOneWithoutBillOfMaterialInput
|
|
304
|
-
billOfMaterial: Prisma.BillOfMaterialCreateNestedOneWithoutMaterialsInput
|
|
305
|
-
dispatchMaterial?: Prisma.DispatchMaterialCreateNestedManyWithoutMaterialBillOfMaterialInput
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
export type MaterialBillOfMaterialUncheckedCreateInput = {
|
|
309
|
-
id?: string
|
|
310
|
-
no?: number
|
|
311
|
-
createdAt?: Date | string
|
|
312
|
-
updatedAt?: Date | string
|
|
313
|
-
deletedAt?: Date | string | null
|
|
314
|
-
materialId: string
|
|
315
|
-
billOfMaterialId: string
|
|
316
|
-
dispatchMaterial?: Prisma.DispatchMaterialUncheckedCreateNestedManyWithoutMaterialBillOfMaterialInput
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
export type MaterialBillOfMaterialUpdateInput = {
|
|
320
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
321
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
322
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
323
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
324
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
325
|
-
material?: Prisma.MaterialUpdateOneRequiredWithoutBillOfMaterialNestedInput
|
|
326
|
-
billOfMaterial?: Prisma.BillOfMaterialUpdateOneRequiredWithoutMaterialsNestedInput
|
|
327
|
-
dispatchMaterial?: Prisma.DispatchMaterialUpdateManyWithoutMaterialBillOfMaterialNestedInput
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export type MaterialBillOfMaterialUncheckedUpdateInput = {
|
|
331
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
332
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
333
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
334
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
335
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
336
|
-
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
337
|
-
billOfMaterialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
338
|
-
dispatchMaterial?: Prisma.DispatchMaterialUncheckedUpdateManyWithoutMaterialBillOfMaterialNestedInput
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
export type MaterialBillOfMaterialCreateManyInput = {
|
|
342
|
-
id?: string
|
|
343
|
-
no?: number
|
|
344
|
-
createdAt?: Date | string
|
|
345
|
-
updatedAt?: Date | string
|
|
346
|
-
deletedAt?: Date | string | null
|
|
347
|
-
materialId: string
|
|
348
|
-
billOfMaterialId: string
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
export type MaterialBillOfMaterialUpdateManyMutationInput = {
|
|
352
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
353
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
354
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
355
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
356
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
export type MaterialBillOfMaterialUncheckedUpdateManyInput = {
|
|
360
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
361
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
362
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
363
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
364
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
365
|
-
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
366
|
-
billOfMaterialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export type MaterialBillOfMaterialListRelationFilter = {
|
|
370
|
-
every?: Prisma.MaterialBillOfMaterialWhereInput
|
|
371
|
-
some?: Prisma.MaterialBillOfMaterialWhereInput
|
|
372
|
-
none?: Prisma.MaterialBillOfMaterialWhereInput
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
export type MaterialBillOfMaterialOrderByRelationAggregateInput = {
|
|
376
|
-
_count?: Prisma.SortOrder
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
export type MaterialBillOfMaterialCountOrderByAggregateInput = {
|
|
380
|
-
id?: Prisma.SortOrder
|
|
381
|
-
no?: Prisma.SortOrder
|
|
382
|
-
createdAt?: Prisma.SortOrder
|
|
383
|
-
updatedAt?: Prisma.SortOrder
|
|
384
|
-
deletedAt?: Prisma.SortOrder
|
|
385
|
-
materialId?: Prisma.SortOrder
|
|
386
|
-
billOfMaterialId?: Prisma.SortOrder
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
export type MaterialBillOfMaterialAvgOrderByAggregateInput = {
|
|
390
|
-
no?: Prisma.SortOrder
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
export type MaterialBillOfMaterialMaxOrderByAggregateInput = {
|
|
394
|
-
id?: Prisma.SortOrder
|
|
395
|
-
no?: Prisma.SortOrder
|
|
396
|
-
createdAt?: Prisma.SortOrder
|
|
397
|
-
updatedAt?: Prisma.SortOrder
|
|
398
|
-
deletedAt?: Prisma.SortOrder
|
|
399
|
-
materialId?: Prisma.SortOrder
|
|
400
|
-
billOfMaterialId?: Prisma.SortOrder
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
export type MaterialBillOfMaterialMinOrderByAggregateInput = {
|
|
404
|
-
id?: Prisma.SortOrder
|
|
405
|
-
no?: Prisma.SortOrder
|
|
406
|
-
createdAt?: Prisma.SortOrder
|
|
407
|
-
updatedAt?: Prisma.SortOrder
|
|
408
|
-
deletedAt?: Prisma.SortOrder
|
|
409
|
-
materialId?: Prisma.SortOrder
|
|
410
|
-
billOfMaterialId?: Prisma.SortOrder
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
export type MaterialBillOfMaterialSumOrderByAggregateInput = {
|
|
414
|
-
no?: Prisma.SortOrder
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
export type MaterialBillOfMaterialNullableScalarRelationFilter = {
|
|
418
|
-
is?: Prisma.MaterialBillOfMaterialWhereInput | null
|
|
419
|
-
isNot?: Prisma.MaterialBillOfMaterialWhereInput | null
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
export type MaterialBillOfMaterialCreateNestedManyWithoutBillOfMaterialInput = {
|
|
423
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput> | Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput[] | Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput[]
|
|
424
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput[]
|
|
425
|
-
createMany?: Prisma.MaterialBillOfMaterialCreateManyBillOfMaterialInputEnvelope
|
|
426
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
export type MaterialBillOfMaterialUncheckedCreateNestedManyWithoutBillOfMaterialInput = {
|
|
430
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput> | Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput[] | Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput[]
|
|
431
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput[]
|
|
432
|
-
createMany?: Prisma.MaterialBillOfMaterialCreateManyBillOfMaterialInputEnvelope
|
|
433
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
export type MaterialBillOfMaterialUpdateManyWithoutBillOfMaterialNestedInput = {
|
|
437
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput> | Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput[] | Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput[]
|
|
438
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput[]
|
|
439
|
-
upsert?: Prisma.MaterialBillOfMaterialUpsertWithWhereUniqueWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialUpsertWithWhereUniqueWithoutBillOfMaterialInput[]
|
|
440
|
-
createMany?: Prisma.MaterialBillOfMaterialCreateManyBillOfMaterialInputEnvelope
|
|
441
|
-
set?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
442
|
-
disconnect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
443
|
-
delete?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
444
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
445
|
-
update?: Prisma.MaterialBillOfMaterialUpdateWithWhereUniqueWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialUpdateWithWhereUniqueWithoutBillOfMaterialInput[]
|
|
446
|
-
updateMany?: Prisma.MaterialBillOfMaterialUpdateManyWithWhereWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialUpdateManyWithWhereWithoutBillOfMaterialInput[]
|
|
447
|
-
deleteMany?: Prisma.MaterialBillOfMaterialScalarWhereInput | Prisma.MaterialBillOfMaterialScalarWhereInput[]
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
export type MaterialBillOfMaterialUncheckedUpdateManyWithoutBillOfMaterialNestedInput = {
|
|
451
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput> | Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput[] | Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput[]
|
|
452
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput[]
|
|
453
|
-
upsert?: Prisma.MaterialBillOfMaterialUpsertWithWhereUniqueWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialUpsertWithWhereUniqueWithoutBillOfMaterialInput[]
|
|
454
|
-
createMany?: Prisma.MaterialBillOfMaterialCreateManyBillOfMaterialInputEnvelope
|
|
455
|
-
set?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
456
|
-
disconnect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
457
|
-
delete?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
458
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
459
|
-
update?: Prisma.MaterialBillOfMaterialUpdateWithWhereUniqueWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialUpdateWithWhereUniqueWithoutBillOfMaterialInput[]
|
|
460
|
-
updateMany?: Prisma.MaterialBillOfMaterialUpdateManyWithWhereWithoutBillOfMaterialInput | Prisma.MaterialBillOfMaterialUpdateManyWithWhereWithoutBillOfMaterialInput[]
|
|
461
|
-
deleteMany?: Prisma.MaterialBillOfMaterialScalarWhereInput | Prisma.MaterialBillOfMaterialScalarWhereInput[]
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
export type MaterialBillOfMaterialCreateNestedManyWithoutMaterialInput = {
|
|
465
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput> | Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput[] | Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput[]
|
|
466
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput | Prisma.MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput[]
|
|
467
|
-
createMany?: Prisma.MaterialBillOfMaterialCreateManyMaterialInputEnvelope
|
|
468
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
export type MaterialBillOfMaterialUncheckedCreateNestedManyWithoutMaterialInput = {
|
|
472
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput> | Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput[] | Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput[]
|
|
473
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput | Prisma.MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput[]
|
|
474
|
-
createMany?: Prisma.MaterialBillOfMaterialCreateManyMaterialInputEnvelope
|
|
475
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
export type MaterialBillOfMaterialUpdateManyWithoutMaterialNestedInput = {
|
|
479
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput> | Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput[] | Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput[]
|
|
480
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput | Prisma.MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput[]
|
|
481
|
-
upsert?: Prisma.MaterialBillOfMaterialUpsertWithWhereUniqueWithoutMaterialInput | Prisma.MaterialBillOfMaterialUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
482
|
-
createMany?: Prisma.MaterialBillOfMaterialCreateManyMaterialInputEnvelope
|
|
483
|
-
set?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
484
|
-
disconnect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
485
|
-
delete?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
486
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
487
|
-
update?: Prisma.MaterialBillOfMaterialUpdateWithWhereUniqueWithoutMaterialInput | Prisma.MaterialBillOfMaterialUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
488
|
-
updateMany?: Prisma.MaterialBillOfMaterialUpdateManyWithWhereWithoutMaterialInput | Prisma.MaterialBillOfMaterialUpdateManyWithWhereWithoutMaterialInput[]
|
|
489
|
-
deleteMany?: Prisma.MaterialBillOfMaterialScalarWhereInput | Prisma.MaterialBillOfMaterialScalarWhereInput[]
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
export type MaterialBillOfMaterialUncheckedUpdateManyWithoutMaterialNestedInput = {
|
|
493
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput> | Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput[] | Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput[]
|
|
494
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput | Prisma.MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput[]
|
|
495
|
-
upsert?: Prisma.MaterialBillOfMaterialUpsertWithWhereUniqueWithoutMaterialInput | Prisma.MaterialBillOfMaterialUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
496
|
-
createMany?: Prisma.MaterialBillOfMaterialCreateManyMaterialInputEnvelope
|
|
497
|
-
set?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
498
|
-
disconnect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
499
|
-
delete?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
500
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput | Prisma.MaterialBillOfMaterialWhereUniqueInput[]
|
|
501
|
-
update?: Prisma.MaterialBillOfMaterialUpdateWithWhereUniqueWithoutMaterialInput | Prisma.MaterialBillOfMaterialUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
502
|
-
updateMany?: Prisma.MaterialBillOfMaterialUpdateManyWithWhereWithoutMaterialInput | Prisma.MaterialBillOfMaterialUpdateManyWithWhereWithoutMaterialInput[]
|
|
503
|
-
deleteMany?: Prisma.MaterialBillOfMaterialScalarWhereInput | Prisma.MaterialBillOfMaterialScalarWhereInput[]
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
export type MaterialBillOfMaterialCreateNestedOneWithoutDispatchMaterialInput = {
|
|
507
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutDispatchMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutDispatchMaterialInput>
|
|
508
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutDispatchMaterialInput
|
|
509
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
export type MaterialBillOfMaterialUpdateOneWithoutDispatchMaterialNestedInput = {
|
|
513
|
-
create?: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutDispatchMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutDispatchMaterialInput>
|
|
514
|
-
connectOrCreate?: Prisma.MaterialBillOfMaterialCreateOrConnectWithoutDispatchMaterialInput
|
|
515
|
-
upsert?: Prisma.MaterialBillOfMaterialUpsertWithoutDispatchMaterialInput
|
|
516
|
-
disconnect?: Prisma.MaterialBillOfMaterialWhereInput | boolean
|
|
517
|
-
delete?: Prisma.MaterialBillOfMaterialWhereInput | boolean
|
|
518
|
-
connect?: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
519
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateToOneWithWhereWithoutDispatchMaterialInput, Prisma.MaterialBillOfMaterialUpdateWithoutDispatchMaterialInput>, Prisma.MaterialBillOfMaterialUncheckedUpdateWithoutDispatchMaterialInput>
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
export type MaterialBillOfMaterialCreateWithoutBillOfMaterialInput = {
|
|
523
|
-
id?: string
|
|
524
|
-
no?: number
|
|
525
|
-
createdAt?: Date | string
|
|
526
|
-
updatedAt?: Date | string
|
|
527
|
-
deletedAt?: Date | string | null
|
|
528
|
-
material: Prisma.MaterialCreateNestedOneWithoutBillOfMaterialInput
|
|
529
|
-
dispatchMaterial?: Prisma.DispatchMaterialCreateNestedManyWithoutMaterialBillOfMaterialInput
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
export type MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput = {
|
|
533
|
-
id?: string
|
|
534
|
-
no?: number
|
|
535
|
-
createdAt?: Date | string
|
|
536
|
-
updatedAt?: Date | string
|
|
537
|
-
deletedAt?: Date | string | null
|
|
538
|
-
materialId: string
|
|
539
|
-
dispatchMaterial?: Prisma.DispatchMaterialUncheckedCreateNestedManyWithoutMaterialBillOfMaterialInput
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
export type MaterialBillOfMaterialCreateOrConnectWithoutBillOfMaterialInput = {
|
|
543
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
544
|
-
create: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput>
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
export type MaterialBillOfMaterialCreateManyBillOfMaterialInputEnvelope = {
|
|
548
|
-
data: Prisma.MaterialBillOfMaterialCreateManyBillOfMaterialInput | Prisma.MaterialBillOfMaterialCreateManyBillOfMaterialInput[]
|
|
549
|
-
skipDuplicates?: boolean
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
export type MaterialBillOfMaterialUpsertWithWhereUniqueWithoutBillOfMaterialInput = {
|
|
553
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
554
|
-
update: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateWithoutBillOfMaterialInput, Prisma.MaterialBillOfMaterialUncheckedUpdateWithoutBillOfMaterialInput>
|
|
555
|
-
create: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutBillOfMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutBillOfMaterialInput>
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
export type MaterialBillOfMaterialUpdateWithWhereUniqueWithoutBillOfMaterialInput = {
|
|
559
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
560
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateWithoutBillOfMaterialInput, Prisma.MaterialBillOfMaterialUncheckedUpdateWithoutBillOfMaterialInput>
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
export type MaterialBillOfMaterialUpdateManyWithWhereWithoutBillOfMaterialInput = {
|
|
564
|
-
where: Prisma.MaterialBillOfMaterialScalarWhereInput
|
|
565
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateManyMutationInput, Prisma.MaterialBillOfMaterialUncheckedUpdateManyWithoutBillOfMaterialInput>
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
export type MaterialBillOfMaterialScalarWhereInput = {
|
|
569
|
-
AND?: Prisma.MaterialBillOfMaterialScalarWhereInput | Prisma.MaterialBillOfMaterialScalarWhereInput[]
|
|
570
|
-
OR?: Prisma.MaterialBillOfMaterialScalarWhereInput[]
|
|
571
|
-
NOT?: Prisma.MaterialBillOfMaterialScalarWhereInput | Prisma.MaterialBillOfMaterialScalarWhereInput[]
|
|
572
|
-
id?: Prisma.StringFilter<"MaterialBillOfMaterial"> | string
|
|
573
|
-
no?: Prisma.IntFilter<"MaterialBillOfMaterial"> | number
|
|
574
|
-
createdAt?: Prisma.DateTimeFilter<"MaterialBillOfMaterial"> | Date | string
|
|
575
|
-
updatedAt?: Prisma.DateTimeFilter<"MaterialBillOfMaterial"> | Date | string
|
|
576
|
-
deletedAt?: Prisma.DateTimeNullableFilter<"MaterialBillOfMaterial"> | Date | string | null
|
|
577
|
-
materialId?: Prisma.StringFilter<"MaterialBillOfMaterial"> | string
|
|
578
|
-
billOfMaterialId?: Prisma.StringFilter<"MaterialBillOfMaterial"> | string
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
export type MaterialBillOfMaterialCreateWithoutMaterialInput = {
|
|
582
|
-
id?: string
|
|
583
|
-
no?: number
|
|
584
|
-
createdAt?: Date | string
|
|
585
|
-
updatedAt?: Date | string
|
|
586
|
-
deletedAt?: Date | string | null
|
|
587
|
-
billOfMaterial: Prisma.BillOfMaterialCreateNestedOneWithoutMaterialsInput
|
|
588
|
-
dispatchMaterial?: Prisma.DispatchMaterialCreateNestedManyWithoutMaterialBillOfMaterialInput
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
export type MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput = {
|
|
592
|
-
id?: string
|
|
593
|
-
no?: number
|
|
594
|
-
createdAt?: Date | string
|
|
595
|
-
updatedAt?: Date | string
|
|
596
|
-
deletedAt?: Date | string | null
|
|
597
|
-
billOfMaterialId: string
|
|
598
|
-
dispatchMaterial?: Prisma.DispatchMaterialUncheckedCreateNestedManyWithoutMaterialBillOfMaterialInput
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
export type MaterialBillOfMaterialCreateOrConnectWithoutMaterialInput = {
|
|
602
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
603
|
-
create: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput>
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
export type MaterialBillOfMaterialCreateManyMaterialInputEnvelope = {
|
|
607
|
-
data: Prisma.MaterialBillOfMaterialCreateManyMaterialInput | Prisma.MaterialBillOfMaterialCreateManyMaterialInput[]
|
|
608
|
-
skipDuplicates?: boolean
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
export type MaterialBillOfMaterialUpsertWithWhereUniqueWithoutMaterialInput = {
|
|
612
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
613
|
-
update: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateWithoutMaterialInput, Prisma.MaterialBillOfMaterialUncheckedUpdateWithoutMaterialInput>
|
|
614
|
-
create: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutMaterialInput>
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
export type MaterialBillOfMaterialUpdateWithWhereUniqueWithoutMaterialInput = {
|
|
618
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
619
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateWithoutMaterialInput, Prisma.MaterialBillOfMaterialUncheckedUpdateWithoutMaterialInput>
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
export type MaterialBillOfMaterialUpdateManyWithWhereWithoutMaterialInput = {
|
|
623
|
-
where: Prisma.MaterialBillOfMaterialScalarWhereInput
|
|
624
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateManyMutationInput, Prisma.MaterialBillOfMaterialUncheckedUpdateManyWithoutMaterialInput>
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
export type MaterialBillOfMaterialCreateWithoutDispatchMaterialInput = {
|
|
628
|
-
id?: string
|
|
629
|
-
no?: number
|
|
630
|
-
createdAt?: Date | string
|
|
631
|
-
updatedAt?: Date | string
|
|
632
|
-
deletedAt?: Date | string | null
|
|
633
|
-
material: Prisma.MaterialCreateNestedOneWithoutBillOfMaterialInput
|
|
634
|
-
billOfMaterial: Prisma.BillOfMaterialCreateNestedOneWithoutMaterialsInput
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
export type MaterialBillOfMaterialUncheckedCreateWithoutDispatchMaterialInput = {
|
|
638
|
-
id?: string
|
|
639
|
-
no?: number
|
|
640
|
-
createdAt?: Date | string
|
|
641
|
-
updatedAt?: Date | string
|
|
642
|
-
deletedAt?: Date | string | null
|
|
643
|
-
materialId: string
|
|
644
|
-
billOfMaterialId: string
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
export type MaterialBillOfMaterialCreateOrConnectWithoutDispatchMaterialInput = {
|
|
648
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
649
|
-
create: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutDispatchMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutDispatchMaterialInput>
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
export type MaterialBillOfMaterialUpsertWithoutDispatchMaterialInput = {
|
|
653
|
-
update: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateWithoutDispatchMaterialInput, Prisma.MaterialBillOfMaterialUncheckedUpdateWithoutDispatchMaterialInput>
|
|
654
|
-
create: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateWithoutDispatchMaterialInput, Prisma.MaterialBillOfMaterialUncheckedCreateWithoutDispatchMaterialInput>
|
|
655
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
export type MaterialBillOfMaterialUpdateToOneWithWhereWithoutDispatchMaterialInput = {
|
|
659
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
660
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateWithoutDispatchMaterialInput, Prisma.MaterialBillOfMaterialUncheckedUpdateWithoutDispatchMaterialInput>
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
export type MaterialBillOfMaterialUpdateWithoutDispatchMaterialInput = {
|
|
664
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
665
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
666
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
667
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
668
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
669
|
-
material?: Prisma.MaterialUpdateOneRequiredWithoutBillOfMaterialNestedInput
|
|
670
|
-
billOfMaterial?: Prisma.BillOfMaterialUpdateOneRequiredWithoutMaterialsNestedInput
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
export type MaterialBillOfMaterialUncheckedUpdateWithoutDispatchMaterialInput = {
|
|
674
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
675
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
676
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
677
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
678
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
679
|
-
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
680
|
-
billOfMaterialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
export type MaterialBillOfMaterialCreateManyBillOfMaterialInput = {
|
|
684
|
-
id?: string
|
|
685
|
-
no?: number
|
|
686
|
-
createdAt?: Date | string
|
|
687
|
-
updatedAt?: Date | string
|
|
688
|
-
deletedAt?: Date | string | null
|
|
689
|
-
materialId: string
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
export type MaterialBillOfMaterialUpdateWithoutBillOfMaterialInput = {
|
|
693
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
694
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
695
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
696
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
697
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
698
|
-
material?: Prisma.MaterialUpdateOneRequiredWithoutBillOfMaterialNestedInput
|
|
699
|
-
dispatchMaterial?: Prisma.DispatchMaterialUpdateManyWithoutMaterialBillOfMaterialNestedInput
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
export type MaterialBillOfMaterialUncheckedUpdateWithoutBillOfMaterialInput = {
|
|
703
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
704
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
705
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
706
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
707
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
708
|
-
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
709
|
-
dispatchMaterial?: Prisma.DispatchMaterialUncheckedUpdateManyWithoutMaterialBillOfMaterialNestedInput
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
export type MaterialBillOfMaterialUncheckedUpdateManyWithoutBillOfMaterialInput = {
|
|
713
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
714
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
715
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
716
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
717
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
718
|
-
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
export type MaterialBillOfMaterialCreateManyMaterialInput = {
|
|
722
|
-
id?: string
|
|
723
|
-
no?: number
|
|
724
|
-
createdAt?: Date | string
|
|
725
|
-
updatedAt?: Date | string
|
|
726
|
-
deletedAt?: Date | string | null
|
|
727
|
-
billOfMaterialId: string
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
export type MaterialBillOfMaterialUpdateWithoutMaterialInput = {
|
|
731
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
732
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
733
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
734
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
735
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
736
|
-
billOfMaterial?: Prisma.BillOfMaterialUpdateOneRequiredWithoutMaterialsNestedInput
|
|
737
|
-
dispatchMaterial?: Prisma.DispatchMaterialUpdateManyWithoutMaterialBillOfMaterialNestedInput
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
export type MaterialBillOfMaterialUncheckedUpdateWithoutMaterialInput = {
|
|
741
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
742
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
743
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
744
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
745
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
746
|
-
billOfMaterialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
747
|
-
dispatchMaterial?: Prisma.DispatchMaterialUncheckedUpdateManyWithoutMaterialBillOfMaterialNestedInput
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
export type MaterialBillOfMaterialUncheckedUpdateManyWithoutMaterialInput = {
|
|
751
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
752
|
-
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
753
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
754
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
755
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
756
|
-
billOfMaterialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* Count Type MaterialBillOfMaterialCountOutputType
|
|
762
|
-
*/
|
|
763
|
-
|
|
764
|
-
export type MaterialBillOfMaterialCountOutputType = {
|
|
765
|
-
dispatchMaterial: number
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
export type MaterialBillOfMaterialCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
769
|
-
dispatchMaterial?: boolean | MaterialBillOfMaterialCountOutputTypeCountDispatchMaterialArgs
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
* MaterialBillOfMaterialCountOutputType without action
|
|
774
|
-
*/
|
|
775
|
-
export type MaterialBillOfMaterialCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
776
|
-
/**
|
|
777
|
-
* Select specific fields to fetch from the MaterialBillOfMaterialCountOutputType
|
|
778
|
-
*/
|
|
779
|
-
select?: Prisma.MaterialBillOfMaterialCountOutputTypeSelect<ExtArgs> | null
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* MaterialBillOfMaterialCountOutputType without action
|
|
784
|
-
*/
|
|
785
|
-
export type MaterialBillOfMaterialCountOutputTypeCountDispatchMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
786
|
-
where?: Prisma.DispatchMaterialWhereInput
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
export type MaterialBillOfMaterialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
791
|
-
id?: boolean
|
|
792
|
-
no?: boolean
|
|
793
|
-
createdAt?: boolean
|
|
794
|
-
updatedAt?: boolean
|
|
795
|
-
deletedAt?: boolean
|
|
796
|
-
materialId?: boolean
|
|
797
|
-
billOfMaterialId?: boolean
|
|
798
|
-
material?: boolean | Prisma.MaterialDefaultArgs<ExtArgs>
|
|
799
|
-
billOfMaterial?: boolean | Prisma.BillOfMaterialDefaultArgs<ExtArgs>
|
|
800
|
-
dispatchMaterial?: boolean | Prisma.MaterialBillOfMaterial$dispatchMaterialArgs<ExtArgs>
|
|
801
|
-
_count?: boolean | Prisma.MaterialBillOfMaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
802
|
-
}, ExtArgs["result"]["materialBillOfMaterial"]>
|
|
803
|
-
|
|
804
|
-
export type MaterialBillOfMaterialSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
805
|
-
id?: boolean
|
|
806
|
-
no?: boolean
|
|
807
|
-
createdAt?: boolean
|
|
808
|
-
updatedAt?: boolean
|
|
809
|
-
deletedAt?: boolean
|
|
810
|
-
materialId?: boolean
|
|
811
|
-
billOfMaterialId?: boolean
|
|
812
|
-
material?: boolean | Prisma.MaterialDefaultArgs<ExtArgs>
|
|
813
|
-
billOfMaterial?: boolean | Prisma.BillOfMaterialDefaultArgs<ExtArgs>
|
|
814
|
-
}, ExtArgs["result"]["materialBillOfMaterial"]>
|
|
815
|
-
|
|
816
|
-
export type MaterialBillOfMaterialSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
817
|
-
id?: boolean
|
|
818
|
-
no?: boolean
|
|
819
|
-
createdAt?: boolean
|
|
820
|
-
updatedAt?: boolean
|
|
821
|
-
deletedAt?: boolean
|
|
822
|
-
materialId?: boolean
|
|
823
|
-
billOfMaterialId?: boolean
|
|
824
|
-
material?: boolean | Prisma.MaterialDefaultArgs<ExtArgs>
|
|
825
|
-
billOfMaterial?: boolean | Prisma.BillOfMaterialDefaultArgs<ExtArgs>
|
|
826
|
-
}, ExtArgs["result"]["materialBillOfMaterial"]>
|
|
827
|
-
|
|
828
|
-
export type MaterialBillOfMaterialSelectScalar = {
|
|
829
|
-
id?: boolean
|
|
830
|
-
no?: boolean
|
|
831
|
-
createdAt?: boolean
|
|
832
|
-
updatedAt?: boolean
|
|
833
|
-
deletedAt?: boolean
|
|
834
|
-
materialId?: boolean
|
|
835
|
-
billOfMaterialId?: boolean
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
export type MaterialBillOfMaterialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "createdAt" | "updatedAt" | "deletedAt" | "materialId" | "billOfMaterialId", ExtArgs["result"]["materialBillOfMaterial"]>
|
|
839
|
-
export type MaterialBillOfMaterialInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
840
|
-
material?: boolean | Prisma.MaterialDefaultArgs<ExtArgs>
|
|
841
|
-
billOfMaterial?: boolean | Prisma.BillOfMaterialDefaultArgs<ExtArgs>
|
|
842
|
-
dispatchMaterial?: boolean | Prisma.MaterialBillOfMaterial$dispatchMaterialArgs<ExtArgs>
|
|
843
|
-
_count?: boolean | Prisma.MaterialBillOfMaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
844
|
-
}
|
|
845
|
-
export type MaterialBillOfMaterialIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
846
|
-
material?: boolean | Prisma.MaterialDefaultArgs<ExtArgs>
|
|
847
|
-
billOfMaterial?: boolean | Prisma.BillOfMaterialDefaultArgs<ExtArgs>
|
|
848
|
-
}
|
|
849
|
-
export type MaterialBillOfMaterialIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
850
|
-
material?: boolean | Prisma.MaterialDefaultArgs<ExtArgs>
|
|
851
|
-
billOfMaterial?: boolean | Prisma.BillOfMaterialDefaultArgs<ExtArgs>
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
export type $MaterialBillOfMaterialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
855
|
-
name: "MaterialBillOfMaterial"
|
|
856
|
-
objects: {
|
|
857
|
-
material: Prisma.$MaterialPayload<ExtArgs>
|
|
858
|
-
billOfMaterial: Prisma.$BillOfMaterialPayload<ExtArgs>
|
|
859
|
-
dispatchMaterial: Prisma.$DispatchMaterialPayload<ExtArgs>[]
|
|
860
|
-
}
|
|
861
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
862
|
-
id: string
|
|
863
|
-
no: number
|
|
864
|
-
createdAt: Date
|
|
865
|
-
updatedAt: Date
|
|
866
|
-
deletedAt: Date | null
|
|
867
|
-
materialId: string
|
|
868
|
-
billOfMaterialId: string
|
|
869
|
-
}, ExtArgs["result"]["materialBillOfMaterial"]>
|
|
870
|
-
composites: {}
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
export type MaterialBillOfMaterialGetPayload<S extends boolean | null | undefined | MaterialBillOfMaterialDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload, S>
|
|
874
|
-
|
|
875
|
-
export type MaterialBillOfMaterialCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
876
|
-
Omit<MaterialBillOfMaterialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
877
|
-
select?: MaterialBillOfMaterialCountAggregateInputType | true
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
export interface MaterialBillOfMaterialDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
881
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MaterialBillOfMaterial'], meta: { name: 'MaterialBillOfMaterial' } }
|
|
882
|
-
/**
|
|
883
|
-
* Find zero or one MaterialBillOfMaterial that matches the filter.
|
|
884
|
-
* @param {MaterialBillOfMaterialFindUniqueArgs} args - Arguments to find a MaterialBillOfMaterial
|
|
885
|
-
* @example
|
|
886
|
-
* // Get one MaterialBillOfMaterial
|
|
887
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.findUnique({
|
|
888
|
-
* where: {
|
|
889
|
-
* // ... provide filter here
|
|
890
|
-
* }
|
|
891
|
-
* })
|
|
892
|
-
*/
|
|
893
|
-
findUnique<T extends MaterialBillOfMaterialFindUniqueArgs>(args: Prisma.SelectSubset<T, MaterialBillOfMaterialFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
894
|
-
|
|
895
|
-
/**
|
|
896
|
-
* Find one MaterialBillOfMaterial that matches the filter or throw an error with `error.code='P2025'`
|
|
897
|
-
* if no matches were found.
|
|
898
|
-
* @param {MaterialBillOfMaterialFindUniqueOrThrowArgs} args - Arguments to find a MaterialBillOfMaterial
|
|
899
|
-
* @example
|
|
900
|
-
* // Get one MaterialBillOfMaterial
|
|
901
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.findUniqueOrThrow({
|
|
902
|
-
* where: {
|
|
903
|
-
* // ... provide filter here
|
|
904
|
-
* }
|
|
905
|
-
* })
|
|
906
|
-
*/
|
|
907
|
-
findUniqueOrThrow<T extends MaterialBillOfMaterialFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MaterialBillOfMaterialFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
908
|
-
|
|
909
|
-
/**
|
|
910
|
-
* Find the first MaterialBillOfMaterial that matches the filter.
|
|
911
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
912
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
913
|
-
* @param {MaterialBillOfMaterialFindFirstArgs} args - Arguments to find a MaterialBillOfMaterial
|
|
914
|
-
* @example
|
|
915
|
-
* // Get one MaterialBillOfMaterial
|
|
916
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.findFirst({
|
|
917
|
-
* where: {
|
|
918
|
-
* // ... provide filter here
|
|
919
|
-
* }
|
|
920
|
-
* })
|
|
921
|
-
*/
|
|
922
|
-
findFirst<T extends MaterialBillOfMaterialFindFirstArgs>(args?: Prisma.SelectSubset<T, MaterialBillOfMaterialFindFirstArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* Find the first MaterialBillOfMaterial that matches the filter or
|
|
926
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
927
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
928
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
929
|
-
* @param {MaterialBillOfMaterialFindFirstOrThrowArgs} args - Arguments to find a MaterialBillOfMaterial
|
|
930
|
-
* @example
|
|
931
|
-
* // Get one MaterialBillOfMaterial
|
|
932
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.findFirstOrThrow({
|
|
933
|
-
* where: {
|
|
934
|
-
* // ... provide filter here
|
|
935
|
-
* }
|
|
936
|
-
* })
|
|
937
|
-
*/
|
|
938
|
-
findFirstOrThrow<T extends MaterialBillOfMaterialFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MaterialBillOfMaterialFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* Find zero or more MaterialBillOfMaterials that matches the filter.
|
|
942
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
943
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
944
|
-
* @param {MaterialBillOfMaterialFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
945
|
-
* @example
|
|
946
|
-
* // Get all MaterialBillOfMaterials
|
|
947
|
-
* const materialBillOfMaterials = await prisma.materialBillOfMaterial.findMany()
|
|
948
|
-
*
|
|
949
|
-
* // Get first 10 MaterialBillOfMaterials
|
|
950
|
-
* const materialBillOfMaterials = await prisma.materialBillOfMaterial.findMany({ take: 10 })
|
|
951
|
-
*
|
|
952
|
-
* // Only select the `id`
|
|
953
|
-
* const materialBillOfMaterialWithIdOnly = await prisma.materialBillOfMaterial.findMany({ select: { id: true } })
|
|
954
|
-
*
|
|
955
|
-
*/
|
|
956
|
-
findMany<T extends MaterialBillOfMaterialFindManyArgs>(args?: Prisma.SelectSubset<T, MaterialBillOfMaterialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
957
|
-
|
|
958
|
-
/**
|
|
959
|
-
* Create a MaterialBillOfMaterial.
|
|
960
|
-
* @param {MaterialBillOfMaterialCreateArgs} args - Arguments to create a MaterialBillOfMaterial.
|
|
961
|
-
* @example
|
|
962
|
-
* // Create one MaterialBillOfMaterial
|
|
963
|
-
* const MaterialBillOfMaterial = await prisma.materialBillOfMaterial.create({
|
|
964
|
-
* data: {
|
|
965
|
-
* // ... data to create a MaterialBillOfMaterial
|
|
966
|
-
* }
|
|
967
|
-
* })
|
|
968
|
-
*
|
|
969
|
-
*/
|
|
970
|
-
create<T extends MaterialBillOfMaterialCreateArgs>(args: Prisma.SelectSubset<T, MaterialBillOfMaterialCreateArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* Create many MaterialBillOfMaterials.
|
|
974
|
-
* @param {MaterialBillOfMaterialCreateManyArgs} args - Arguments to create many MaterialBillOfMaterials.
|
|
975
|
-
* @example
|
|
976
|
-
* // Create many MaterialBillOfMaterials
|
|
977
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.createMany({
|
|
978
|
-
* data: [
|
|
979
|
-
* // ... provide data here
|
|
980
|
-
* ]
|
|
981
|
-
* })
|
|
982
|
-
*
|
|
983
|
-
*/
|
|
984
|
-
createMany<T extends MaterialBillOfMaterialCreateManyArgs>(args?: Prisma.SelectSubset<T, MaterialBillOfMaterialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* Create many MaterialBillOfMaterials and returns the data saved in the database.
|
|
988
|
-
* @param {MaterialBillOfMaterialCreateManyAndReturnArgs} args - Arguments to create many MaterialBillOfMaterials.
|
|
989
|
-
* @example
|
|
990
|
-
* // Create many MaterialBillOfMaterials
|
|
991
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.createManyAndReturn({
|
|
992
|
-
* data: [
|
|
993
|
-
* // ... provide data here
|
|
994
|
-
* ]
|
|
995
|
-
* })
|
|
996
|
-
*
|
|
997
|
-
* // Create many MaterialBillOfMaterials and only return the `id`
|
|
998
|
-
* const materialBillOfMaterialWithIdOnly = await prisma.materialBillOfMaterial.createManyAndReturn({
|
|
999
|
-
* select: { id: true },
|
|
1000
|
-
* data: [
|
|
1001
|
-
* // ... provide data here
|
|
1002
|
-
* ]
|
|
1003
|
-
* })
|
|
1004
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1005
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1006
|
-
*
|
|
1007
|
-
*/
|
|
1008
|
-
createManyAndReturn<T extends MaterialBillOfMaterialCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MaterialBillOfMaterialCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1009
|
-
|
|
1010
|
-
/**
|
|
1011
|
-
* Delete a MaterialBillOfMaterial.
|
|
1012
|
-
* @param {MaterialBillOfMaterialDeleteArgs} args - Arguments to delete one MaterialBillOfMaterial.
|
|
1013
|
-
* @example
|
|
1014
|
-
* // Delete one MaterialBillOfMaterial
|
|
1015
|
-
* const MaterialBillOfMaterial = await prisma.materialBillOfMaterial.delete({
|
|
1016
|
-
* where: {
|
|
1017
|
-
* // ... filter to delete one MaterialBillOfMaterial
|
|
1018
|
-
* }
|
|
1019
|
-
* })
|
|
1020
|
-
*
|
|
1021
|
-
*/
|
|
1022
|
-
delete<T extends MaterialBillOfMaterialDeleteArgs>(args: Prisma.SelectSubset<T, MaterialBillOfMaterialDeleteArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1023
|
-
|
|
1024
|
-
/**
|
|
1025
|
-
* Update one MaterialBillOfMaterial.
|
|
1026
|
-
* @param {MaterialBillOfMaterialUpdateArgs} args - Arguments to update one MaterialBillOfMaterial.
|
|
1027
|
-
* @example
|
|
1028
|
-
* // Update one MaterialBillOfMaterial
|
|
1029
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.update({
|
|
1030
|
-
* where: {
|
|
1031
|
-
* // ... provide filter here
|
|
1032
|
-
* },
|
|
1033
|
-
* data: {
|
|
1034
|
-
* // ... provide data here
|
|
1035
|
-
* }
|
|
1036
|
-
* })
|
|
1037
|
-
*
|
|
1038
|
-
*/
|
|
1039
|
-
update<T extends MaterialBillOfMaterialUpdateArgs>(args: Prisma.SelectSubset<T, MaterialBillOfMaterialUpdateArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1040
|
-
|
|
1041
|
-
/**
|
|
1042
|
-
* Delete zero or more MaterialBillOfMaterials.
|
|
1043
|
-
* @param {MaterialBillOfMaterialDeleteManyArgs} args - Arguments to filter MaterialBillOfMaterials to delete.
|
|
1044
|
-
* @example
|
|
1045
|
-
* // Delete a few MaterialBillOfMaterials
|
|
1046
|
-
* const { count } = await prisma.materialBillOfMaterial.deleteMany({
|
|
1047
|
-
* where: {
|
|
1048
|
-
* // ... provide filter here
|
|
1049
|
-
* }
|
|
1050
|
-
* })
|
|
1051
|
-
*
|
|
1052
|
-
*/
|
|
1053
|
-
deleteMany<T extends MaterialBillOfMaterialDeleteManyArgs>(args?: Prisma.SelectSubset<T, MaterialBillOfMaterialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* Update zero or more MaterialBillOfMaterials.
|
|
1057
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1058
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1059
|
-
* @param {MaterialBillOfMaterialUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1060
|
-
* @example
|
|
1061
|
-
* // Update many MaterialBillOfMaterials
|
|
1062
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.updateMany({
|
|
1063
|
-
* where: {
|
|
1064
|
-
* // ... provide filter here
|
|
1065
|
-
* },
|
|
1066
|
-
* data: {
|
|
1067
|
-
* // ... provide data here
|
|
1068
|
-
* }
|
|
1069
|
-
* })
|
|
1070
|
-
*
|
|
1071
|
-
*/
|
|
1072
|
-
updateMany<T extends MaterialBillOfMaterialUpdateManyArgs>(args: Prisma.SelectSubset<T, MaterialBillOfMaterialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1073
|
-
|
|
1074
|
-
/**
|
|
1075
|
-
* Update zero or more MaterialBillOfMaterials and returns the data updated in the database.
|
|
1076
|
-
* @param {MaterialBillOfMaterialUpdateManyAndReturnArgs} args - Arguments to update many MaterialBillOfMaterials.
|
|
1077
|
-
* @example
|
|
1078
|
-
* // Update many MaterialBillOfMaterials
|
|
1079
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.updateManyAndReturn({
|
|
1080
|
-
* where: {
|
|
1081
|
-
* // ... provide filter here
|
|
1082
|
-
* },
|
|
1083
|
-
* data: [
|
|
1084
|
-
* // ... provide data here
|
|
1085
|
-
* ]
|
|
1086
|
-
* })
|
|
1087
|
-
*
|
|
1088
|
-
* // Update zero or more MaterialBillOfMaterials and only return the `id`
|
|
1089
|
-
* const materialBillOfMaterialWithIdOnly = await prisma.materialBillOfMaterial.updateManyAndReturn({
|
|
1090
|
-
* select: { id: true },
|
|
1091
|
-
* where: {
|
|
1092
|
-
* // ... provide filter here
|
|
1093
|
-
* },
|
|
1094
|
-
* data: [
|
|
1095
|
-
* // ... provide data here
|
|
1096
|
-
* ]
|
|
1097
|
-
* })
|
|
1098
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1099
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1100
|
-
*
|
|
1101
|
-
*/
|
|
1102
|
-
updateManyAndReturn<T extends MaterialBillOfMaterialUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MaterialBillOfMaterialUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* Create or update one MaterialBillOfMaterial.
|
|
1106
|
-
* @param {MaterialBillOfMaterialUpsertArgs} args - Arguments to update or create a MaterialBillOfMaterial.
|
|
1107
|
-
* @example
|
|
1108
|
-
* // Update or create a MaterialBillOfMaterial
|
|
1109
|
-
* const materialBillOfMaterial = await prisma.materialBillOfMaterial.upsert({
|
|
1110
|
-
* create: {
|
|
1111
|
-
* // ... data to create a MaterialBillOfMaterial
|
|
1112
|
-
* },
|
|
1113
|
-
* update: {
|
|
1114
|
-
* // ... in case it already exists, update
|
|
1115
|
-
* },
|
|
1116
|
-
* where: {
|
|
1117
|
-
* // ... the filter for the MaterialBillOfMaterial we want to update
|
|
1118
|
-
* }
|
|
1119
|
-
* })
|
|
1120
|
-
*/
|
|
1121
|
-
upsert<T extends MaterialBillOfMaterialUpsertArgs>(args: Prisma.SelectSubset<T, MaterialBillOfMaterialUpsertArgs<ExtArgs>>): Prisma.Prisma__MaterialBillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialBillOfMaterialPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
/**
|
|
1125
|
-
* Count the number of MaterialBillOfMaterials.
|
|
1126
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1127
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1128
|
-
* @param {MaterialBillOfMaterialCountArgs} args - Arguments to filter MaterialBillOfMaterials to count.
|
|
1129
|
-
* @example
|
|
1130
|
-
* // Count the number of MaterialBillOfMaterials
|
|
1131
|
-
* const count = await prisma.materialBillOfMaterial.count({
|
|
1132
|
-
* where: {
|
|
1133
|
-
* // ... the filter for the MaterialBillOfMaterials we want to count
|
|
1134
|
-
* }
|
|
1135
|
-
* })
|
|
1136
|
-
**/
|
|
1137
|
-
count<T extends MaterialBillOfMaterialCountArgs>(
|
|
1138
|
-
args?: Prisma.Subset<T, MaterialBillOfMaterialCountArgs>,
|
|
1139
|
-
): Prisma.PrismaPromise<
|
|
1140
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1141
|
-
? T['select'] extends true
|
|
1142
|
-
? number
|
|
1143
|
-
: Prisma.GetScalarType<T['select'], MaterialBillOfMaterialCountAggregateOutputType>
|
|
1144
|
-
: number
|
|
1145
|
-
>
|
|
1146
|
-
|
|
1147
|
-
/**
|
|
1148
|
-
* Allows you to perform aggregations operations on a MaterialBillOfMaterial.
|
|
1149
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1150
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1151
|
-
* @param {MaterialBillOfMaterialAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1152
|
-
* @example
|
|
1153
|
-
* // Ordered by age ascending
|
|
1154
|
-
* // Where email contains prisma.io
|
|
1155
|
-
* // Limited to the 10 users
|
|
1156
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1157
|
-
* _avg: {
|
|
1158
|
-
* age: true,
|
|
1159
|
-
* },
|
|
1160
|
-
* where: {
|
|
1161
|
-
* email: {
|
|
1162
|
-
* contains: "prisma.io",
|
|
1163
|
-
* },
|
|
1164
|
-
* },
|
|
1165
|
-
* orderBy: {
|
|
1166
|
-
* age: "asc",
|
|
1167
|
-
* },
|
|
1168
|
-
* take: 10,
|
|
1169
|
-
* })
|
|
1170
|
-
**/
|
|
1171
|
-
aggregate<T extends MaterialBillOfMaterialAggregateArgs>(args: Prisma.Subset<T, MaterialBillOfMaterialAggregateArgs>): Prisma.PrismaPromise<GetMaterialBillOfMaterialAggregateType<T>>
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* Group by MaterialBillOfMaterial.
|
|
1175
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1176
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1177
|
-
* @param {MaterialBillOfMaterialGroupByArgs} args - Group by arguments.
|
|
1178
|
-
* @example
|
|
1179
|
-
* // Group by city, order by createdAt, get count
|
|
1180
|
-
* const result = await prisma.user.groupBy({
|
|
1181
|
-
* by: ['city', 'createdAt'],
|
|
1182
|
-
* orderBy: {
|
|
1183
|
-
* createdAt: true
|
|
1184
|
-
* },
|
|
1185
|
-
* _count: {
|
|
1186
|
-
* _all: true
|
|
1187
|
-
* },
|
|
1188
|
-
* })
|
|
1189
|
-
*
|
|
1190
|
-
**/
|
|
1191
|
-
groupBy<
|
|
1192
|
-
T extends MaterialBillOfMaterialGroupByArgs,
|
|
1193
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1194
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1195
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1196
|
-
>,
|
|
1197
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1198
|
-
? { orderBy: MaterialBillOfMaterialGroupByArgs['orderBy'] }
|
|
1199
|
-
: { orderBy?: MaterialBillOfMaterialGroupByArgs['orderBy'] },
|
|
1200
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1201
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1202
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1203
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1204
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1205
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1206
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1207
|
-
? `Error: "by" must not be empty.`
|
|
1208
|
-
: HavingValid extends Prisma.False
|
|
1209
|
-
? {
|
|
1210
|
-
[P in HavingFields]: P extends ByFields
|
|
1211
|
-
? never
|
|
1212
|
-
: P extends string
|
|
1213
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1214
|
-
: [
|
|
1215
|
-
Error,
|
|
1216
|
-
'Field ',
|
|
1217
|
-
P,
|
|
1218
|
-
` in "having" needs to be provided in "by"`,
|
|
1219
|
-
]
|
|
1220
|
-
}[HavingFields]
|
|
1221
|
-
: 'take' extends Prisma.Keys<T>
|
|
1222
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1223
|
-
? ByValid extends Prisma.True
|
|
1224
|
-
? {}
|
|
1225
|
-
: {
|
|
1226
|
-
[P in OrderFields]: P extends ByFields
|
|
1227
|
-
? never
|
|
1228
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1229
|
-
}[OrderFields]
|
|
1230
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1231
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1232
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1233
|
-
? ByValid extends Prisma.True
|
|
1234
|
-
? {}
|
|
1235
|
-
: {
|
|
1236
|
-
[P in OrderFields]: P extends ByFields
|
|
1237
|
-
? never
|
|
1238
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1239
|
-
}[OrderFields]
|
|
1240
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1241
|
-
: ByValid extends Prisma.True
|
|
1242
|
-
? {}
|
|
1243
|
-
: {
|
|
1244
|
-
[P in OrderFields]: P extends ByFields
|
|
1245
|
-
? never
|
|
1246
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1247
|
-
}[OrderFields]
|
|
1248
|
-
>(args: Prisma.SubsetIntersection<T, MaterialBillOfMaterialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMaterialBillOfMaterialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1249
|
-
/**
|
|
1250
|
-
* Fields of the MaterialBillOfMaterial model
|
|
1251
|
-
*/
|
|
1252
|
-
readonly fields: MaterialBillOfMaterialFieldRefs;
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* The delegate class that acts as a "Promise-like" for MaterialBillOfMaterial.
|
|
1257
|
-
* Why is this prefixed with `Prisma__`?
|
|
1258
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1259
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1260
|
-
*/
|
|
1261
|
-
export interface Prisma__MaterialBillOfMaterialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1262
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1263
|
-
material<T extends Prisma.MaterialDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MaterialDefaultArgs<ExtArgs>>): Prisma.Prisma__MaterialClient<runtime.Types.Result.GetResult<Prisma.$MaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1264
|
-
billOfMaterial<T extends Prisma.BillOfMaterialDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BillOfMaterialDefaultArgs<ExtArgs>>): Prisma.Prisma__BillOfMaterialClient<runtime.Types.Result.GetResult<Prisma.$BillOfMaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1265
|
-
dispatchMaterial<T extends Prisma.MaterialBillOfMaterial$dispatchMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MaterialBillOfMaterial$dispatchMaterialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1266
|
-
/**
|
|
1267
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1268
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1269
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1270
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1271
|
-
*/
|
|
1272
|
-
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>
|
|
1273
|
-
/**
|
|
1274
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1275
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1276
|
-
* @returns A Promise for the completion of the callback.
|
|
1277
|
-
*/
|
|
1278
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1279
|
-
/**
|
|
1280
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1281
|
-
* resolved value cannot be modified from the callback.
|
|
1282
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1283
|
-
* @returns A Promise for the completion of the callback.
|
|
1284
|
-
*/
|
|
1285
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
/**
|
|
1292
|
-
* Fields of the MaterialBillOfMaterial model
|
|
1293
|
-
*/
|
|
1294
|
-
export interface MaterialBillOfMaterialFieldRefs {
|
|
1295
|
-
readonly id: Prisma.FieldRef<"MaterialBillOfMaterial", 'String'>
|
|
1296
|
-
readonly no: Prisma.FieldRef<"MaterialBillOfMaterial", 'Int'>
|
|
1297
|
-
readonly createdAt: Prisma.FieldRef<"MaterialBillOfMaterial", 'DateTime'>
|
|
1298
|
-
readonly updatedAt: Prisma.FieldRef<"MaterialBillOfMaterial", 'DateTime'>
|
|
1299
|
-
readonly deletedAt: Prisma.FieldRef<"MaterialBillOfMaterial", 'DateTime'>
|
|
1300
|
-
readonly materialId: Prisma.FieldRef<"MaterialBillOfMaterial", 'String'>
|
|
1301
|
-
readonly billOfMaterialId: Prisma.FieldRef<"MaterialBillOfMaterial", 'String'>
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
// Custom InputTypes
|
|
1306
|
-
/**
|
|
1307
|
-
* MaterialBillOfMaterial findUnique
|
|
1308
|
-
*/
|
|
1309
|
-
export type MaterialBillOfMaterialFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1310
|
-
/**
|
|
1311
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1312
|
-
*/
|
|
1313
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1314
|
-
/**
|
|
1315
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1316
|
-
*/
|
|
1317
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1318
|
-
/**
|
|
1319
|
-
* Choose, which related nodes to fetch as well
|
|
1320
|
-
*/
|
|
1321
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1322
|
-
/**
|
|
1323
|
-
* Filter, which MaterialBillOfMaterial to fetch.
|
|
1324
|
-
*/
|
|
1325
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* MaterialBillOfMaterial findUniqueOrThrow
|
|
1330
|
-
*/
|
|
1331
|
-
export type MaterialBillOfMaterialFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1332
|
-
/**
|
|
1333
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1334
|
-
*/
|
|
1335
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1336
|
-
/**
|
|
1337
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1338
|
-
*/
|
|
1339
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1340
|
-
/**
|
|
1341
|
-
* Choose, which related nodes to fetch as well
|
|
1342
|
-
*/
|
|
1343
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1344
|
-
/**
|
|
1345
|
-
* Filter, which MaterialBillOfMaterial to fetch.
|
|
1346
|
-
*/
|
|
1347
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
/**
|
|
1351
|
-
* MaterialBillOfMaterial findFirst
|
|
1352
|
-
*/
|
|
1353
|
-
export type MaterialBillOfMaterialFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1354
|
-
/**
|
|
1355
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1356
|
-
*/
|
|
1357
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1358
|
-
/**
|
|
1359
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1360
|
-
*/
|
|
1361
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1362
|
-
/**
|
|
1363
|
-
* Choose, which related nodes to fetch as well
|
|
1364
|
-
*/
|
|
1365
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1366
|
-
/**
|
|
1367
|
-
* Filter, which MaterialBillOfMaterial to fetch.
|
|
1368
|
-
*/
|
|
1369
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
1370
|
-
/**
|
|
1371
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1372
|
-
*
|
|
1373
|
-
* Determine the order of MaterialBillOfMaterials to fetch.
|
|
1374
|
-
*/
|
|
1375
|
-
orderBy?: Prisma.MaterialBillOfMaterialOrderByWithRelationInput | Prisma.MaterialBillOfMaterialOrderByWithRelationInput[]
|
|
1376
|
-
/**
|
|
1377
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1378
|
-
*
|
|
1379
|
-
* Sets the position for searching for MaterialBillOfMaterials.
|
|
1380
|
-
*/
|
|
1381
|
-
cursor?: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1382
|
-
/**
|
|
1383
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1384
|
-
*
|
|
1385
|
-
* Take `±n` MaterialBillOfMaterials from the position of the cursor.
|
|
1386
|
-
*/
|
|
1387
|
-
take?: number
|
|
1388
|
-
/**
|
|
1389
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1390
|
-
*
|
|
1391
|
-
* Skip the first `n` MaterialBillOfMaterials.
|
|
1392
|
-
*/
|
|
1393
|
-
skip?: number
|
|
1394
|
-
/**
|
|
1395
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1396
|
-
*
|
|
1397
|
-
* Filter by unique combinations of MaterialBillOfMaterials.
|
|
1398
|
-
*/
|
|
1399
|
-
distinct?: Prisma.MaterialBillOfMaterialScalarFieldEnum | Prisma.MaterialBillOfMaterialScalarFieldEnum[]
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
/**
|
|
1403
|
-
* MaterialBillOfMaterial findFirstOrThrow
|
|
1404
|
-
*/
|
|
1405
|
-
export type MaterialBillOfMaterialFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1406
|
-
/**
|
|
1407
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1408
|
-
*/
|
|
1409
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1410
|
-
/**
|
|
1411
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1412
|
-
*/
|
|
1413
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1414
|
-
/**
|
|
1415
|
-
* Choose, which related nodes to fetch as well
|
|
1416
|
-
*/
|
|
1417
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1418
|
-
/**
|
|
1419
|
-
* Filter, which MaterialBillOfMaterial to fetch.
|
|
1420
|
-
*/
|
|
1421
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
1422
|
-
/**
|
|
1423
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1424
|
-
*
|
|
1425
|
-
* Determine the order of MaterialBillOfMaterials to fetch.
|
|
1426
|
-
*/
|
|
1427
|
-
orderBy?: Prisma.MaterialBillOfMaterialOrderByWithRelationInput | Prisma.MaterialBillOfMaterialOrderByWithRelationInput[]
|
|
1428
|
-
/**
|
|
1429
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1430
|
-
*
|
|
1431
|
-
* Sets the position for searching for MaterialBillOfMaterials.
|
|
1432
|
-
*/
|
|
1433
|
-
cursor?: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1434
|
-
/**
|
|
1435
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1436
|
-
*
|
|
1437
|
-
* Take `±n` MaterialBillOfMaterials from the position of the cursor.
|
|
1438
|
-
*/
|
|
1439
|
-
take?: number
|
|
1440
|
-
/**
|
|
1441
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1442
|
-
*
|
|
1443
|
-
* Skip the first `n` MaterialBillOfMaterials.
|
|
1444
|
-
*/
|
|
1445
|
-
skip?: number
|
|
1446
|
-
/**
|
|
1447
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1448
|
-
*
|
|
1449
|
-
* Filter by unique combinations of MaterialBillOfMaterials.
|
|
1450
|
-
*/
|
|
1451
|
-
distinct?: Prisma.MaterialBillOfMaterialScalarFieldEnum | Prisma.MaterialBillOfMaterialScalarFieldEnum[]
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
/**
|
|
1455
|
-
* MaterialBillOfMaterial findMany
|
|
1456
|
-
*/
|
|
1457
|
-
export type MaterialBillOfMaterialFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1458
|
-
/**
|
|
1459
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1460
|
-
*/
|
|
1461
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1462
|
-
/**
|
|
1463
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1464
|
-
*/
|
|
1465
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1466
|
-
/**
|
|
1467
|
-
* Choose, which related nodes to fetch as well
|
|
1468
|
-
*/
|
|
1469
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1470
|
-
/**
|
|
1471
|
-
* Filter, which MaterialBillOfMaterials to fetch.
|
|
1472
|
-
*/
|
|
1473
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
1474
|
-
/**
|
|
1475
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1476
|
-
*
|
|
1477
|
-
* Determine the order of MaterialBillOfMaterials to fetch.
|
|
1478
|
-
*/
|
|
1479
|
-
orderBy?: Prisma.MaterialBillOfMaterialOrderByWithRelationInput | Prisma.MaterialBillOfMaterialOrderByWithRelationInput[]
|
|
1480
|
-
/**
|
|
1481
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1482
|
-
*
|
|
1483
|
-
* Sets the position for listing MaterialBillOfMaterials.
|
|
1484
|
-
*/
|
|
1485
|
-
cursor?: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1486
|
-
/**
|
|
1487
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1488
|
-
*
|
|
1489
|
-
* Take `±n` MaterialBillOfMaterials from the position of the cursor.
|
|
1490
|
-
*/
|
|
1491
|
-
take?: number
|
|
1492
|
-
/**
|
|
1493
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1494
|
-
*
|
|
1495
|
-
* Skip the first `n` MaterialBillOfMaterials.
|
|
1496
|
-
*/
|
|
1497
|
-
skip?: number
|
|
1498
|
-
distinct?: Prisma.MaterialBillOfMaterialScalarFieldEnum | Prisma.MaterialBillOfMaterialScalarFieldEnum[]
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
/**
|
|
1502
|
-
* MaterialBillOfMaterial create
|
|
1503
|
-
*/
|
|
1504
|
-
export type MaterialBillOfMaterialCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1505
|
-
/**
|
|
1506
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1507
|
-
*/
|
|
1508
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1509
|
-
/**
|
|
1510
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1511
|
-
*/
|
|
1512
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1513
|
-
/**
|
|
1514
|
-
* Choose, which related nodes to fetch as well
|
|
1515
|
-
*/
|
|
1516
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1517
|
-
/**
|
|
1518
|
-
* The data needed to create a MaterialBillOfMaterial.
|
|
1519
|
-
*/
|
|
1520
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateInput, Prisma.MaterialBillOfMaterialUncheckedCreateInput>
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
/**
|
|
1524
|
-
* MaterialBillOfMaterial createMany
|
|
1525
|
-
*/
|
|
1526
|
-
export type MaterialBillOfMaterialCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1527
|
-
/**
|
|
1528
|
-
* The data used to create many MaterialBillOfMaterials.
|
|
1529
|
-
*/
|
|
1530
|
-
data: Prisma.MaterialBillOfMaterialCreateManyInput | Prisma.MaterialBillOfMaterialCreateManyInput[]
|
|
1531
|
-
skipDuplicates?: boolean
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
/**
|
|
1535
|
-
* MaterialBillOfMaterial createManyAndReturn
|
|
1536
|
-
*/
|
|
1537
|
-
export type MaterialBillOfMaterialCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1538
|
-
/**
|
|
1539
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1540
|
-
*/
|
|
1541
|
-
select?: Prisma.MaterialBillOfMaterialSelectCreateManyAndReturn<ExtArgs> | null
|
|
1542
|
-
/**
|
|
1543
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1544
|
-
*/
|
|
1545
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1546
|
-
/**
|
|
1547
|
-
* The data used to create many MaterialBillOfMaterials.
|
|
1548
|
-
*/
|
|
1549
|
-
data: Prisma.MaterialBillOfMaterialCreateManyInput | Prisma.MaterialBillOfMaterialCreateManyInput[]
|
|
1550
|
-
skipDuplicates?: boolean
|
|
1551
|
-
/**
|
|
1552
|
-
* Choose, which related nodes to fetch as well
|
|
1553
|
-
*/
|
|
1554
|
-
include?: Prisma.MaterialBillOfMaterialIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
/**
|
|
1558
|
-
* MaterialBillOfMaterial update
|
|
1559
|
-
*/
|
|
1560
|
-
export type MaterialBillOfMaterialUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1561
|
-
/**
|
|
1562
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1563
|
-
*/
|
|
1564
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1565
|
-
/**
|
|
1566
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1567
|
-
*/
|
|
1568
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1569
|
-
/**
|
|
1570
|
-
* Choose, which related nodes to fetch as well
|
|
1571
|
-
*/
|
|
1572
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1573
|
-
/**
|
|
1574
|
-
* The data needed to update a MaterialBillOfMaterial.
|
|
1575
|
-
*/
|
|
1576
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateInput, Prisma.MaterialBillOfMaterialUncheckedUpdateInput>
|
|
1577
|
-
/**
|
|
1578
|
-
* Choose, which MaterialBillOfMaterial to update.
|
|
1579
|
-
*/
|
|
1580
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
/**
|
|
1584
|
-
* MaterialBillOfMaterial updateMany
|
|
1585
|
-
*/
|
|
1586
|
-
export type MaterialBillOfMaterialUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1587
|
-
/**
|
|
1588
|
-
* The data used to update MaterialBillOfMaterials.
|
|
1589
|
-
*/
|
|
1590
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateManyMutationInput, Prisma.MaterialBillOfMaterialUncheckedUpdateManyInput>
|
|
1591
|
-
/**
|
|
1592
|
-
* Filter which MaterialBillOfMaterials to update
|
|
1593
|
-
*/
|
|
1594
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
1595
|
-
/**
|
|
1596
|
-
* Limit how many MaterialBillOfMaterials to update.
|
|
1597
|
-
*/
|
|
1598
|
-
limit?: number
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* MaterialBillOfMaterial updateManyAndReturn
|
|
1603
|
-
*/
|
|
1604
|
-
export type MaterialBillOfMaterialUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1605
|
-
/**
|
|
1606
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1607
|
-
*/
|
|
1608
|
-
select?: Prisma.MaterialBillOfMaterialSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1609
|
-
/**
|
|
1610
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1611
|
-
*/
|
|
1612
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1613
|
-
/**
|
|
1614
|
-
* The data used to update MaterialBillOfMaterials.
|
|
1615
|
-
*/
|
|
1616
|
-
data: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateManyMutationInput, Prisma.MaterialBillOfMaterialUncheckedUpdateManyInput>
|
|
1617
|
-
/**
|
|
1618
|
-
* Filter which MaterialBillOfMaterials to update
|
|
1619
|
-
*/
|
|
1620
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
1621
|
-
/**
|
|
1622
|
-
* Limit how many MaterialBillOfMaterials to update.
|
|
1623
|
-
*/
|
|
1624
|
-
limit?: number
|
|
1625
|
-
/**
|
|
1626
|
-
* Choose, which related nodes to fetch as well
|
|
1627
|
-
*/
|
|
1628
|
-
include?: Prisma.MaterialBillOfMaterialIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* MaterialBillOfMaterial upsert
|
|
1633
|
-
*/
|
|
1634
|
-
export type MaterialBillOfMaterialUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1635
|
-
/**
|
|
1636
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1637
|
-
*/
|
|
1638
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1639
|
-
/**
|
|
1640
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1641
|
-
*/
|
|
1642
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1643
|
-
/**
|
|
1644
|
-
* Choose, which related nodes to fetch as well
|
|
1645
|
-
*/
|
|
1646
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1647
|
-
/**
|
|
1648
|
-
* The filter to search for the MaterialBillOfMaterial to update in case it exists.
|
|
1649
|
-
*/
|
|
1650
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1651
|
-
/**
|
|
1652
|
-
* In case the MaterialBillOfMaterial found by the `where` argument doesn't exist, create a new MaterialBillOfMaterial with this data.
|
|
1653
|
-
*/
|
|
1654
|
-
create: Prisma.XOR<Prisma.MaterialBillOfMaterialCreateInput, Prisma.MaterialBillOfMaterialUncheckedCreateInput>
|
|
1655
|
-
/**
|
|
1656
|
-
* In case the MaterialBillOfMaterial was found with the provided `where` argument, update it with this data.
|
|
1657
|
-
*/
|
|
1658
|
-
update: Prisma.XOR<Prisma.MaterialBillOfMaterialUpdateInput, Prisma.MaterialBillOfMaterialUncheckedUpdateInput>
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
/**
|
|
1662
|
-
* MaterialBillOfMaterial delete
|
|
1663
|
-
*/
|
|
1664
|
-
export type MaterialBillOfMaterialDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1665
|
-
/**
|
|
1666
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1667
|
-
*/
|
|
1668
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1669
|
-
/**
|
|
1670
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1671
|
-
*/
|
|
1672
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1673
|
-
/**
|
|
1674
|
-
* Choose, which related nodes to fetch as well
|
|
1675
|
-
*/
|
|
1676
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1677
|
-
/**
|
|
1678
|
-
* Filter which MaterialBillOfMaterial to delete.
|
|
1679
|
-
*/
|
|
1680
|
-
where: Prisma.MaterialBillOfMaterialWhereUniqueInput
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
/**
|
|
1684
|
-
* MaterialBillOfMaterial deleteMany
|
|
1685
|
-
*/
|
|
1686
|
-
export type MaterialBillOfMaterialDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1687
|
-
/**
|
|
1688
|
-
* Filter which MaterialBillOfMaterials to delete
|
|
1689
|
-
*/
|
|
1690
|
-
where?: Prisma.MaterialBillOfMaterialWhereInput
|
|
1691
|
-
/**
|
|
1692
|
-
* Limit how many MaterialBillOfMaterials to delete.
|
|
1693
|
-
*/
|
|
1694
|
-
limit?: number
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
/**
|
|
1698
|
-
* MaterialBillOfMaterial.dispatchMaterial
|
|
1699
|
-
*/
|
|
1700
|
-
export type MaterialBillOfMaterial$dispatchMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1701
|
-
/**
|
|
1702
|
-
* Select specific fields to fetch from the DispatchMaterial
|
|
1703
|
-
*/
|
|
1704
|
-
select?: Prisma.DispatchMaterialSelect<ExtArgs> | null
|
|
1705
|
-
/**
|
|
1706
|
-
* Omit specific fields from the DispatchMaterial
|
|
1707
|
-
*/
|
|
1708
|
-
omit?: Prisma.DispatchMaterialOmit<ExtArgs> | null
|
|
1709
|
-
/**
|
|
1710
|
-
* Choose, which related nodes to fetch as well
|
|
1711
|
-
*/
|
|
1712
|
-
include?: Prisma.DispatchMaterialInclude<ExtArgs> | null
|
|
1713
|
-
where?: Prisma.DispatchMaterialWhereInput
|
|
1714
|
-
orderBy?: Prisma.DispatchMaterialOrderByWithRelationInput | Prisma.DispatchMaterialOrderByWithRelationInput[]
|
|
1715
|
-
cursor?: Prisma.DispatchMaterialWhereUniqueInput
|
|
1716
|
-
take?: number
|
|
1717
|
-
skip?: number
|
|
1718
|
-
distinct?: Prisma.DispatchMaterialScalarFieldEnum | Prisma.DispatchMaterialScalarFieldEnum[]
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
|
-
/**
|
|
1722
|
-
* MaterialBillOfMaterial without action
|
|
1723
|
-
*/
|
|
1724
|
-
export type MaterialBillOfMaterialDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1725
|
-
/**
|
|
1726
|
-
* Select specific fields to fetch from the MaterialBillOfMaterial
|
|
1727
|
-
*/
|
|
1728
|
-
select?: Prisma.MaterialBillOfMaterialSelect<ExtArgs> | null
|
|
1729
|
-
/**
|
|
1730
|
-
* Omit specific fields from the MaterialBillOfMaterial
|
|
1731
|
-
*/
|
|
1732
|
-
omit?: Prisma.MaterialBillOfMaterialOmit<ExtArgs> | null
|
|
1733
|
-
/**
|
|
1734
|
-
* Choose, which related nodes to fetch as well
|
|
1735
|
-
*/
|
|
1736
|
-
include?: Prisma.MaterialBillOfMaterialInclude<ExtArgs> | null
|
|
1737
|
-
}
|