@a_team/prisma 3.2.4-win → 3.2.5-linux

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.
@@ -158,6 +158,11 @@ export type WorkingHours = $Result.DefaultSelection<Prisma.$WorkingHoursPayload>
158
158
  *
159
159
  */
160
160
  export type ClientRoleQuestion = $Result.DefaultSelection<Prisma.$ClientRoleQuestionPayload>
161
+ /**
162
+ * Model Role
163
+ *
164
+ */
165
+ export type Role = $Result.DefaultSelection<Prisma.$RolePayload>
161
166
  /**
162
167
  * Model ClientRegistration
163
168
  *
@@ -203,6 +208,11 @@ export type MissionSpec = $Result.DefaultSelection<Prisma.$MissionSpecPayload>
203
208
  *
204
209
  */
205
210
  export type RoleCategory = $Result.DefaultSelection<Prisma.$RoleCategoryPayload>
211
+ /**
212
+ * Model Solution
213
+ *
214
+ */
215
+ export type Solution = $Result.DefaultSelection<Prisma.$SolutionPayload>
206
216
  /**
207
217
  * Model TalentCategory
208
218
  *
@@ -276,6 +286,21 @@ export const MissionSpecStatus: {
276
286
  export type MissionSpecStatus = (typeof MissionSpecStatus)[keyof typeof MissionSpecStatus]
277
287
 
278
288
 
289
+ export const PresetID: {
290
+ custom_team: 'custom_team',
291
+ web_platform: 'web_platform',
292
+ mobile_app: 'mobile_app',
293
+ collaboration_tool: 'collaboration_tool',
294
+ marketing_website: 'marketing_website',
295
+ prototype: 'prototype',
296
+ data: 'data',
297
+ growth: 'growth',
298
+ ai: 'ai'
299
+ };
300
+
301
+ export type PresetID = (typeof PresetID)[keyof typeof PresetID]
302
+
303
+
279
304
  export const ContractPartyType: {
280
305
  BillingCustomer: 'BillingCustomer',
281
306
  MissionRole: 'MissionRole'
@@ -334,6 +359,10 @@ export type MissionSpecStatus = $Enums.MissionSpecStatus
334
359
 
335
360
  export const MissionSpecStatus: typeof $Enums.MissionSpecStatus
336
361
 
362
+ export type PresetID = $Enums.PresetID
363
+
364
+ export const PresetID: typeof $Enums.PresetID
365
+
337
366
  export type ContractPartyType = $Enums.ContractPartyType
338
367
 
339
368
  export const ContractPartyType: typeof $Enums.ContractPartyType
@@ -520,6 +549,16 @@ export class PrismaClient<
520
549
  */
521
550
  get roleCategory(): Prisma.RoleCategoryDelegate<ExtArgs>;
522
551
 
552
+ /**
553
+ * `prisma.solution`: Exposes CRUD operations for the **Solution** model.
554
+ * Example usage:
555
+ * ```ts
556
+ * // Fetch zero or more Solutions
557
+ * const solutions = await prisma.solution.findMany()
558
+ * ```
559
+ */
560
+ get solution(): Prisma.SolutionDelegate<ExtArgs>;
561
+
523
562
  /**
524
563
  * `prisma.talentCategory`: Exposes CRUD operations for the **TalentCategory** model.
525
564
  * Example usage:
@@ -1034,6 +1073,7 @@ export namespace Prisma {
1034
1073
  MissionPrefill: 'MissionPrefill',
1035
1074
  MissionSpec: 'MissionSpec',
1036
1075
  RoleCategory: 'RoleCategory',
1076
+ Solution: 'Solution',
1037
1077
  TalentCategory: 'TalentCategory',
1038
1078
  TalentIndustry: 'TalentIndustry',
1039
1079
  User: 'User'
@@ -1052,7 +1092,7 @@ export namespace Prisma {
1052
1092
 
1053
1093
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
1054
1094
  meta: {
1055
- modelProps: "account" | "clientCompany" | "company" | "contract" | "mission" | "missionPrefill" | "missionSpec" | "roleCategory" | "talentCategory" | "talentIndustry" | "user"
1095
+ modelProps: "account" | "clientCompany" | "company" | "contract" | "mission" | "missionPrefill" | "missionSpec" | "roleCategory" | "solution" | "talentCategory" | "talentIndustry" | "user"
1056
1096
  txIsolationLevel: never
1057
1097
  }
1058
1098
  model: {
@@ -1648,6 +1688,80 @@ export namespace Prisma {
1648
1688
  }
1649
1689
  }
1650
1690
  }
1691
+ Solution: {
1692
+ payload: Prisma.$SolutionPayload<ExtArgs>
1693
+ fields: Prisma.SolutionFieldRefs
1694
+ operations: {
1695
+ findUnique: {
1696
+ args: Prisma.SolutionFindUniqueArgs<ExtArgs>
1697
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload> | null
1698
+ }
1699
+ findUniqueOrThrow: {
1700
+ args: Prisma.SolutionFindUniqueOrThrowArgs<ExtArgs>
1701
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload>
1702
+ }
1703
+ findFirst: {
1704
+ args: Prisma.SolutionFindFirstArgs<ExtArgs>
1705
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload> | null
1706
+ }
1707
+ findFirstOrThrow: {
1708
+ args: Prisma.SolutionFindFirstOrThrowArgs<ExtArgs>
1709
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload>
1710
+ }
1711
+ findMany: {
1712
+ args: Prisma.SolutionFindManyArgs<ExtArgs>
1713
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload>[]
1714
+ }
1715
+ create: {
1716
+ args: Prisma.SolutionCreateArgs<ExtArgs>
1717
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload>
1718
+ }
1719
+ createMany: {
1720
+ args: Prisma.SolutionCreateManyArgs<ExtArgs>
1721
+ result: BatchPayload
1722
+ }
1723
+ delete: {
1724
+ args: Prisma.SolutionDeleteArgs<ExtArgs>
1725
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload>
1726
+ }
1727
+ update: {
1728
+ args: Prisma.SolutionUpdateArgs<ExtArgs>
1729
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload>
1730
+ }
1731
+ deleteMany: {
1732
+ args: Prisma.SolutionDeleteManyArgs<ExtArgs>
1733
+ result: BatchPayload
1734
+ }
1735
+ updateMany: {
1736
+ args: Prisma.SolutionUpdateManyArgs<ExtArgs>
1737
+ result: BatchPayload
1738
+ }
1739
+ upsert: {
1740
+ args: Prisma.SolutionUpsertArgs<ExtArgs>
1741
+ result: $Utils.PayloadToResult<Prisma.$SolutionPayload>
1742
+ }
1743
+ aggregate: {
1744
+ args: Prisma.SolutionAggregateArgs<ExtArgs>
1745
+ result: $Utils.Optional<AggregateSolution>
1746
+ }
1747
+ groupBy: {
1748
+ args: Prisma.SolutionGroupByArgs<ExtArgs>
1749
+ result: $Utils.Optional<SolutionGroupByOutputType>[]
1750
+ }
1751
+ findRaw: {
1752
+ args: Prisma.SolutionFindRawArgs<ExtArgs>
1753
+ result: JsonObject
1754
+ }
1755
+ aggregateRaw: {
1756
+ args: Prisma.SolutionAggregateRawArgs<ExtArgs>
1757
+ result: JsonObject
1758
+ }
1759
+ count: {
1760
+ args: Prisma.SolutionCountArgs<ExtArgs>
1761
+ result: $Utils.Optional<SolutionCountAggregateOutputType> | number
1762
+ }
1763
+ }
1764
+ }
1651
1765
  TalentCategory: {
1652
1766
  payload: Prisma.$TalentCategoryPayload<ExtArgs>
1653
1767
  fields: Prisma.TalentCategoryFieldRefs
@@ -4252,6 +4366,59 @@ export namespace Prisma {
4252
4366
  }
4253
4367
 
4254
4368
 
4369
+ /**
4370
+ * Model Role
4371
+ */
4372
+
4373
+
4374
+
4375
+
4376
+
4377
+ export type RoleSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
4378
+ category?: boolean
4379
+ }, ExtArgs["result"]["role"]>
4380
+
4381
+
4382
+ export type RoleSelectScalar = {
4383
+ category?: boolean
4384
+ }
4385
+
4386
+
4387
+ export type $RolePayload = {
4388
+ name: "Role"
4389
+ objects: {}
4390
+ scalars: {
4391
+ category: string
4392
+ }
4393
+ composites: {}
4394
+ }
4395
+
4396
+ type RoleGetPayload<S extends boolean | null | undefined | RoleDefaultArgs> = $Result.GetResult<Prisma.$RolePayload, S>
4397
+
4398
+
4399
+
4400
+
4401
+
4402
+ /**
4403
+ * Fields of the Role model
4404
+ */
4405
+ interface RoleFieldRefs {
4406
+ readonly category: FieldRef<"Role", 'String'>
4407
+ }
4408
+
4409
+
4410
+ // Custom InputTypes
4411
+ /**
4412
+ * Role without action
4413
+ */
4414
+ export type RoleDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4415
+ /**
4416
+ * Select specific fields to fetch from the Role
4417
+ */
4418
+ select?: RoleSelect<ExtArgs> | null
4419
+ }
4420
+
4421
+
4255
4422
  /**
4256
4423
  * Model ClientRegistration
4257
4424
  */
@@ -12666,20 +12833,887 @@ export namespace Prisma {
12666
12833
  ? never
12667
12834
  : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
12668
12835
  }[OrderFields]
