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