document-drive 1.29.9-dev.3 → 1.29.9-dev.4

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 (44) hide show
  1. package/dist/prisma/schema.prisma +2 -0
  2. package/dist/src/processors/processor-manager.d.ts.map +1 -1
  3. package/dist/src/processors/processor-manager.js +14 -4
  4. package/dist/src/processors/processor-manager.js.map +1 -1
  5. package/dist/src/server/base-server.d.ts.map +1 -1
  6. package/dist/src/server/base-server.js +12 -8
  7. package/dist/src/server/base-server.js.map +1 -1
  8. package/dist/src/server/error.d.ts.map +1 -1
  9. package/dist/src/server/error.js +1 -1
  10. package/dist/src/server/error.js.map +1 -1
  11. package/dist/src/storage/browser.d.ts +5 -3
  12. package/dist/src/storage/browser.d.ts.map +1 -1
  13. package/dist/src/storage/browser.js +86 -27
  14. package/dist/src/storage/browser.js.map +1 -1
  15. package/dist/src/storage/filesystem.d.ts +5 -3
  16. package/dist/src/storage/filesystem.d.ts.map +1 -1
  17. package/dist/src/storage/filesystem.js +79 -22
  18. package/dist/src/storage/filesystem.js.map +1 -1
  19. package/dist/src/storage/ipfs.d.ts +4 -1
  20. package/dist/src/storage/ipfs.d.ts.map +1 -1
  21. package/dist/src/storage/ipfs.js +86 -44
  22. package/dist/src/storage/ipfs.js.map +1 -1
  23. package/dist/src/storage/memory.d.ts +4 -2
  24. package/dist/src/storage/memory.d.ts.map +1 -1
  25. package/dist/src/storage/memory.js +93 -38
  26. package/dist/src/storage/memory.js.map +1 -1
  27. package/dist/src/storage/prisma/client/edge.js +4 -3
  28. package/dist/src/storage/prisma/client/index-browser.js +1 -0
  29. package/dist/src/storage/prisma/client/index.d.ts +150 -71
  30. package/dist/src/storage/prisma/client/index.js +4 -3
  31. package/dist/src/storage/prisma/client/package.json +1 -1
  32. package/dist/src/storage/prisma/client/schema.prisma +2 -0
  33. package/dist/src/storage/prisma/client/wasm.js +1 -0
  34. package/dist/src/storage/prisma/prisma.d.ts +4 -2
  35. package/dist/src/storage/prisma/prisma.d.ts.map +1 -1
  36. package/dist/src/storage/prisma/prisma.js +41 -20
  37. package/dist/src/storage/prisma/prisma.js.map +1 -1
  38. package/dist/src/storage/types.d.ts +11 -4
  39. package/dist/src/storage/types.d.ts.map +1 -1
  40. package/dist/src/utils/logger.d.ts.map +1 -1
  41. package/dist/src/utils/logger.js +3 -1
  42. package/dist/src/utils/logger.js.map +1 -1
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/package.json +2 -2
@@ -2355,12 +2355,23 @@ export namespace Prisma {
2355
2355
 
2356
2356
  export type AggregateDocument = {
2357
2357
  _count: DocumentCountAggregateOutputType | null
2358
+ _avg: DocumentAvgAggregateOutputType | null
2359
+ _sum: DocumentSumAggregateOutputType | null
2358
2360
  _min: DocumentMinAggregateOutputType | null
2359
2361
  _max: DocumentMaxAggregateOutputType | null
2360
2362
  }
2361
2363
 
2364
+ export type DocumentAvgAggregateOutputType = {
2365
+ ordinal: number | null
2366
+ }
2367
+
2368
+ export type DocumentSumAggregateOutputType = {
2369
+ ordinal: number | null
2370
+ }
2371
+
2362
2372
  export type DocumentMinAggregateOutputType = {
2363
2373
  id: string | null
2374
+ ordinal: number | null
2364
2375
  created: Date | null
2365
2376
  lastModified: Date | null
2366
2377
  slug: string | null
@@ -2373,6 +2384,7 @@ export namespace Prisma {
2373
2384
 
2374
2385
  export type DocumentMaxAggregateOutputType = {
2375
2386
  id: string | null
2387
+ ordinal: number | null
2376
2388
  created: Date | null
2377
2389
  lastModified: Date | null
2378
2390
  slug: string | null
@@ -2385,6 +2397,7 @@ export namespace Prisma {
2385
2397
 
2386
2398
  export type DocumentCountAggregateOutputType = {
2387
2399
  id: number
2400
+ ordinal: number
2388
2401
  created: number
2389
2402
  lastModified: number
2390
2403
  slug: number
@@ -2397,8 +2410,17 @@ export namespace Prisma {
2397
2410
  }
2398
2411
 
2399
2412
 
2413
+ export type DocumentAvgAggregateInputType = {
2414
+ ordinal?: true
2415
+ }
2416
+
2417
+ export type DocumentSumAggregateInputType = {
2418
+ ordinal?: true
2419
+ }
2420
+
2400
2421
  export type DocumentMinAggregateInputType = {
2401
2422
  id?: true
2423
+ ordinal?: true
2402
2424
  created?: true
2403
2425
  lastModified?: true
2404
2426
  slug?: true
@@ -2411,6 +2433,7 @@ export namespace Prisma {
2411
2433
 
2412
2434
  export type DocumentMaxAggregateInputType = {
2413
2435
  id?: true
2436
+ ordinal?: true
2414
2437
  created?: true
2415
2438
  lastModified?: true
2416
2439
  slug?: true
@@ -2423,6 +2446,7 @@ export namespace Prisma {
2423
2446
 
2424
2447
  export type DocumentCountAggregateInputType = {
2425
2448
  id?: true
2449
+ ordinal?: true
2426
2450
  created?: true
2427
2451
  lastModified?: true
2428
2452
  slug?: true
@@ -2469,6 +2493,18 @@ export namespace Prisma {
2469
2493
  * Count returned Documents
2470
2494
  **/
2471
2495
  _count?: true | DocumentCountAggregateInputType
2496
+ /**
2497
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
2498
+ *
2499
+ * Select which fields to average
2500
+ **/
2501
+ _avg?: DocumentAvgAggregateInputType
2502
+ /**
2503
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
2504
+ *
2505
+ * Select which fields to sum
2506
+ **/
2507
+ _sum?: DocumentSumAggregateInputType
2472
2508
  /**
2473
2509
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
2474
2510
  *
@@ -2502,12 +2538,15 @@ export namespace Prisma {
2502
2538
  take?: number
2503
2539
  skip?: number
2504
2540
  _count?: DocumentCountAggregateInputType | true
2541
+ _avg?: DocumentAvgAggregateInputType
2542
+ _sum?: DocumentSumAggregateInputType
2505
2543
  _min?: DocumentMinAggregateInputType
2506
2544
  _max?: DocumentMaxAggregateInputType
2507
2545
  }
2508
2546
 
2509
2547
  export type DocumentGroupByOutputType = {
2510
2548
  id: string
2549
+ ordinal: number
2511
2550
  created: Date
2512
2551
  lastModified: Date
2513
2552
  slug: string | null
@@ -2517,6 +2556,8 @@ export namespace Prisma {
2517
2556
  documentType: string
2518
2557
  meta: string | null
2519
2558
  _count: DocumentCountAggregateOutputType | null
2559
+ _avg: DocumentAvgAggregateOutputType | null
2560
+ _sum: DocumentSumAggregateOutputType | null
2520
2561
  _min: DocumentMinAggregateOutputType | null
2521
2562
  _max: DocumentMaxAggregateOutputType | null
2522
2563
  }
@@ -2537,6 +2578,7 @@ export namespace Prisma {
2537
2578
 
2538
2579
  export type DocumentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
2539
2580
  id?: boolean
2581
+ ordinal?: boolean
2540
2582
  created?: boolean
2541
2583
  lastModified?: boolean
2542
2584
  slug?: boolean
@@ -2553,6 +2595,7 @@ export namespace Prisma {
2553
2595
 
2554
2596
  export type DocumentSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
2555
2597
  id?: boolean
2598
+ ordinal?: boolean
2556
2599
  created?: boolean
2557
2600
  lastModified?: boolean
2558
2601
  slug?: boolean
@@ -2565,6 +2608,7 @@ export namespace Prisma {
2565
2608
 
2566
2609
  export type DocumentSelectScalar = {
2567
2610
  id?: boolean
2611
+ ordinal?: boolean
2568
2612
  created?: boolean
2569
2613
  lastModified?: boolean
2570
2614
  slug?: boolean
@@ -2592,6 +2636,7 @@ export namespace Prisma {
2592
2636
  }
2593
2637
  scalars: $Extensions.GetPayloadResult<{
2594
2638
  id: string
2639
+ ordinal: number
2595
2640
  created: Date
2596
2641
  lastModified: Date
2597
2642
  slug: string | null
@@ -2997,6 +3042,7 @@ export namespace Prisma {
2997
3042
  */
2998
3043
  interface DocumentFieldRefs {
2999
3044
  readonly id: FieldRef<"Document", 'String'>
3045
+ readonly ordinal: FieldRef<"Document", 'Int'>
3000
3046
  readonly created: FieldRef<"Document", 'DateTime'>
3001
3047
  readonly lastModified: FieldRef<"Document", 'DateTime'>
3002
3048
  readonly slug: FieldRef<"Document", 'String'>
@@ -7372,6 +7418,7 @@ export namespace Prisma {
7372
7418
 
7373
7419
  export const DocumentScalarFieldEnum: {
7374
7420
  id: 'id',
7421
+ ordinal: 'ordinal',
7375
7422
  created: 'created',
7376
7423
  lastModified: 'lastModified',
7377
7424
  slug: 'slug',
@@ -7498,30 +7545,30 @@ export namespace Prisma {
7498
7545
 
7499
7546
 
7500
7547
  /**
7501
- * Reference to a field of type 'DateTime'
7548
+ * Reference to a field of type 'Int'
7502
7549
  */
7503
- export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
7550
+ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
7504
7551
 
7505
7552
 
7506
7553
 
7507
7554
  /**
7508
- * Reference to a field of type 'DateTime[]'
7555
+ * Reference to a field of type 'Int[]'
7509
7556
  */
7510
- export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>
7557
+ export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
7511
7558
 
7512
7559
 
7513
7560
 
7514
7561
  /**
7515
- * Reference to a field of type 'Int'
7562
+ * Reference to a field of type 'DateTime'
7516
7563
  */
7517
- export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
7564
+ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
7518
7565
 
7519
7566
 
7520
7567
 
7521
7568
  /**
7522
- * Reference to a field of type 'Int[]'
7569
+ * Reference to a field of type 'DateTime[]'
7523
7570
  */
7524
- export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
7571
+ export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>
7525
7572
 
7526
7573
 
7527
7574
 
@@ -7610,6 +7657,7 @@ export namespace Prisma {
7610
7657
  OR?: DocumentWhereInput[]
7611
7658
  NOT?: DocumentWhereInput | DocumentWhereInput[]
7612
7659
  id?: StringFilter<"Document"> | string
7660
+ ordinal?: IntFilter<"Document"> | number
7613
7661
  created?: DateTimeFilter<"Document"> | Date | string
7614
7662
  lastModified?: DateTimeFilter<"Document"> | Date | string
7615
7663
  slug?: StringNullableFilter<"Document"> | string | null
@@ -7625,6 +7673,7 @@ export namespace Prisma {
7625
7673
 
7626
7674
  export type DocumentOrderByWithRelationInput = {
7627
7675
  id?: SortOrder
7676
+ ordinal?: SortOrder
7628
7677
  created?: SortOrder
7629
7678
  lastModified?: SortOrder
7630
7679
  slug?: SortOrderInput | SortOrder
@@ -7640,6 +7689,7 @@ export namespace Prisma {
7640
7689
 
7641
7690
  export type DocumentWhereUniqueInput = Prisma.AtLeast<{
7642
7691
  id?: string
7692
+ ordinal?: number
7643
7693
  slug?: string
7644
7694
  AND?: DocumentWhereInput | DocumentWhereInput[]
7645
7695
  OR?: DocumentWhereInput[]
@@ -7654,10 +7704,11 @@ export namespace Prisma {
7654
7704
  operations?: OperationListRelationFilter
7655
7705
  synchronizationUnits?: SynchronizationUnitListRelationFilter
7656
7706
  driveDocuments?: DriveDocumentListRelationFilter
7657
- }, "id" | "slug">
7707
+ }, "id" | "ordinal" | "slug">
7658
7708
 
7659
7709
  export type DocumentOrderByWithAggregationInput = {
7660
7710
  id?: SortOrder
7711
+ ordinal?: SortOrder
7661
7712
  created?: SortOrder
7662
7713
  lastModified?: SortOrder
7663
7714
  slug?: SortOrderInput | SortOrder
@@ -7667,8 +7718,10 @@ export namespace Prisma {
7667
7718
  documentType?: SortOrder
7668
7719
  meta?: SortOrderInput | SortOrder
7669
7720
  _count?: DocumentCountOrderByAggregateInput
7721
+ _avg?: DocumentAvgOrderByAggregateInput
7670
7722
  _max?: DocumentMaxOrderByAggregateInput
7671
7723
  _min?: DocumentMinOrderByAggregateInput
7724
+ _sum?: DocumentSumOrderByAggregateInput
7672
7725
  }
7673
7726
 
7674
7727
  export type DocumentScalarWhereWithAggregatesInput = {
@@ -7676,6 +7729,7 @@ export namespace Prisma {
7676
7729
  OR?: DocumentScalarWhereWithAggregatesInput[]
7677
7730
  NOT?: DocumentScalarWhereWithAggregatesInput | DocumentScalarWhereWithAggregatesInput[]
7678
7731
  id?: StringWithAggregatesFilter<"Document"> | string
7732
+ ordinal?: IntWithAggregatesFilter<"Document"> | number
7679
7733
  created?: DateTimeWithAggregatesFilter<"Document"> | Date | string
7680
7734
  lastModified?: DateTimeWithAggregatesFilter<"Document"> | Date | string
7681
7735
  slug?: StringNullableWithAggregatesFilter<"Document"> | string | null
@@ -7996,6 +8050,7 @@ export namespace Prisma {
7996
8050
 
7997
8051
  export type DocumentCreateInput = {
7998
8052
  id: string
8053
+ ordinal?: number
7999
8054
  created?: Date | string
8000
8055
  lastModified?: Date | string
8001
8056
  slug?: string | null
@@ -8011,6 +8066,7 @@ export namespace Prisma {
8011
8066
 
8012
8067
  export type DocumentUncheckedCreateInput = {
8013
8068
  id: string
8069
+ ordinal?: number
8014
8070
  created?: Date | string
8015
8071
  lastModified?: Date | string
8016
8072
  slug?: string | null
@@ -8041,6 +8097,7 @@ export namespace Prisma {
8041
8097
 
8042
8098
  export type DocumentUncheckedUpdateInput = {
8043
8099
  id?: StringFieldUpdateOperationsInput | string
8100
+ ordinal?: IntFieldUpdateOperationsInput | number
8044
8101
  created?: DateTimeFieldUpdateOperationsInput | Date | string
8045
8102
  lastModified?: DateTimeFieldUpdateOperationsInput | Date | string
8046
8103
  slug?: NullableStringFieldUpdateOperationsInput | string | null
@@ -8056,6 +8113,7 @@ export namespace Prisma {
8056
8113
 
8057
8114
  export type DocumentCreateManyInput = {
8058
8115
  id: string
8116
+ ordinal?: number
8059
8117
  created?: Date | string
8060
8118
  lastModified?: Date | string
8061
8119
  slug?: string | null
@@ -8080,6 +8138,7 @@ export namespace Prisma {
8080
8138
 
8081
8139
  export type DocumentUncheckedUpdateManyInput = {
8082
8140
  id?: StringFieldUpdateOperationsInput | string
8141
+ ordinal?: IntFieldUpdateOperationsInput | number
8083
8142
  created?: DateTimeFieldUpdateOperationsInput | Date | string
8084
8143
  lastModified?: DateTimeFieldUpdateOperationsInput | Date | string
8085
8144
  slug?: NullableStringFieldUpdateOperationsInput | string | null
@@ -8428,6 +8487,17 @@ export namespace Prisma {
8428
8487
  _max?: NestedStringFilter<$PrismaModel>
8429
8488
  }
8430
8489
 
8490
+ export type IntFilter<$PrismaModel = never> = {
8491
+ equals?: number | IntFieldRefInput<$PrismaModel>
8492
+ in?: number[] | ListIntFieldRefInput<$PrismaModel>
8493
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
8494
+ lt?: number | IntFieldRefInput<$PrismaModel>
8495
+ lte?: number | IntFieldRefInput<$PrismaModel>
8496
+ gt?: number | IntFieldRefInput<$PrismaModel>
8497
+ gte?: number | IntFieldRefInput<$PrismaModel>
8498
+ not?: NestedIntFilter<$PrismaModel> | number
8499
+ }
8500
+
8431
8501
  export type DateTimeFilter<$PrismaModel = never> = {
8432
8502
  equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
8433
8503
  in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
@@ -8481,6 +8551,7 @@ export namespace Prisma {
8481
8551
 
8482
8552
  export type DocumentCountOrderByAggregateInput = {
8483
8553
  id?: SortOrder
8554
+ ordinal?: SortOrder
8484
8555
  created?: SortOrder
8485
8556
  lastModified?: SortOrder
8486
8557
  slug?: SortOrder
@@ -8491,8 +8562,13 @@ export namespace Prisma {
8491
8562
  meta?: SortOrder
8492
8563
  }
8493
8564
 
8565
+ export type DocumentAvgOrderByAggregateInput = {
8566
+ ordinal?: SortOrder
8567
+ }
8568
+
8494
8569
  export type DocumentMaxOrderByAggregateInput = {
8495
8570
  id?: SortOrder
8571
+ ordinal?: SortOrder
8496
8572
  created?: SortOrder
8497
8573
  lastModified?: SortOrder
8498
8574
  slug?: SortOrder
@@ -8505,6 +8581,7 @@ export namespace Prisma {
8505
8581
 
8506
8582
  export type DocumentMinOrderByAggregateInput = {
8507
8583
  id?: SortOrder
8584
+ ordinal?: SortOrder
8508
8585
  created?: SortOrder
8509
8586
  lastModified?: SortOrder
8510
8587
  slug?: SortOrder
@@ -8515,6 +8592,26 @@ export namespace Prisma {
8515
8592
  meta?: SortOrder
8516
8593
  }
8517
8594
 
8595
+ export type DocumentSumOrderByAggregateInput = {
8596
+ ordinal?: SortOrder
8597
+ }
8598
+
8599
+ export type IntWithAggregatesFilter<$PrismaModel = never> = {
8600
+ equals?: number | IntFieldRefInput<$PrismaModel>
8601
+ in?: number[] | ListIntFieldRefInput<$PrismaModel>
8602
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
8603
+ lt?: number | IntFieldRefInput<$PrismaModel>
8604
+ lte?: number | IntFieldRefInput<$PrismaModel>
8605
+ gt?: number | IntFieldRefInput<$PrismaModel>
8606
+ gte?: number | IntFieldRefInput<$PrismaModel>
8607
+ not?: NestedIntWithAggregatesFilter<$PrismaModel> | number
8608
+ _count?: NestedIntFilter<$PrismaModel>
8609
+ _avg?: NestedFloatFilter<$PrismaModel>
8610
+ _sum?: NestedIntFilter<$PrismaModel>
8611
+ _min?: NestedIntFilter<$PrismaModel>
8612
+ _max?: NestedIntFilter<$PrismaModel>
8613
+ }
8614
+
8518
8615
  export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
8519
8616
  equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
8520
8617
  in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
@@ -8577,17 +8674,6 @@ export namespace Prisma {
8577
8674
  documentId?: SortOrder
8578
8675
  }
8579
8676
 
8580
- export type IntFilter<$PrismaModel = never> = {
8581
- equals?: number | IntFieldRefInput<$PrismaModel>
8582
- in?: number[] | ListIntFieldRefInput<$PrismaModel>
8583
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
8584
- lt?: number | IntFieldRefInput<$PrismaModel>
8585
- lte?: number | IntFieldRefInput<$PrismaModel>
8586
- gt?: number | IntFieldRefInput<$PrismaModel>
8587
- gte?: number | IntFieldRefInput<$PrismaModel>
8588
- not?: NestedIntFilter<$PrismaModel> | number
8589
- }
8590
-
8591
8677
  export type BoolNullableFilter<$PrismaModel = never> = {
8592
8678
  equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null
8593
8679
  not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null
@@ -8711,22 +8797,6 @@ export namespace Prisma {
8711
8797
  skip?: SortOrder
8712
8798
  }
8713
8799
 
8714
- export type IntWithAggregatesFilter<$PrismaModel = never> = {
8715
- equals?: number | IntFieldRefInput<$PrismaModel>
8716
- in?: number[] | ListIntFieldRefInput<$PrismaModel>
8717
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
8718
- lt?: number | IntFieldRefInput<$PrismaModel>
8719
- lte?: number | IntFieldRefInput<$PrismaModel>
8720
- gt?: number | IntFieldRefInput<$PrismaModel>
8721
- gte?: number | IntFieldRefInput<$PrismaModel>
8722
- not?: NestedIntWithAggregatesFilter<$PrismaModel> | number
8723
- _count?: NestedIntFilter<$PrismaModel>
8724
- _avg?: NestedFloatFilter<$PrismaModel>
8725
- _sum?: NestedIntFilter<$PrismaModel>
8726
- _min?: NestedIntFilter<$PrismaModel>
8727
- _max?: NestedIntFilter<$PrismaModel>
8728
- }
8729
-
8730
8800
  export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = {
8731
8801
  equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null
8732
8802
  not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
@@ -8964,6 +9034,14 @@ export namespace Prisma {
8964
9034
  deleteMany?: DriveDocumentScalarWhereInput | DriveDocumentScalarWhereInput[]
8965
9035
  }
8966
9036
 
9037
+ export type IntFieldUpdateOperationsInput = {
9038
+ set?: number
9039
+ increment?: number
9040
+ decrement?: number
9041
+ multiply?: number
9042
+ divide?: number
9043
+ }
9044
+
8967
9045
  export type OperationUncheckedUpdateManyWithoutDocumentNestedInput = {
8968
9046
  create?: XOR<OperationCreateWithoutDocumentInput, OperationUncheckedCreateWithoutDocumentInput> | OperationCreateWithoutDocumentInput[] | OperationUncheckedCreateWithoutDocumentInput[]
8969
9047
  connectOrCreate?: OperationCreateOrConnectWithoutDocumentInput | OperationCreateOrConnectWithoutDocumentInput[]
@@ -9060,14 +9138,6 @@ export namespace Prisma {
9060
9138
  connect?: AttachmentWhereUniqueInput | AttachmentWhereUniqueInput[]
9061
9139
  }
9062
9140
 
9063
- export type IntFieldUpdateOperationsInput = {
9064
- set?: number
9065
- increment?: number
9066
- decrement?: number
9067
- multiply?: number
9068
- divide?: number
9069
- }
9070
-
9071
9141
  export type NullableBoolFieldUpdateOperationsInput = {
9072
9142
  set?: boolean | null
9073
9143
  }
@@ -9261,6 +9331,33 @@ export namespace Prisma {
9261
9331
  not?: NestedStringNullableFilter<$PrismaModel> | string | null
9262
9332
  }
9263
9333
 
9334
+ export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
9335
+ equals?: number | IntFieldRefInput<$PrismaModel>
9336
+ in?: number[] | ListIntFieldRefInput<$PrismaModel>
9337
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
9338
+ lt?: number | IntFieldRefInput<$PrismaModel>
9339
+ lte?: number | IntFieldRefInput<$PrismaModel>
9340
+ gt?: number | IntFieldRefInput<$PrismaModel>
9341
+ gte?: number | IntFieldRefInput<$PrismaModel>
9342
+ not?: NestedIntWithAggregatesFilter<$PrismaModel> | number
9343
+ _count?: NestedIntFilter<$PrismaModel>
9344
+ _avg?: NestedFloatFilter<$PrismaModel>
9345
+ _sum?: NestedIntFilter<$PrismaModel>
9346
+ _min?: NestedIntFilter<$PrismaModel>
9347
+ _max?: NestedIntFilter<$PrismaModel>
9348
+ }
9349
+
9350
+ export type NestedFloatFilter<$PrismaModel = never> = {
9351
+ equals?: number | FloatFieldRefInput<$PrismaModel>
9352
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel>
9353
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel>
9354
+ lt?: number | FloatFieldRefInput<$PrismaModel>
9355
+ lte?: number | FloatFieldRefInput<$PrismaModel>
9356
+ gt?: number | FloatFieldRefInput<$PrismaModel>
9357
+ gte?: number | FloatFieldRefInput<$PrismaModel>
9358
+ not?: NestedFloatFilter<$PrismaModel> | number
9359
+ }
9360
+
9264
9361
  export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
9265
9362
  equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
9266
9363
  in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
@@ -9315,33 +9412,6 @@ export namespace Prisma {
9315
9412
  not?: NestedBytesNullableFilter<$PrismaModel> | Buffer | null
9316
9413
  }
9317
9414
 
9318
- export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
9319
- equals?: number | IntFieldRefInput<$PrismaModel>
9320
- in?: number[] | ListIntFieldRefInput<$PrismaModel>
9321
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
9322
- lt?: number | IntFieldRefInput<$PrismaModel>
9323
- lte?: number | IntFieldRefInput<$PrismaModel>
9324
- gt?: number | IntFieldRefInput<$PrismaModel>
9325
- gte?: number | IntFieldRefInput<$PrismaModel>
9326
- not?: NestedIntWithAggregatesFilter<$PrismaModel> | number
9327
- _count?: NestedIntFilter<$PrismaModel>
9328
- _avg?: NestedFloatFilter<$PrismaModel>
9329
- _sum?: NestedIntFilter<$PrismaModel>
9330
- _min?: NestedIntFilter<$PrismaModel>
9331
- _max?: NestedIntFilter<$PrismaModel>
9332
- }
9333
-
9334
- export type NestedFloatFilter<$PrismaModel = never> = {
9335
- equals?: number | FloatFieldRefInput<$PrismaModel>
9336
- in?: number[] | ListFloatFieldRefInput<$PrismaModel>
9337
- notIn?: number[] | ListFloatFieldRefInput<$PrismaModel>
9338
- lt?: number | FloatFieldRefInput<$PrismaModel>
9339
- lte?: number | FloatFieldRefInput<$PrismaModel>
9340
- gt?: number | FloatFieldRefInput<$PrismaModel>
9341
- gte?: number | FloatFieldRefInput<$PrismaModel>
9342
- not?: NestedFloatFilter<$PrismaModel> | number
9343
- }
9344
-
9345
9415
  export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = {
9346
9416
  equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null
9347
9417
  not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
@@ -9606,6 +9676,7 @@ export namespace Prisma {
9606
9676
 
9607
9677
  export type DocumentCreateWithoutDriveDocumentsInput = {
9608
9678
  id: string
9679
+ ordinal?: number
9609
9680
  created?: Date | string
9610
9681
  lastModified?: Date | string
9611
9682
  slug?: string | null
@@ -9620,6 +9691,7 @@ export namespace Prisma {
9620
9691
 
9621
9692
  export type DocumentUncheckedCreateWithoutDriveDocumentsInput = {
9622
9693
  id: string
9694
+ ordinal?: number
9623
9695
  created?: Date | string
9624
9696
  lastModified?: Date | string
9625
9697
  slug?: string | null
@@ -9683,6 +9755,7 @@ export namespace Prisma {
9683
9755
 
9684
9756
  export type DocumentUncheckedUpdateWithoutDriveDocumentsInput = {
9685
9757
  id?: StringFieldUpdateOperationsInput | string
9758
+ ordinal?: IntFieldUpdateOperationsInput | number
9686
9759
  created?: DateTimeFieldUpdateOperationsInput | Date | string
9687
9760
  lastModified?: DateTimeFieldUpdateOperationsInput | Date | string
9688
9761
  slug?: NullableStringFieldUpdateOperationsInput | string | null
@@ -9697,6 +9770,7 @@ export namespace Prisma {
9697
9770
 
9698
9771
  export type DocumentCreateWithoutOperationsInput = {
9699
9772
  id: string
9773
+ ordinal?: number
9700
9774
  created?: Date | string
9701
9775
  lastModified?: Date | string
9702
9776
  slug?: string | null
@@ -9711,6 +9785,7 @@ export namespace Prisma {
9711
9785
 
9712
9786
  export type DocumentUncheckedCreateWithoutOperationsInput = {
9713
9787
  id: string
9788
+ ordinal?: number
9714
9789
  created?: Date | string
9715
9790
  lastModified?: Date | string
9716
9791
  slug?: string | null
@@ -9802,6 +9877,7 @@ export namespace Prisma {
9802
9877
 
9803
9878
  export type DocumentUncheckedUpdateWithoutOperationsInput = {
9804
9879
  id?: StringFieldUpdateOperationsInput | string
9880
+ ordinal?: IntFieldUpdateOperationsInput | number
9805
9881
  created?: DateTimeFieldUpdateOperationsInput | Date | string
9806
9882
  lastModified?: DateTimeFieldUpdateOperationsInput | Date | string
9807
9883
  slug?: NullableStringFieldUpdateOperationsInput | string | null
@@ -9870,6 +9946,7 @@ export namespace Prisma {
9870
9946
 
9871
9947
  export type DocumentCreateWithoutSynchronizationUnitsInput = {
9872
9948
  id: string
9949
+ ordinal?: number
9873
9950
  created?: Date | string
9874
9951
  lastModified?: Date | string
9875
9952
  slug?: string | null
@@ -9884,6 +9961,7 @@ export namespace Prisma {
9884
9961
 
9885
9962
  export type DocumentUncheckedCreateWithoutSynchronizationUnitsInput = {
9886
9963
  id: string
9964
+ ordinal?: number
9887
9965
  created?: Date | string
9888
9966
  lastModified?: Date | string
9889
9967
  slug?: string | null
@@ -9974,6 +10052,7 @@ export namespace Prisma {
9974
10052
 
9975
10053
  export type DocumentUncheckedUpdateWithoutSynchronizationUnitsInput = {
9976
10054
  id?: StringFieldUpdateOperationsInput | string
10055
+ ordinal?: IntFieldUpdateOperationsInput | number
9977
10056
  created?: DateTimeFieldUpdateOperationsInput | Date | string
9978
10057
  lastModified?: DateTimeFieldUpdateOperationsInput | Date | string
9979
10058
  slug?: NullableStringFieldUpdateOperationsInput | string | null