12669
- >(args: SubsetIntersection<T, RoleCategoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRoleCategoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
12836
+ >(args: SubsetIntersection<T, RoleCategoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRoleCategoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
12837
+ /**
12838
+ * Fields of the RoleCategory model
12839
+ */
12840
+ readonly fields: RoleCategoryFieldRefs;
12841
+ }
12842
+
12843
+ /**
12844
+ * The delegate class that acts as a "Promise-like" for RoleCategory.
12845
+ * Why is this prefixed with `Prisma__`?
12846
+ * Because we want to prevent naming conflicts as mentioned in
12847
+ * https://github.com/prisma/prisma-client-js/issues/707
12848
+ */
12849
+ export interface Prisma__RoleCategoryClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
12850
+ readonly [Symbol.toStringTag]: "PrismaPromise"
12851
+ /**
12852
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
12853
+ * @param onfulfilled The callback to execute when the Promise is resolved.
12854
+ * @param onrejected The callback to execute when the Promise is rejected.
12855
+ * @returns A Promise for the completion of which ever callback is executed.
12856
+ */
12857
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
12858
+ /**
12859
+ * Attaches a callback for only the rejection of the Promise.
12860
+ * @param onrejected The callback to execute when the Promise is rejected.
12861
+ * @returns A Promise for the completion of the callback.
12862
+ */
12863
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
12864
+ /**
12865
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
12866
+ * resolved value cannot be modified from the callback.
12867
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
12868
+ * @returns A Promise for the completion of the callback.
12869
+ */
12870
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
12871
+ }
12872
+
12873
+
12874
+
12875
+
12876
+ /**
12877
+ * Fields of the RoleCategory model
12878
+ */
12879
+ interface RoleCategoryFieldRefs {
12880
+ readonly id: FieldRef<"RoleCategory", 'String'>
12881
+ readonly anchors: FieldRef<"RoleCategory", 'String[]'>
12882
+ readonly title: FieldRef<"RoleCategory", 'String'>
12883
+ readonly deletedAt: FieldRef<"RoleCategory", 'DateTime'>
12884
+ readonly group: FieldRef<"RoleCategory", 'String'>
12885
+ readonly talentCategoryIds: FieldRef<"RoleCategory", 'String[]'>
12886
+ }
12887
+
12888
+
12889
+ // Custom InputTypes
12890
+ /**
12891
+ * RoleCategory findUnique
12892
+ */
12893
+ export type RoleCategoryFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12894
+ /**
12895
+ * Select specific fields to fetch from the RoleCategory
12896
+ */
12897
+ select?: RoleCategorySelect<ExtArgs> | null
12898
+ /**
12899
+ * Filter, which RoleCategory to fetch.
12900
+ */
12901
+ where: RoleCategoryWhereUniqueInput
12902
+ }
12903
+
12904
+ /**
12905
+ * RoleCategory findUniqueOrThrow
12906
+ */
12907
+ export type RoleCategoryFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12908
+ /**
12909
+ * Select specific fields to fetch from the RoleCategory
12910
+ */
12911
+ select?: RoleCategorySelect<ExtArgs> | null
12912
+ /**
12913
+ * Filter, which RoleCategory to fetch.
12914
+ */
12915
+ where: RoleCategoryWhereUniqueInput
12916
+ }
12917
+
12918
+ /**
12919
+ * RoleCategory findFirst
12920
+ */
12921
+ export type RoleCategoryFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12922
+ /**
12923
+ * Select specific fields to fetch from the RoleCategory
12924
+ */
12925
+ select?: RoleCategorySelect<ExtArgs> | null
12926
+ /**
12927
+ * Filter, which RoleCategory to fetch.
12928
+ */
12929
+ where?: RoleCategoryWhereInput
12930
+ /**
12931
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12932
+ *
12933
+ * Determine the order of RoleCategories to fetch.
12934
+ */
12935
+ orderBy?: RoleCategoryOrderByWithRelationInput | RoleCategoryOrderByWithRelationInput[]
12936
+ /**
12937
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12938
+ *
12939
+ * Sets the position for searching for RoleCategories.
12940
+ */
12941
+ cursor?: RoleCategoryWhereUniqueInput
12942
+ /**
12943
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12944
+ *
12945
+ * Take `±n` RoleCategories from the position of the cursor.
12946
+ */
12947
+ take?: number
12948
+ /**
12949
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12950
+ *
12951
+ * Skip the first `n` RoleCategories.
12952
+ */
12953
+ skip?: number
12954
+ /**
12955
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
12956
+ *
12957
+ * Filter by unique combinations of RoleCategories.
12958
+ */
12959
+ distinct?: RoleCategoryScalarFieldEnum | RoleCategoryScalarFieldEnum[]
12960
+ }
12961
+
12962
+ /**
12963
+ * RoleCategory findFirstOrThrow
12964
+ */
12965
+ export type RoleCategoryFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12966
+ /**
12967
+ * Select specific fields to fetch from the RoleCategory
12968
+ */
12969
+ select?: RoleCategorySelect<ExtArgs> | null
12970
+ /**
12971
+ * Filter, which RoleCategory to fetch.
12972
+ */
12973
+ where?: RoleCategoryWhereInput
12974
+ /**
12975
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12976
+ *
12977
+ * Determine the order of RoleCategories to fetch.
12978
+ */
12979
+ orderBy?: RoleCategoryOrderByWithRelationInput | RoleCategoryOrderByWithRelationInput[]
12980
+ /**
12981
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12982
+ *
12983
+ * Sets the position for searching for RoleCategories.
12984
+ */
12985
+ cursor?: RoleCategoryWhereUniqueInput
12986
+ /**
12987
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12988
+ *
12989
+ * Take `±n` RoleCategories from the position of the cursor.
12990
+ */
12991
+ take?: number
12992
+ /**
12993
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12994
+ *
12995
+ * Skip the first `n` RoleCategories.
12996
+ */
12997
+ skip?: number
12998
+ /**
12999
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
13000
+ *
13001
+ * Filter by unique combinations of RoleCategories.
13002
+ */
13003
+ distinct?: RoleCategoryScalarFieldEnum | RoleCategoryScalarFieldEnum[]
13004
+ }
13005
+
13006
+ /**
13007
+ * RoleCategory findMany
13008
+ */
13009
+ export type RoleCategoryFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13010
+ /**
13011
+ * Select specific fields to fetch from the RoleCategory
13012
+ */
13013
+ select?: RoleCategorySelect<ExtArgs> | null
13014
+ /**
13015
+ * Filter, which RoleCategories to fetch.
13016
+ */
13017
+ where?: RoleCategoryWhereInput
13018
+ /**
13019
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
13020
+ *
13021
+ * Determine the order of RoleCategories to fetch.
13022
+ */
13023
+ orderBy?: RoleCategoryOrderByWithRelationInput | RoleCategoryOrderByWithRelationInput[]
13024
+ /**
13025
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
13026
+ *
13027
+ * Sets the position for listing RoleCategories.
13028
+ */
13029
+ cursor?: RoleCategoryWhereUniqueInput
13030
+ /**
13031
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13032
+ *
13033
+ * Take `±n` RoleCategories from the position of the cursor.
13034
+ */
13035
+ take?: number
13036
+ /**
13037
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13038
+ *
13039
+ * Skip the first `n` RoleCategories.
13040
+ */
13041
+ skip?: number
13042
+ distinct?: RoleCategoryScalarFieldEnum | RoleCategoryScalarFieldEnum[]
13043
+ }
13044
+
13045
+ /**
13046
+ * RoleCategory create
13047
+ */
13048
+ export type RoleCategoryCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13049
+ /**
13050
+ * Select specific fields to fetch from the RoleCategory
13051
+ */
13052
+ select?: RoleCategorySelect<ExtArgs> | null
13053
+ /**
13054
+ * The data needed to create a RoleCategory.
13055
+ */
13056
+ data: XOR<RoleCategoryCreateInput, RoleCategoryUncheckedCreateInput>
13057
+ }
13058
+
13059
+ /**
13060
+ * RoleCategory createMany
13061
+ */
13062
+ export type RoleCategoryCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13063
+ /**
13064
+ * The data used to create many RoleCategories.
13065
+ */
13066
+ data: RoleCategoryCreateManyInput | RoleCategoryCreateManyInput[]
13067
+ }
13068
+
13069
+ /**
13070
+ * RoleCategory update
13071
+ */
13072
+ export type RoleCategoryUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13073
+ /**
13074
+ * Select specific fields to fetch from the RoleCategory
13075
+ */
13076
+ select?: RoleCategorySelect<ExtArgs> | null
13077
+ /**
13078
+ * The data needed to update a RoleCategory.
13079
+ */
13080
+ data: XOR<RoleCategoryUpdateInput, RoleCategoryUncheckedUpdateInput>
13081
+ /**
13082
+ * Choose, which RoleCategory to update.
13083
+ */
13084
+ where: RoleCategoryWhereUniqueInput
13085
+ }
13086
+
13087
+ /**
13088
+ * RoleCategory updateMany
13089
+ */
13090
+ export type RoleCategoryUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13091
+ /**
13092
+ * The data used to update RoleCategories.
13093
+ */
13094
+ data: XOR<RoleCategoryUpdateManyMutationInput, RoleCategoryUncheckedUpdateManyInput>
13095
+ /**
13096
+ * Filter which RoleCategories to update
13097
+ */
13098
+ where?: RoleCategoryWhereInput
13099
+ }
13100
+
13101
+ /**
13102
+ * RoleCategory upsert
13103
+ */
13104
+ export type RoleCategoryUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13105
+ /**
13106
+ * Select specific fields to fetch from the RoleCategory
13107
+ */
13108
+ select?: RoleCategorySelect<ExtArgs> | null
13109
+ /**
13110
+ * The filter to search for the RoleCategory to update in case it exists.
13111
+ */
13112
+ where: RoleCategoryWhereUniqueInput
13113
+ /**
13114
+ * In case the RoleCategory found by the `where` argument doesn't exist, create a new RoleCategory with this data.
13115
+ */
13116
+ create: XOR<RoleCategoryCreateInput, RoleCategoryUncheckedCreateInput>
13117
+ /**
13118
+ * In case the RoleCategory was found with the provided `where` argument, update it with this data.
13119
+ */
13120
+ update: XOR<RoleCategoryUpdateInput, RoleCategoryUncheckedUpdateInput>
13121
+ }
13122
+
13123
+ /**
13124
+ * RoleCategory delete
13125
+ */
13126
+ export type RoleCategoryDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13127
+ /**
13128
+ * Select specific fields to fetch from the RoleCategory
13129
+ */
13130
+ select?: RoleCategorySelect<ExtArgs> | null
13131
+ /**
13132
+ * Filter which RoleCategory to delete.
13133
+ */
13134
+ where: RoleCategoryWhereUniqueInput
13135
+ }
13136
+
13137
+ /**
13138
+ * RoleCategory deleteMany
13139
+ */
13140
+ export type RoleCategoryDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13141
+ /**
13142
+ * Filter which RoleCategories to delete
13143
+ */
13144
+ where?: RoleCategoryWhereInput
13145
+ }
13146
+
13147
+ /**
13148
+ * RoleCategory findRaw
13149
+ */
13150
+ export type RoleCategoryFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13151
+ /**
13152
+ * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
13153
+ */
13154
+ filter?: InputJsonValue
13155
+ /**
13156
+ * Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
13157
+ */
13158
+ options?: InputJsonValue
13159
+ }
13160
+
13161
+ /**
13162
+ * RoleCategory aggregateRaw
13163
+ */
13164
+ export type RoleCategoryAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13165
+ /**
13166
+ * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
13167
+ */
13168
+ pipeline?: InputJsonValue[]
13169
+ /**
13170
+ * Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
13171
+ */
13172
+ options?: InputJsonValue
13173
+ }
13174
+
13175
+ /**
13176
+ * RoleCategory without action
13177
+ */
13178
+ export type RoleCategoryDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13179
+ /**
13180
+ * Select specific fields to fetch from the RoleCategory
13181
+ */
13182
+ select?: RoleCategorySelect<ExtArgs> | null
13183
+ }
13184
+
13185
+
13186
+ /**
13187
+ * Model Solution
13188
+ */
13189
+
13190
+ export type AggregateSolution = {
13191
+ _count: SolutionCountAggregateOutputType | null
13192
+ _min: SolutionMinAggregateOutputType | null
13193
+ _max: SolutionMaxAggregateOutputType | null
13194
+ }
13195
+
13196
+ export type SolutionMinAggregateOutputType = {
13197
+ id: string | null
13198
+ preset: $Enums.PresetID | null
13199
+ title: string | null
13200
+ }
13201
+
13202
+ export type SolutionMaxAggregateOutputType = {
13203
+ id: string | null
13204
+ preset: $Enums.PresetID | null
13205
+ title: string | null
13206
+ }
13207
+
13208
+ export type SolutionCountAggregateOutputType = {
13209
+ id: number
13210
+ preset: number
13211
+ title: number
13212
+ _all: number
13213
+ }
13214
+
13215
+
13216
+ export type SolutionMinAggregateInputType = {
13217
+ id?: true
13218
+ preset?: true
13219
+ title?: true
13220
+ }
13221
+
13222
+ export type SolutionMaxAggregateInputType = {
13223
+ id?: true
13224
+ preset?: true
13225
+ title?: true
13226
+ }
13227
+
13228
+ export type SolutionCountAggregateInputType = {
13229
+ id?: true
13230
+ preset?: true
13231
+ title?: true
13232
+ _all?: true
13233
+ }
13234
+
13235
+ export type SolutionAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13236
+ /**
13237
+ * Filter which Solution to aggregate.
13238
+ */
13239
+ where?: SolutionWhereInput
13240
+ /**
13241
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
13242
+ *
13243
+ * Determine the order of Solutions to fetch.
13244
+ */
13245
+ orderBy?: SolutionOrderByWithRelationInput | SolutionOrderByWithRelationInput[]
13246
+ /**
13247
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
13248
+ *
13249
+ * Sets the start position
13250
+ */
13251
+ cursor?: SolutionWhereUniqueInput
13252
+ /**
13253
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13254
+ *
13255
+ * Take `±n` Solutions from the position of the cursor.
13256
+ */
13257
+ take?: number
13258
+ /**
13259
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13260
+ *
13261
+ * Skip the first `n` Solutions.
13262
+ */
13263
+ skip?: number
13264
+ /**
13265
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13266
+ *
13267
+ * Count returned Solutions
13268
+ **/
13269
+ _count?: true | SolutionCountAggregateInputType
13270
+ /**
13271
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13272
+ *
13273
+ * Select which fields to find the minimum value
13274
+ **/
13275
+ _min?: SolutionMinAggregateInputType
13276
+ /**
13277
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13278
+ *
13279
+ * Select which fields to find the maximum value
13280
+ **/
13281
+ _max?: SolutionMaxAggregateInputType
13282
+ }
13283
+
13284
+ export type GetSolutionAggregateType<T extends SolutionAggregateArgs> = {
13285
+ [P in keyof T & keyof AggregateSolution]: P extends '_count' | 'count'
13286
+ ? T[P] extends true
13287
+ ? number
13288
+ : GetScalarType<T[P], AggregateSolution[P]>
13289
+ : GetScalarType<T[P], AggregateSolution[P]>
13290
+ }
13291
+
13292
+
13293
+
13294
+
13295
+ export type SolutionGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13296
+ where?: SolutionWhereInput
13297
+ orderBy?: SolutionOrderByWithAggregationInput | SolutionOrderByWithAggregationInput[]
13298
+ by: SolutionScalarFieldEnum[] | SolutionScalarFieldEnum
13299
+ having?: SolutionScalarWhereWithAggregatesInput
13300
+ take?: number
13301
+ skip?: number
13302
+ _count?: SolutionCountAggregateInputType | true
13303
+ _min?: SolutionMinAggregateInputType
13304
+ _max?: SolutionMaxAggregateInputType
13305
+ }
13306
+
13307
+ export type SolutionGroupByOutputType = {
13308
+ id: string
13309
+ preset: $Enums.PresetID
13310
+ title: string
13311
+ _count: SolutionCountAggregateOutputType | null
13312
+ _min: SolutionMinAggregateOutputType | null
13313
+ _max: SolutionMaxAggregateOutputType | null
13314
+ }
13315
+
13316
+ type GetSolutionGroupByPayload<T extends SolutionGroupByArgs> = Prisma.PrismaPromise<
13317
+ Array<
13318
+ PickEnumerable<SolutionGroupByOutputType, T['by']> &
13319
+ {
13320
+ [P in ((keyof T) & (keyof SolutionGroupByOutputType))]: P extends '_count'
13321
+ ? T[P] extends boolean
13322
+ ? number
13323
+ : GetScalarType<T[P], SolutionGroupByOutputType[P]>
13324
+ : GetScalarType<T[P], SolutionGroupByOutputType[P]>
13325
+ }
13326
+ >
13327
+ >
13328
+
13329
+
13330
+ export type SolutionSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
13331
+ id?: boolean
13332
+ preset?: boolean
13333
+ title?: boolean
13334
+ roles?: boolean | RoleDefaultArgs<ExtArgs>
13335
+ }, ExtArgs["result"]["solution"]>
13336
+
13337
+
13338
+ export type SolutionSelectScalar = {
13339
+ id?: boolean
13340
+ preset?: boolean
13341
+ title?: boolean
13342
+ }
13343
+
13344
+ export type SolutionInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
13345
+
13346
+ export type $SolutionPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13347
+ name: "Solution"
13348
+ objects: {}
13349
+ scalars: $Extensions.GetPayloadResult<{
13350
+ id: string
13351
+ preset: $Enums.PresetID
13352
+ title: string
13353
+ }, ExtArgs["result"]["solution"]>
13354
+ composites: {
13355
+ roles: Prisma.$RolePayload[]
13356
+ }
13357
+ }
13358
+
13359
+ type SolutionGetPayload<S extends boolean | null | undefined | SolutionDefaultArgs> = $Result.GetResult<Prisma.$SolutionPayload, S>
13360
+
13361
+ type SolutionCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
13362
+ Omit<SolutionFindManyArgs, 'select' | 'include' | 'distinct'> & {
13363
+ select?: SolutionCountAggregateInputType | true
13364
+ }
13365
+
13366
+ export interface SolutionDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
13367
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Solution'], meta: { name: 'Solution' } }
13368
+ /**
13369
+ * Find zero or one Solution that matches the filter.
13370
+ * @param {SolutionFindUniqueArgs} args - Arguments to find a Solution
13371
+ * @example
13372
+ * // Get one Solution
13373
+ * const solution = await prisma.solution.findUnique({
13374
+ * where: {
13375
+ * // ... provide filter here
13376
+ * }
13377
+ * })
13378
+ */
13379
+ findUnique<T extends SolutionFindUniqueArgs>(args: SelectSubset<T, SolutionFindUniqueArgs<ExtArgs>>): Prisma__SolutionClient<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
13380
+
13381
+ /**
13382
+ * Find one Solution that matches the filter or throw an error with `error.code='P2025'`
13383
+ * if no matches were found.
13384
+ * @param {SolutionFindUniqueOrThrowArgs} args - Arguments to find a Solution
13385
+ * @example
13386
+ * // Get one Solution
13387
+ * const solution = await prisma.solution.findUniqueOrThrow({
13388
+ * where: {
13389
+ * // ... provide filter here
13390
+ * }
13391
+ * })
13392
+ */
13393
+ findUniqueOrThrow<T extends SolutionFindUniqueOrThrowArgs>(args: SelectSubset<T, SolutionFindUniqueOrThrowArgs<ExtArgs>>): Prisma__SolutionClient<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
13394
+
13395
+ /**
13396
+ * Find the first Solution that matches the filter.
13397
+ * Note, that providing `undefined` is treated as the value not being there.
13398
+ * Read more here: https://pris.ly/d/null-undefined
13399
+ * @param {SolutionFindFirstArgs} args - Arguments to find a Solution
13400
+ * @example
13401
+ * // Get one Solution
13402
+ * const solution = await prisma.solution.findFirst({
13403
+ * where: {
13404
+ * // ... provide filter here
13405
+ * }
13406
+ * })
13407
+ */
13408
+ findFirst<T extends SolutionFindFirstArgs>(args?: SelectSubset<T, SolutionFindFirstArgs<ExtArgs>>): Prisma__SolutionClient<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
13409
+
13410
+ /**
13411
+ * Find the first Solution that matches the filter or
13412
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
13413
+ * Note, that providing `undefined` is treated as the value not being there.
13414
+ * Read more here: https://pris.ly/d/null-undefined
13415
+ * @param {SolutionFindFirstOrThrowArgs} args - Arguments to find a Solution
13416
+ * @example
13417
+ * // Get one Solution
13418
+ * const solution = await prisma.solution.findFirstOrThrow({
13419
+ * where: {
13420
+ * // ... provide filter here
13421
+ * }
13422
+ * })
13423
+ */
13424
+ findFirstOrThrow<T extends SolutionFindFirstOrThrowArgs>(args?: SelectSubset<T, SolutionFindFirstOrThrowArgs<ExtArgs>>): Prisma__SolutionClient<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
13425
+
13426
+ /**
13427
+ * Find zero or more Solutions that matches the filter.
13428
+ * Note, that providing `undefined` is treated as the value not being there.
13429
+ * Read more here: https://pris.ly/d/null-undefined
13430
+ * @param {SolutionFindManyArgs} args - Arguments to filter and select certain fields only.
13431
+ * @example
13432
+ * // Get all Solutions
13433
+ * const solutions = await prisma.solution.findMany()
13434
+ *
13435
+ * // Get first 10 Solutions
13436
+ * const solutions = await prisma.solution.findMany({ take: 10 })
13437
+ *
13438
+ * // Only select the `id`
13439
+ * const solutionWithIdOnly = await prisma.solution.findMany({ select: { id: true } })
13440
+ *
13441
+ */
13442
+ findMany<T extends SolutionFindManyArgs>(args?: SelectSubset<T, SolutionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "findMany">>
13443
+
13444
+ /**
13445
+ * Create a Solution.
13446
+ * @param {SolutionCreateArgs} args - Arguments to create a Solution.
13447
+ * @example
13448
+ * // Create one Solution
13449
+ * const Solution = await prisma.solution.create({
13450
+ * data: {
13451
+ * // ... data to create a Solution
13452
+ * }
13453
+ * })
13454
+ *
13455
+ */
13456
+ create<T extends SolutionCreateArgs>(args: SelectSubset<T, SolutionCreateArgs<ExtArgs>>): Prisma__SolutionClient<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "create">, never, ExtArgs>
13457
+
13458
+ /**
13459
+ * Create many Solutions.
13460
+ * @param {SolutionCreateManyArgs} args - Arguments to create many Solutions.
13461
+ * @example
13462
+ * // Create many Solutions
13463
+ * const solution = await prisma.solution.createMany({
13464
+ * data: [
13465
+ * // ... provide data here
13466
+ * ]
13467
+ * })
13468
+ *
13469
+ */
13470
+ createMany<T extends SolutionCreateManyArgs>(args?: SelectSubset<T, SolutionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
13471
+
13472
+ /**
13473
+ * Delete a Solution.
13474
+ * @param {SolutionDeleteArgs} args - Arguments to delete one Solution.
13475
+ * @example
13476
+ * // Delete one Solution
13477
+ * const Solution = await prisma.solution.delete({
13478
+ * where: {
13479
+ * // ... filter to delete one Solution
13480
+ * }
13481
+ * })
13482
+ *
13483
+ */
13484
+ delete<T extends SolutionDeleteArgs>(args: SelectSubset<T, SolutionDeleteArgs<ExtArgs>>): Prisma__SolutionClient<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "delete">, never, ExtArgs>
13485
+
13486
+ /**
13487
+ * Update one Solution.
13488
+ * @param {SolutionUpdateArgs} args - Arguments to update one Solution.
13489
+ * @example
13490
+ * // Update one Solution
13491
+ * const solution = await prisma.solution.update({
13492
+ * where: {
13493
+ * // ... provide filter here
13494
+ * },
13495
+ * data: {
13496
+ * // ... provide data here
13497
+ * }
13498
+ * })
13499
+ *
13500
+ */
13501
+ update<T extends SolutionUpdateArgs>(args: SelectSubset<T, SolutionUpdateArgs<ExtArgs>>): Prisma__SolutionClient<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "update">, never, ExtArgs>
13502
+
13503
+ /**
13504
+ * Delete zero or more Solutions.
13505
+ * @param {SolutionDeleteManyArgs} args - Arguments to filter Solutions to delete.
13506
+ * @example
13507
+ * // Delete a few Solutions
13508
+ * const { count } = await prisma.solution.deleteMany({
13509
+ * where: {
13510
+ * // ... provide filter here
13511
+ * }
13512
+ * })
13513
+ *
13514
+ */
13515
+ deleteMany<T extends SolutionDeleteManyArgs>(args?: SelectSubset<T, SolutionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
13516
+
13517
+ /**
13518
+ * Update zero or more Solutions.
13519
+ * Note, that providing `undefined` is treated as the value not being there.
13520
+ * Read more here: https://pris.ly/d/null-undefined
13521
+ * @param {SolutionUpdateManyArgs} args - Arguments to update one or more rows.
13522
+ * @example
13523
+ * // Update many Solutions
13524
+ * const solution = await prisma.solution.updateMany({
13525
+ * where: {
13526
+ * // ... provide filter here
13527
+ * },
13528
+ * data: {
13529
+ * // ... provide data here
13530
+ * }
13531
+ * })
13532
+ *
13533
+ */
13534
+ updateMany<T extends SolutionUpdateManyArgs>(args: SelectSubset<T, SolutionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
13535
+
13536
+ /**
13537
+ * Create or update one Solution.
13538
+ * @param {SolutionUpsertArgs} args - Arguments to update or create a Solution.
13539
+ * @example
13540
+ * // Update or create a Solution
13541
+ * const solution = await prisma.solution.upsert({
13542
+ * create: {
13543
+ * // ... data to create a Solution
13544
+ * },
13545
+ * update: {
13546
+ * // ... in case it already exists, update
13547
+ * },
13548
+ * where: {
13549
+ * // ... the filter for the Solution we want to update
13550
+ * }
13551
+ * })
13552
+ */
13553
+ upsert<T extends SolutionUpsertArgs>(args: SelectSubset<T, SolutionUpsertArgs<ExtArgs>>): Prisma__SolutionClient<$Result.GetResult<Prisma.$SolutionPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
13554
+
13555
+ /**
13556
+ * Find zero or more Solutions that matches the filter.
13557
+ * @param {SolutionFindRawArgs} args - Select which filters you would like to apply.
13558
+ * @example
13559
+ * const solution = await prisma.solution.findRaw({
13560
+ * filter: { age: { $gt: 25 } }
13561
+ * })
13562
+ */
13563
+ findRaw(args?: SolutionFindRawArgs): Prisma.PrismaPromise<JsonObject>
13564
+
13565
+ /**
13566
+ * Perform aggregation operations on a Solution.
13567
+ * @param {SolutionAggregateRawArgs} args - Select which aggregations you would like to apply.
13568
+ * @example
13569
+ * const solution = await prisma.solution.aggregateRaw({
13570
+ * pipeline: [
13571
+ * { $match: { status: "registered" } },
13572
+ * { $group: { _id: "$country", total: { $sum: 1 } } }
13573
+ * ]
13574
+ * })
13575
+ */
13576
+ aggregateRaw(args?: SolutionAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
13577
+
13578
+
13579
+ /**
13580
+ * Count the number of Solutions.
13581
+ * Note, that providing `undefined` is treated as the value not being there.
13582
+ * Read more here: https://pris.ly/d/null-undefined
13583
+ * @param {SolutionCountArgs} args - Arguments to filter Solutions to count.
13584
+ * @example
13585
+ * // Count the number of Solutions
13586
+ * const count = await prisma.solution.count({
13587
+ * where: {
13588
+ * // ... the filter for the Solutions we want to count
13589
+ * }
13590
+ * })
13591
+ **/
13592
+ count<T extends SolutionCountArgs>(
13593
+ args?: Subset<T, SolutionCountArgs>,
13594
+ ): Prisma.PrismaPromise<
13595
+ T extends $Utils.Record<'select', any>
13596
+ ? T['select'] extends true
13597
+ ? number
13598
+ : GetScalarType<T['select'], SolutionCountAggregateOutputType>
13599
+ : number
13600
+ >
13601
+
13602
+ /**
13603
+ * Allows you to perform aggregations operations on a Solution.
13604
+ * Note, that providing `undefined` is treated as the value not being there.
13605
+ * Read more here: https://pris.ly/d/null-undefined
13606
+ * @param {SolutionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
13607
+ * @example
13608
+ * // Ordered by age ascending
13609
+ * // Where email contains prisma.io
13610
+ * // Limited to the 10 users
13611
+ * const aggregations = await prisma.user.aggregate({
13612
+ * _avg: {
13613
+ * age: true,
13614
+ * },
13615
+ * where: {
13616
+ * email: {
13617
+ * contains: "prisma.io",
13618
+ * },
13619
+ * },
13620
+ * orderBy: {
13621
+ * age: "asc",
13622
+ * },
13623
+ * take: 10,
13624
+ * })
13625
+ **/
13626
+ aggregate<T extends SolutionAggregateArgs>(args: Subset<T, SolutionAggregateArgs>): Prisma.PrismaPromise<GetSolutionAggregateType<T>>
13627
+
13628
+ /**
13629
+ * Group by Solution.
13630
+ * Note, that providing `undefined` is treated as the value not being there.
13631
+ * Read more here: https://pris.ly/d/null-undefined
13632
+ * @param {SolutionGroupByArgs} args - Group by arguments.
13633
+ * @example
13634
+ * // Group by city, order by createdAt, get count
13635
+ * const result = await prisma.user.groupBy({
13636
+ * by: ['city', 'createdAt'],
13637
+ * orderBy: {
13638
+ * createdAt: true
13639
+ * },
13640
+ * _count: {
13641
+ * _all: true
13642
+ * },
13643
+ * })
13644
+ *
13645
+ **/
13646
+ groupBy<
13647
+ T extends SolutionGroupByArgs,
13648
+ HasSelectOrTake extends Or<
13649
+ Extends<'skip', Keys<T>>,
13650
+ Extends<'take', Keys<T>>
13651
+ >,
13652
+ OrderByArg extends True extends HasSelectOrTake
13653
+ ? { orderBy: SolutionGroupByArgs['orderBy'] }
13654
+ : { orderBy?: SolutionGroupByArgs['orderBy'] },
13655
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
13656
+ ByFields extends MaybeTupleToUnion<T['by']>,
13657
+ ByValid extends Has<ByFields, OrderFields>,
13658
+ HavingFields extends GetHavingFields<T['having']>,
13659
+ HavingValid extends Has<ByFields, HavingFields>,
13660
+ ByEmpty extends T['by'] extends never[] ? True : False,
13661
+ InputErrors extends ByEmpty extends True
13662
+ ? `Error: "by" must not be empty.`
13663
+ : HavingValid extends False
13664
+ ? {
13665
+ [P in HavingFields]: P extends ByFields
13666
+ ? never
13667
+ : P extends string
13668
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
13669
+ : [
13670
+ Error,
13671
+ 'Field ',
13672
+ P,
13673
+ ` in "having" needs to be provided in "by"`,
13674
+ ]
13675
+ }[HavingFields]
13676
+ : 'take' extends Keys<T>
13677
+ ? 'orderBy' extends Keys<T>
13678
+ ? ByValid extends True
13679
+ ? {}
13680
+ : {
13681
+ [P in OrderFields]: P extends ByFields
13682
+ ? never
13683
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
13684
+ }[OrderFields]
13685
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
13686
+ : 'skip' extends Keys<T>
13687
+ ? 'orderBy' extends Keys<T>
13688
+ ? ByValid extends True
13689
+ ? {}
13690
+ : {
13691
+ [P in OrderFields]: P extends ByFields
13692
+ ? never
13693
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
13694
+ }[OrderFields]
13695
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
13696
+ : ByValid extends True
13697
+ ? {}
13698
+ : {
13699
+ [P in OrderFields]: P extends ByFields
13700
+ ? never
13701
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
13702
+ }[OrderFields]
13703
+ >(args: SubsetIntersection<T, SolutionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSolutionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
12670
13704
  /**
12671
- * Fields of the RoleCategory model
13705
+ * Fields of the Solution model
12672
13706
  */
12673
- readonly fields: RoleCategoryFieldRefs;
13707
+ readonly fields: SolutionFieldRefs;
12674
13708
  }
12675
13709
 
12676
13710
  /**
12677
- * The delegate class that acts as a "Promise-like" for RoleCategory.
13711
+ * The delegate class that acts as a "Promise-like" for Solution.
12678
13712
  * Why is this prefixed with `Prisma__`?
12679
13713
  * Because we want to prevent naming conflicts as mentioned in
12680
13714
  * https://github.com/prisma/prisma-client-js/issues/707
12681
13715
  */
12682
- export interface Prisma__RoleCategoryClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
13716
+ export interface Prisma__SolutionClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
12683
13717
  readonly [Symbol.toStringTag]: "PrismaPromise"
12684
13718
  /**
12685
13719
  * Attaches callbacks for the resolution and/or rejection of the Promise.
@@ -12707,280 +13741,313 @@ export namespace Prisma {
12707
13741
 
12708
13742
 
12709
13743
  /**
12710
- * Fields of the RoleCategory model
13744
+ * Fields of the Solution model
12711
13745
  */
12712
- interface RoleCategoryFieldRefs {
12713
- readonly id: FieldRef<"RoleCategory", 'String'>
12714
- readonly anchors: FieldRef<"RoleCategory", 'String[]'>
12715
- readonly title: FieldRef<"RoleCategory", 'String'>
12716
- readonly deletedAt: FieldRef<"RoleCategory", 'DateTime'>
12717
- readonly group: FieldRef<"RoleCategory", 'String'>
12718
- readonly talentCategoryIds: FieldRef<"RoleCategory", 'String[]'>
13746
+ interface SolutionFieldRefs {
13747
+ readonly id: FieldRef<"Solution", 'String'>
13748
+ readonly preset: FieldRef<"Solution", 'PresetID'>
13749
+ readonly title: FieldRef<"Solution", 'String'>
12719
13750
  }
12720
13751
 
12721
13752
 
12722
13753
  // Custom InputTypes
12723
13754
  /**
12724
- * RoleCategory findUnique
13755
+ * Solution findUnique
12725
13756
  */
12726
- export type RoleCategoryFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13757
+ export type SolutionFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12727
13758
  /**
12728
- * Select specific fields to fetch from the RoleCategory
13759
+ * Select specific fields to fetch from the Solution
12729
13760
  */
12730
- select?: RoleCategorySelect<ExtArgs> | null
13761
+ select?: SolutionSelect<ExtArgs> | null
12731
13762
  /**
12732
- * Filter, which RoleCategory to fetch.
13763
+ * Choose, which related nodes to fetch as well
12733
13764
  */
12734
- where: RoleCategoryWhereUniqueInput
13765
+ include?: SolutionInclude<ExtArgs> | null
13766
+ /**
13767
+ * Filter, which Solution to fetch.
13768
+ */
13769
+ where: SolutionWhereUniqueInput
12735
13770
  }
12736
13771
 
12737
13772
  /**
12738
- * RoleCategory findUniqueOrThrow
13773
+ * Solution findUniqueOrThrow
12739
13774
  */
12740
- export type RoleCategoryFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13775
+ export type SolutionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12741
13776
  /**
12742
- * Select specific fields to fetch from the RoleCategory
13777
+ * Select specific fields to fetch from the Solution
12743
13778
  */
12744
- select?: RoleCategorySelect<ExtArgs> | null
13779
+ select?: SolutionSelect<ExtArgs> | null
12745
13780
  /**
12746
- * Filter, which RoleCategory to fetch.
13781
+ * Choose, which related nodes to fetch as well
12747
13782
  */
12748
- where: RoleCategoryWhereUniqueInput
13783
+ include?: SolutionInclude<ExtArgs> | null
13784
+ /**
13785
+ * Filter, which Solution to fetch.
13786
+ */
13787
+ where: SolutionWhereUniqueInput
12749
13788
  }
12750
13789
 
12751
13790
  /**
12752
- * RoleCategory findFirst
13791
+ * Solution findFirst
12753
13792
  */
12754
- export type RoleCategoryFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13793
+ export type SolutionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12755
13794
  /**
12756
- * Select specific fields to fetch from the RoleCategory
13795
+ * Select specific fields to fetch from the Solution
12757
13796
  */
12758
- select?: RoleCategorySelect<ExtArgs> | null
13797
+ select?: SolutionSelect<ExtArgs> | null
12759
13798
  /**
12760
- * Filter, which RoleCategory to fetch.
13799
+ * Choose, which related nodes to fetch as well
12761
13800
  */
12762
- where?: RoleCategoryWhereInput
13801
+ include?: SolutionInclude<ExtArgs> | null
13802
+ /**
13803
+ * Filter, which Solution to fetch.
13804
+ */
13805
+ where?: SolutionWhereInput
12763
13806
  /**
12764
13807
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12765
13808
  *
12766
- * Determine the order of RoleCategories to fetch.
13809
+ * Determine the order of Solutions to fetch.
12767
13810
  */
12768
- orderBy?: RoleCategoryOrderByWithRelationInput | RoleCategoryOrderByWithRelationInput[]
13811
+ orderBy?: SolutionOrderByWithRelationInput | SolutionOrderByWithRelationInput[]
12769
13812
  /**
12770
13813
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12771
13814
  *
12772
- * Sets the position for searching for RoleCategories.
13815
+ * Sets the position for searching for Solutions.
12773
13816
  */
12774
- cursor?: RoleCategoryWhereUniqueInput
13817
+ cursor?: SolutionWhereUniqueInput
12775
13818
  /**
12776
13819
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12777
13820
  *
12778
- * Take `±n` RoleCategories from the position of the cursor.
13821
+ * Take `±n` Solutions from the position of the cursor.
12779
13822
  */
12780
13823
  take?: number
12781
13824
  /**
12782
13825
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12783
13826
  *
12784
- * Skip the first `n` RoleCategories.
13827
+ * Skip the first `n` Solutions.
12785
13828
  */
12786
13829
  skip?: number
12787
13830
  /**
12788
13831
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
12789
13832
  *
12790
- * Filter by unique combinations of RoleCategories.
13833
+ * Filter by unique combinations of Solutions.
12791
13834
  */
12792
- distinct?: RoleCategoryScalarFieldEnum | RoleCategoryScalarFieldEnum[]
13835
+ distinct?: SolutionScalarFieldEnum | SolutionScalarFieldEnum[]
12793
13836
  }
12794
13837
 
12795
13838
  /**
12796
- * RoleCategory findFirstOrThrow
13839
+ * Solution findFirstOrThrow
12797
13840
  */
12798
- export type RoleCategoryFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13841
+ export type SolutionFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12799
13842
  /**
12800
- * Select specific fields to fetch from the RoleCategory
13843
+ * Select specific fields to fetch from the Solution
12801
13844
  */
12802
- select?: RoleCategorySelect<ExtArgs> | null
13845
+ select?: SolutionSelect<ExtArgs> | null
12803
13846
  /**
12804
- * Filter, which RoleCategory to fetch.
13847
+ * Choose, which related nodes to fetch as well
12805
13848
  */
12806
- where?: RoleCategoryWhereInput
13849
+ include?: SolutionInclude<ExtArgs> | null
13850
+ /**
13851
+ * Filter, which Solution to fetch.
13852
+ */
13853
+ where?: SolutionWhereInput
12807
13854
  /**
12808
13855
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12809
13856
  *
12810
- * Determine the order of RoleCategories to fetch.
13857
+ * Determine the order of Solutions to fetch.
12811
13858
  */
12812
- orderBy?: RoleCategoryOrderByWithRelationInput | RoleCategoryOrderByWithRelationInput[]
13859
+ orderBy?: SolutionOrderByWithRelationInput | SolutionOrderByWithRelationInput[]
12813
13860
  /**
12814
13861
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12815
13862
  *
12816
- * Sets the position for searching for RoleCategories.
13863
+ * Sets the position for searching for Solutions.
12817
13864
  */
12818
- cursor?: RoleCategoryWhereUniqueInput
13865
+ cursor?: SolutionWhereUniqueInput
12819
13866
  /**
12820
13867
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12821
13868
  *
12822
- * Take `±n` RoleCategories from the position of the cursor.
13869
+ * Take `±n` Solutions from the position of the cursor.
12823
13870
  */
12824
13871
  take?: number
12825
13872
  /**
12826
13873
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12827
13874
  *
12828
- * Skip the first `n` RoleCategories.
13875
+ * Skip the first `n` Solutions.
12829
13876
  */
12830
13877
  skip?: number
12831
13878
  /**
12832
13879
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
12833
13880
  *
12834
- * Filter by unique combinations of RoleCategories.
13881
+ * Filter by unique combinations of Solutions.
12835
13882
  */
12836
- distinct?: RoleCategoryScalarFieldEnum | RoleCategoryScalarFieldEnum[]
13883
+ distinct?: SolutionScalarFieldEnum | SolutionScalarFieldEnum[]
12837
13884
  }
12838
13885
 
12839
13886
  /**
12840
- * RoleCategory findMany
13887
+ * Solution findMany
12841
13888
  */
12842
- export type RoleCategoryFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13889
+ export type SolutionFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12843
13890
  /**
12844
- * Select specific fields to fetch from the RoleCategory
13891
+ * Select specific fields to fetch from the Solution
12845
13892
  */
12846
- select?: RoleCategorySelect<ExtArgs> | null
13893
+ select?: SolutionSelect<ExtArgs> | null
12847
13894
  /**
12848
- * Filter, which RoleCategories to fetch.
13895
+ * Choose, which related nodes to fetch as well
12849
13896
  */
12850
- where?: RoleCategoryWhereInput
13897
+ include?: SolutionInclude<ExtArgs> | null
13898
+ /**
13899
+ * Filter, which Solutions to fetch.
13900
+ */
13901
+ where?: SolutionWhereInput
12851
13902
  /**
12852
13903
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12853
13904
  *
12854
- * Determine the order of RoleCategories to fetch.
13905
+ * Determine the order of Solutions to fetch.
12855
13906
  */
12856
- orderBy?: RoleCategoryOrderByWithRelationInput | RoleCategoryOrderByWithRelationInput[]
13907
+ orderBy?: SolutionOrderByWithRelationInput | SolutionOrderByWithRelationInput[]
12857
13908
  /**
12858
13909
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12859
13910
  *
12860
- * Sets the position for listing RoleCategories.
13911
+ * Sets the position for listing Solutions.
12861
13912
  */
12862
- cursor?: RoleCategoryWhereUniqueInput
13913
+ cursor?: SolutionWhereUniqueInput
12863
13914
  /**
12864
13915
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12865
13916
  *
12866
- * Take `±n` RoleCategories from the position of the cursor.
13917
+ * Take `±n` Solutions from the position of the cursor.
12867
13918
  */
12868
13919
  take?: number
12869
13920
  /**
12870
13921
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12871
13922
  *
12872
- * Skip the first `n` RoleCategories.
13923
+ * Skip the first `n` Solutions.
12873
13924
  */
12874
13925
  skip?: number
12875
- distinct?: RoleCategoryScalarFieldEnum | RoleCategoryScalarFieldEnum[]
13926
+ distinct?: SolutionScalarFieldEnum | SolutionScalarFieldEnum[]
12876
13927
  }
12877
13928
 
12878
13929
  /**
12879
- * RoleCategory create
13930
+ * Solution create
12880
13931
  */
12881
- export type RoleCategoryCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13932
+ export type SolutionCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12882
13933
  /**
12883
- * Select specific fields to fetch from the RoleCategory
13934
+ * Select specific fields to fetch from the Solution
12884
13935
  */
12885
- select?: RoleCategorySelect<ExtArgs> | null
13936
+ select?: SolutionSelect<ExtArgs> | null
12886
13937
  /**
12887
- * The data needed to create a RoleCategory.
13938
+ * Choose, which related nodes to fetch as well
12888
13939
  */
12889
- data: XOR<RoleCategoryCreateInput, RoleCategoryUncheckedCreateInput>
13940
+ include?: SolutionInclude<ExtArgs> | null
13941
+ /**
13942
+ * The data needed to create a Solution.
13943
+ */
13944
+ data: XOR<SolutionCreateInput, SolutionUncheckedCreateInput>
12890
13945
  }
