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