12891
13946
 
12892
13947
  /**
12893
- * RoleCategory createMany
13948
+ * Solution createMany
12894
13949
  */
12895
- export type RoleCategoryCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13950
+ export type SolutionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12896
13951
  /**
12897
- * The data used to create many RoleCategories.
13952
+ * The data used to create many Solutions.
12898
13953
  */
12899
- data: RoleCategoryCreateManyInput | RoleCategoryCreateManyInput[]
13954
+ data: SolutionCreateManyInput | SolutionCreateManyInput[]
12900
13955
  }
12901
13956
 
12902
13957
  /**
12903
- * RoleCategory update
13958
+ * Solution update
12904
13959
  */
12905
- export type RoleCategoryUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13960
+ export type SolutionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12906
13961
  /**
12907
- * Select specific fields to fetch from the RoleCategory
13962
+ * Select specific fields to fetch from the Solution
12908
13963
  */
12909
- select?: RoleCategorySelect<ExtArgs> | null
13964
+ select?: SolutionSelect<ExtArgs> | null
12910
13965
  /**
12911
- * The data needed to update a RoleCategory.
13966
+ * Choose, which related nodes to fetch as well
12912
13967
  */
12913
- data: XOR<RoleCategoryUpdateInput, RoleCategoryUncheckedUpdateInput>
13968
+ include?: SolutionInclude<ExtArgs> | null
12914
13969
  /**
12915
- * Choose, which RoleCategory to update.
13970
+ * The data needed to update a Solution.
12916
13971
  */
12917
- where: RoleCategoryWhereUniqueInput
13972
+ data: XOR<SolutionUpdateInput, SolutionUncheckedUpdateInput>
13973
+ /**
13974
+ * Choose, which Solution to update.
13975
+ */
13976
+ where: SolutionWhereUniqueInput
12918
13977
  }
12919
13978
 
12920
13979
  /**
12921
- * RoleCategory updateMany
13980
+ * Solution updateMany
12922
13981
  */
12923
- export type RoleCategoryUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13982
+ export type SolutionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12924
13983
  /**
12925
- * The data used to update RoleCategories.
13984
+ * The data used to update Solutions.
12926
13985
  */
12927
- data: XOR<RoleCategoryUpdateManyMutationInput, RoleCategoryUncheckedUpdateManyInput>
13986
+ data: XOR<SolutionUpdateManyMutationInput, SolutionUncheckedUpdateManyInput>
12928
13987
  /**
12929
- * Filter which RoleCategories to update
13988
+ * Filter which Solutions to update
12930
13989
  */
12931
- where?: RoleCategoryWhereInput
13990
+ where?: SolutionWhereInput
12932
13991
  }
12933
13992
 
12934
13993
  /**
12935
- * RoleCategory upsert
13994
+ * Solution upsert
12936
13995
  */
12937
- export type RoleCategoryUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13996
+ export type SolutionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12938
13997
  /**
12939
- * Select specific fields to fetch from the RoleCategory
13998
+ * Select specific fields to fetch from the Solution
12940
13999
  */
12941
- select?: RoleCategorySelect<ExtArgs> | null
14000
+ select?: SolutionSelect<ExtArgs> | null
12942
14001
  /**
12943
- * The filter to search for the RoleCategory to update in case it exists.
14002
+ * Choose, which related nodes to fetch as well
12944
14003
  */
12945
- where: RoleCategoryWhereUniqueInput
14004
+ include?: SolutionInclude<ExtArgs> | null
12946
14005
  /**
12947
- * In case the RoleCategory found by the `where` argument doesn't exist, create a new RoleCategory with this data.
14006
+ * The filter to search for the Solution to update in case it exists.
12948
14007
  */
12949
- create: XOR<RoleCategoryCreateInput, RoleCategoryUncheckedCreateInput>
14008
+ where: SolutionWhereUniqueInput
12950
14009
  /**
12951
- * In case the RoleCategory was found with the provided `where` argument, update it with this data.
14010
+ * In case the Solution found by the `where` argument doesn't exist, create a new Solution with this data.
12952
14011
  */
12953
- update: XOR<RoleCategoryUpdateInput, RoleCategoryUncheckedUpdateInput>
14012
+ create: XOR<SolutionCreateInput, SolutionUncheckedCreateInput>
14013
+ /**
14014
+ * In case the Solution was found with the provided `where` argument, update it with this data.
14015
+ */
14016
+ update: XOR<SolutionUpdateInput, SolutionUncheckedUpdateInput>
12954
14017
  }
12955
14018
 
12956
14019
  /**
12957
- * RoleCategory delete
14020
+ * Solution delete
12958
14021
  */
12959
- export type RoleCategoryDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14022
+ export type SolutionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12960
14023
  /**
12961
- * Select specific fields to fetch from the RoleCategory
14024
+ * Select specific fields to fetch from the Solution
12962
14025
  */
12963
- select?: RoleCategorySelect<ExtArgs> | null
14026
+ select?: SolutionSelect<ExtArgs> | null
12964
14027
  /**
12965
- * Filter which RoleCategory to delete.
14028
+ * Choose, which related nodes to fetch as well
12966
14029
  */
12967
- where: RoleCategoryWhereUniqueInput
14030
+ include?: SolutionInclude<ExtArgs> | null
14031
+ /**
14032
+ * Filter which Solution to delete.
14033
+ */
14034
+ where: SolutionWhereUniqueInput
12968
14035
  }
12969
14036
 
12970
14037
  /**
12971
- * RoleCategory deleteMany
14038
+ * Solution deleteMany
12972
14039
  */
12973
- export type RoleCategoryDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14040
+ export type SolutionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12974
14041
  /**
12975
- * Filter which RoleCategories to delete
14042
+ * Filter which Solutions to delete
12976
14043
  */
12977
- where?: RoleCategoryWhereInput
14044
+ where?: SolutionWhereInput
12978
14045
  }
12979
14046
 
12980
14047
  /**
12981
- * RoleCategory findRaw
14048
+ * Solution findRaw
12982
14049
  */
12983
- export type RoleCategoryFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14050
+ export type SolutionFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12984
14051
  /**
12985
14052
  * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
12986
14053
  */
@@ -12992,9 +14059,9 @@ export namespace Prisma {
12992
14059
  }
12993
14060
 
12994
14061
  /**
12995
- * RoleCategory aggregateRaw
14062
+ * Solution aggregateRaw
12996
14063
  */
12997
- export type RoleCategoryAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14064
+ export type SolutionAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12998
14065
  /**
12999
14066
  * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
13000
14067
  */
@@ -13006,13 +14073,17 @@ export namespace Prisma {
13006
14073
  }
13007
14074
 
13008
14075
  /**
13009
- * RoleCategory without action
14076
+ * Solution without action
13010
14077
  */
13011
- export type RoleCategoryDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14078
+ export type SolutionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13012
14079
  /**
13013
- * Select specific fields to fetch from the RoleCategory
14080
+ * Select specific fields to fetch from the Solution
13014
14081
  */
13015
- select?: RoleCategorySelect<ExtArgs> | null
14082
+ select?: SolutionSelect<ExtArgs> | null
14083
+ /**
14084
+ * Choose, which related nodes to fetch as well
14085
+ */
14086
+ include?: SolutionInclude<ExtArgs> | null
13016
14087
  }
13017
14088
 
13018
14089
 
@@ -16095,6 +17166,15 @@ export namespace Prisma {
16095
17166
  export type RoleCategoryScalarFieldEnum = (typeof RoleCategoryScalarFieldEnum)[keyof typeof RoleCategoryScalarFieldEnum]
16096
17167
 
16097
17168
 
17169
+ export const SolutionScalarFieldEnum: {
17170
+ id: 'id',
17171
+ preset: 'preset',
17172
+ title: 'title'
17173
+ };
17174
+
17175
+ export type SolutionScalarFieldEnum = (typeof SolutionScalarFieldEnum)[keyof typeof SolutionScalarFieldEnum]
17176
+
17177
+
16098
17178
  export const TalentCategoryScalarFieldEnum: {
16099
17179
  id: 'id',
16100
17180
  textId: 'textId',
@@ -16299,6 +17379,20 @@ export namespace Prisma {
16299
17379
 
16300
17380
 
16301
17381
 
17382
+ /**
17383
+ * Reference to a field of type 'PresetID'
17384
+ */
17385
+ export type EnumPresetIDFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PresetID'>
17386
+
17387
+
17388
+
17389
+ /**
17390
+ * Reference to a field of type 'PresetID[]'
17391
+ */
17392
+ export type ListEnumPresetIDFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PresetID[]'>
17393
+
17394
+
17395
+
16302
17396
  /**
16303
17397
  * Reference to a field of type 'ContractPartyType'
16304
17398
  */
@@ -17264,6 +18358,51 @@ export namespace Prisma {
17264
18358
  talentCategoryIds?: StringNullableListFilter<"RoleCategory">
17265
18359
  }
17266
18360
 
18361
+ export type SolutionWhereInput = {
18362
+ AND?: SolutionWhereInput | SolutionWhereInput[]
18363
+ OR?: SolutionWhereInput[]
18364
+ NOT?: SolutionWhereInput | SolutionWhereInput[]
18365
+ id?: StringFilter<"Solution"> | string
18366
+ preset?: EnumPresetIDFilter<"Solution"> | $Enums.PresetID
18367
+ title?: StringFilter<"Solution"> | string
18368
+ roles?: RoleCompositeListFilter | RoleObjectEqualityInput[]
18369
+ }
18370
+
18371
+ export type SolutionOrderByWithRelationInput = {
18372
+ id?: SortOrder
18373
+ preset?: SortOrder
18374
+ title?: SortOrder
18375
+ roles?: RoleOrderByCompositeAggregateInput
18376
+ }
18377
+
18378
+ export type SolutionWhereUniqueInput = Prisma.AtLeast<{
18379
+ id?: string
18380
+ AND?: SolutionWhereInput | SolutionWhereInput[]
18381
+ OR?: SolutionWhereInput[]
18382
+ NOT?: SolutionWhereInput | SolutionWhereInput[]
18383
+ preset?: EnumPresetIDFilter<"Solution"> | $Enums.PresetID
18384
+ title?: StringFilter<"Solution"> | string
18385
+ roles?: RoleCompositeListFilter | RoleObjectEqualityInput[]
18386
+ }, "id">
18387
+
18388
+ export type SolutionOrderByWithAggregationInput = {
18389
+ id?: SortOrder
18390
+ preset?: SortOrder
18391
+ title?: SortOrder
18392
+ _count?: SolutionCountOrderByAggregateInput
18393
+ _max?: SolutionMaxOrderByAggregateInput
18394
+ _min?: SolutionMinOrderByAggregateInput
18395
+ }
18396
+
18397
+ export type SolutionScalarWhereWithAggregatesInput = {
18398
+ AND?: SolutionScalarWhereWithAggregatesInput | SolutionScalarWhereWithAggregatesInput[]
18399
+ OR?: SolutionScalarWhereWithAggregatesInput[]
18400
+ NOT?: SolutionScalarWhereWithAggregatesInput | SolutionScalarWhereWithAggregatesInput[]
18401
+ id?: StringWithAggregatesFilter<"Solution"> | string
18402
+ preset?: EnumPresetIDWithAggregatesFilter<"Solution"> | $Enums.PresetID
18403
+ title?: StringWithAggregatesFilter<"Solution"> | string
18404
+ }
18405
+
17267
18406
  export type TalentCategoryWhereInput = {
17268
18407
  AND?: TalentCategoryWhereInput | TalentCategoryWhereInput[]
17269
18408
  OR?: TalentCategoryWhereInput[]
@@ -18560,6 +19699,51 @@ export namespace Prisma {
18560
19699
  talentCategoryIds?: RoleCategoryUpdatetalentCategoryIdsInput | string[]
18561
19700
  }
18562
19701
 
19702
+ export type SolutionCreateInput = {
19703
+ id?: string
19704
+ preset: $Enums.PresetID
19705
+ title: string
19706
+ roles?: XOR<RoleListCreateEnvelopeInput, RoleCreateInput> | RoleCreateInput[]
19707
+ }
19708
+
19709
+ export type SolutionUncheckedCreateInput = {
19710
+ id?: string
19711
+ preset: $Enums.PresetID
19712
+ title: string
19713
+ roles?: XOR<RoleListCreateEnvelopeInput, RoleCreateInput> | RoleCreateInput[]
19714
+ }
19715
+
19716
+ export type SolutionUpdateInput = {
19717
+ preset?: EnumPresetIDFieldUpdateOperationsInput | $Enums.PresetID
19718
+ title?: StringFieldUpdateOperationsInput | string
19719
+ roles?: XOR<RoleListUpdateEnvelopeInput, RoleCreateInput> | RoleCreateInput[]
19720
+ }
19721
+
19722
+ export type SolutionUncheckedUpdateInput = {
19723
+ preset?: EnumPresetIDFieldUpdateOperationsInput | $Enums.PresetID
19724
+ title?: StringFieldUpdateOperationsInput | string
19725
+ roles?: XOR<RoleListUpdateEnvelopeInput, RoleCreateInput> | RoleCreateInput[]
19726
+ }
19727
+
19728
+ export type SolutionCreateManyInput = {
19729
+ id?: string
19730
+ preset: $Enums.PresetID
19731
+ title: string
19732
+ roles?: XOR<RoleListCreateEnvelopeInput, RoleCreateInput> | RoleCreateInput[]
19733
+ }
19734
+
19735
+ export type SolutionUpdateManyMutationInput = {
19736
+ preset?: EnumPresetIDFieldUpdateOperationsInput | $Enums.PresetID
19737
+ title?: StringFieldUpdateOperationsInput | string
19738
+ roles?: XOR<RoleListUpdateEnvelopeInput, RoleCreateInput> | RoleCreateInput[]
19739
+ }
19740
+
19741
+ export type SolutionUncheckedUpdateManyInput = {
19742
+ preset?: EnumPresetIDFieldUpdateOperationsInput | $Enums.PresetID
19743
+ title?: StringFieldUpdateOperationsInput | string
19744
+ roles?: XOR<RoleListUpdateEnvelopeInput, RoleCreateInput> | RoleCreateInput[]
19745
+ }
19746
+
18563
19747
  export type TalentCategoryCreateInput = {
18564
19748
  id?: string
18565
19749
  textId: string
@@ -20024,6 +21208,58 @@ export namespace Prisma {
20024
21208
  group?: SortOrder
20025
21209
  }
20026
21210
 
21211
+ export type EnumPresetIDFilter<$PrismaModel = never> = {
21212
+ equals?: $Enums.PresetID | EnumPresetIDFieldRefInput<$PrismaModel>
21213
+ in?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
21214
+ notIn?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
21215
+ not?: NestedEnumPresetIDFilter<$PrismaModel> | $Enums.PresetID
21216
+ }
21217
+
21218
+ export type RoleCompositeListFilter = {
21219
+ equals?: RoleObjectEqualityInput[]
21220
+ every?: RoleWhereInput
21221
+ some?: RoleWhereInput
21222
+ none?: RoleWhereInput
21223
+ isEmpty?: boolean
21224
+ isSet?: boolean
21225
+ }
21226
+
21227
+ export type RoleObjectEqualityInput = {
21228
+ category: string
21229
+ }
21230
+
21231
+ export type RoleOrderByCompositeAggregateInput = {
21232
+ _count?: SortOrder
21233
+ }
21234
+
21235
+ export type SolutionCountOrderByAggregateInput = {
21236
+ id?: SortOrder
21237
+ preset?: SortOrder
21238
+ title?: SortOrder
21239
+ }
21240
+
21241
+ export type SolutionMaxOrderByAggregateInput = {
21242
+ id?: SortOrder
21243
+ preset?: SortOrder
21244
+ title?: SortOrder
21245
+ }
21246
+
21247
+ export type SolutionMinOrderByAggregateInput = {
21248
+ id?: SortOrder
21249
+ preset?: SortOrder
21250
+ title?: SortOrder
21251
+ }
21252
+
21253
+ export type EnumPresetIDWithAggregatesFilter<$PrismaModel = never> = {
21254
+ equals?: $Enums.PresetID | EnumPresetIDFieldRefInput<$PrismaModel>
21255
+ in?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
21256
+ notIn?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
21257
+ not?: NestedEnumPresetIDWithAggregatesFilter<$PrismaModel> | $Enums.PresetID
21258
+ _count?: NestedIntFilter<$PrismaModel>
21259
+ _min?: NestedEnumPresetIDFilter<$PrismaModel>
21260
+ _max?: NestedEnumPresetIDFilter<$PrismaModel>
21261
+ }
21262
+
20027
21263
  export type TalentCategoryCountOrderByAggregateInput = {
20028
21264
  id?: SortOrder
20029
21265
  textId?: SortOrder
@@ -21165,6 +22401,25 @@ export namespace Prisma {
21165
22401
  push?: string | string[]
21166
22402
  }
21167
22403
 
22404
+ export type RoleListCreateEnvelopeInput = {
22405
+ set?: RoleCreateInput | RoleCreateInput[]
22406
+ }
22407
+
22408
+ export type RoleCreateInput = {
22409
+ category: string
22410
+ }
22411
+
22412
+ export type EnumPresetIDFieldUpdateOperationsInput = {
22413
+ set?: $Enums.PresetID
22414
+ }
22415
+
22416
+ export type RoleListUpdateEnvelopeInput = {
22417
+ set?: RoleCreateInput | RoleCreateInput[]
22418
+ push?: RoleCreateInput | RoleCreateInput[]
22419
+ updateMany?: RoleUpdateManyInput
22420
+ deleteMany?: RoleDeleteManyInput
22421
+ }
22422
+
21168
22423
  export type TalentCategoryCreateparentTalentCategoryIdsInput = {
21169
22424
  set: string[]
21170
22425
  }
@@ -22059,6 +23314,30 @@ export namespace Prisma {
22059
23314
  not?: NestedFloatFilter<$PrismaModel> | number
22060
23315
  }
22061
23316
 
23317
+ export type NestedEnumPresetIDFilter<$PrismaModel = never> = {
23318
+ equals?: $Enums.PresetID | EnumPresetIDFieldRefInput<$PrismaModel>
23319
+ in?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
23320
+ notIn?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
23321
+ not?: NestedEnumPresetIDFilter<$PrismaModel> | $Enums.PresetID
23322
+ }
23323
+
23324
+ export type RoleWhereInput = {
23325
+ AND?: RoleWhereInput | RoleWhereInput[]
23326
+ OR?: RoleWhereInput[]
23327
+ NOT?: RoleWhereInput | RoleWhereInput[]
23328
+ category?: StringFilter<"Role"> | string
23329
+ }
23330
+
23331
+ export type NestedEnumPresetIDWithAggregatesFilter<$PrismaModel = never> = {
23332
+ equals?: $Enums.PresetID | EnumPresetIDFieldRefInput<$PrismaModel>
23333
+ in?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
23334
+ notIn?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
23335
+ not?: NestedEnumPresetIDWithAggregatesFilter<$PrismaModel> | $Enums.PresetID
23336
+ _count?: NestedIntFilter<$PrismaModel>
23337
+ _min?: NestedEnumPresetIDFilter<$PrismaModel>
23338
+ _max?: NestedEnumPresetIDFilter<$PrismaModel>
23339
+ }
23340
+
22062
23341
  export type NestedBoolFilter<$PrismaModel = never> = {
22063
23342
  equals?: boolean | BooleanFieldRefInput<$PrismaModel>
22064
23343
  not?: NestedBoolFilter<$PrismaModel> | boolean
@@ -24353,6 +25632,15 @@ export namespace Prisma {
24353
25632
  contracts?: ContractUncheckedUpdateManyWithoutMissionNestedInput
24354
25633
  }
24355
25634
 
25635
+ export type RoleUpdateManyInput = {
25636
+ where: RoleWhereInput
25637
+ data: RoleUpdateInput
25638
+ }
25639
+
25640
+ export type RoleDeleteManyInput = {
25641
+ where: RoleWhereInput
25642
+ }
25643
+
24356
25644
  export type ClientRegistrationCreaterequestRolesInput = {
24357
25645
  set: string[]
24358
25646
  }
@@ -25782,6 +27070,10 @@ export namespace Prisma {
25782
27070
  numberOfMinutesOverlap?: NullableIntFieldUpdateOperationsInput | number | null
25783
27071
  }
25784
27072
 
27073
+ export type RoleUpdateInput = {
27074
+ category?: StringFieldUpdateOperationsInput | string
27075
+ }
27076
+
25785
27077
  export type MissionCreateManyCreatorModelInput = {
25786
27078
  mid?: string
25787
27079
  accountId?: string | null
@@ -27054,6 +28346,10 @@ export namespace Prisma {
27054
28346
  * @deprecated Use ClientRoleQuestionDefaultArgs instead
27055
28347
  */
27056
28348
  export type ClientRoleQuestionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ClientRoleQuestionDefaultArgs<ExtArgs>
28349
+ /**
28350
+ * @deprecated Use RoleDefaultArgs instead
28351
+ */
28352
+ export type RoleArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleDefaultArgs<ExtArgs>
27057
28353
  /**
27058
28354
  * @deprecated Use ClientRegistrationDefaultArgs instead
27059
28355
  */
@@ -27090,6 +28386,10 @@ export namespace Prisma {
27090
28386
  * @deprecated Use RoleCategoryDefaultArgs instead
27091
28387
  */
27092
28388
  export type RoleCategoryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleCategoryDefaultArgs<ExtArgs>
28389
+ /**
28390
+ * @deprecated Use SolutionDefaultArgs instead
28391
+ */
28392
+ export type SolutionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SolutionDefaultArgs<ExtArgs>
27093
28393
  /**
27094
28394
  * @deprecated Use TalentCategoryDefaultArgs instead
27095
28395
  */