@aeolus-fleet/trierarch-plugin 0.33.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/prisma/fleet-forgetter.d.ts +1 -1
- package/dist/adapters/prisma/fleet-forgetter.js +2 -2
- package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
- package/dist/adapters/prisma/generated/browser.d.ts +23 -0
- package/dist/adapters/prisma/generated/client.d.ts +23 -0
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +201 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +33 -0
- package/dist/adapters/prisma/generated/internal/class.js +4 -4
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +306 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +54 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +56 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +54 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/SubscriptionReading.d.ts +1113 -0
- package/dist/adapters/prisma/generated/models/SubscriptionReading.js +2 -0
- package/dist/adapters/prisma/generated/models/SubscriptionReading.js.map +1 -0
- package/dist/adapters/prisma/generated/models/UsageDay.d.ts +1554 -0
- package/dist/adapters/prisma/generated/models/UsageDay.js +2 -0
- package/dist/adapters/prisma/generated/models/UsageDay.js.map +1 -0
- package/dist/adapters/prisma/generated/models/UsageHour.d.ts +1445 -0
- package/dist/adapters/prisma/generated/models/UsageHour.js +2 -0
- package/dist/adapters/prisma/generated/models/UsageHour.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +3 -0
- package/dist/adapters/prisma/usage-history.d.ts +3 -0
- package/dist/adapters/prisma/usage-history.js +316 -0
- package/dist/adapters/prisma/usage-history.js.map +1 -0
- package/dist/adapters/trpc/router.d.ts +205 -1
- package/dist/adapters/trpc/router.js +159 -1
- package/dist/adapters/trpc/router.js.map +1 -1
- package/dist/app.js +11 -0
- package/dist/app.js.map +1 -1
- package/dist/core/shared/errors.d.ts +1 -1
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/core/usage/ports.d.ts +19 -0
- package/dist/core/usage/ports.js +2 -0
- package/dist/core/usage/ports.js.map +1 -0
- package/dist/core/usage/read-subscription-windows.d.ts +35 -0
- package/dist/core/usage/read-subscription-windows.js +32 -0
- package/dist/core/usage/read-subscription-windows.js.map +1 -0
- package/dist/core/usage/read-token-usage.d.ts +61 -0
- package/dist/core/usage/read-token-usage.js +79 -0
- package/dist/core/usage/read-token-usage.js.map +1 -0
- package/dist/core/usage/read-usage-values.d.ts +36 -0
- package/dist/core/usage/read-usage-values.js +31 -0
- package/dist/core/usage/read-usage-values.js.map +1 -0
- package/dist/core/usage/ship-names.d.ts +19 -0
- package/dist/core/usage/ship-names.js +29 -0
- package/dist/core/usage/ship-names.js.map +1 -0
- package/dist/core/usage/subscription-windows.d.ts +28 -0
- package/dist/core/usage/subscription-windows.js +2 -0
- package/dist/core/usage/subscription-windows.js.map +1 -0
- package/dist/core/usage/token-usage.d.ts +61 -0
- package/dist/core/usage/token-usage.js +5 -0
- package/dist/core/usage/token-usage.js.map +1 -0
- package/dist/core/usage/usage-range.d.ts +12 -0
- package/dist/core/usage/usage-range.js +24 -0
- package/dist/core/usage/usage-range.js.map +1 -0
- package/dist/core/usage/usage-reading.d.ts +53 -0
- package/dist/core/usage/usage-reading.js +2 -0
- package/dist/core/usage/usage-reading.js.map +1 -0
- package/dist/core/usage/usage-values.d.ts +15 -0
- package/dist/core/usage/usage-values.js +2 -0
- package/dist/core/usage/usage-values.js.map +1 -0
- package/package.json +1 -1
- package/src/adapters/prisma/migrations/20261028120000_usage_history/migration.sql +57 -0
- package/src/adapters/prisma/migrations/20261028150000_usage_cost_per_kind/migration.sql +21 -0
- package/src/adapters/prisma/schema.prisma +79 -2
|
@@ -248,6 +248,9 @@ export declare const ModelName: {
|
|
|
248
248
|
readonly FleetSwitch: "FleetSwitch";
|
|
249
249
|
readonly InstallationRequest: "InstallationRequest";
|
|
250
250
|
readonly EnabledModel: "EnabledModel";
|
|
251
|
+
readonly UsageHour: "UsageHour";
|
|
252
|
+
readonly UsageDay: "UsageDay";
|
|
253
|
+
readonly SubscriptionReading: "SubscriptionReading";
|
|
251
254
|
};
|
|
252
255
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
253
256
|
export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{
|
|
@@ -260,7 +263,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
260
263
|
omit: GlobalOmitOptions;
|
|
261
264
|
};
|
|
262
265
|
meta: {
|
|
263
|
-
modelProps: "connection" | "fleetSwitch" | "installationRequest" | "enabledModel";
|
|
266
|
+
modelProps: "connection" | "fleetSwitch" | "installationRequest" | "enabledModel" | "usageHour" | "usageDay" | "subscriptionReading";
|
|
264
267
|
txIsolationLevel: TransactionIsolationLevel;
|
|
265
268
|
};
|
|
266
269
|
model: {
|
|
@@ -560,6 +563,228 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
560
563
|
};
|
|
561
564
|
};
|
|
562
565
|
};
|
|
566
|
+
UsageHour: {
|
|
567
|
+
payload: Prisma.$UsageHourPayload<ExtArgs>;
|
|
568
|
+
fields: Prisma.UsageHourFieldRefs;
|
|
569
|
+
operations: {
|
|
570
|
+
findUnique: {
|
|
571
|
+
args: Prisma.UsageHourFindUniqueArgs<ExtArgs>;
|
|
572
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload> | null;
|
|
573
|
+
};
|
|
574
|
+
findUniqueOrThrow: {
|
|
575
|
+
args: Prisma.UsageHourFindUniqueOrThrowArgs<ExtArgs>;
|
|
576
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>;
|
|
577
|
+
};
|
|
578
|
+
findFirst: {
|
|
579
|
+
args: Prisma.UsageHourFindFirstArgs<ExtArgs>;
|
|
580
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload> | null;
|
|
581
|
+
};
|
|
582
|
+
findFirstOrThrow: {
|
|
583
|
+
args: Prisma.UsageHourFindFirstOrThrowArgs<ExtArgs>;
|
|
584
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>;
|
|
585
|
+
};
|
|
586
|
+
findMany: {
|
|
587
|
+
args: Prisma.UsageHourFindManyArgs<ExtArgs>;
|
|
588
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>[];
|
|
589
|
+
};
|
|
590
|
+
create: {
|
|
591
|
+
args: Prisma.UsageHourCreateArgs<ExtArgs>;
|
|
592
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>;
|
|
593
|
+
};
|
|
594
|
+
createMany: {
|
|
595
|
+
args: Prisma.UsageHourCreateManyArgs<ExtArgs>;
|
|
596
|
+
result: BatchPayload;
|
|
597
|
+
};
|
|
598
|
+
createManyAndReturn: {
|
|
599
|
+
args: Prisma.UsageHourCreateManyAndReturnArgs<ExtArgs>;
|
|
600
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>[];
|
|
601
|
+
};
|
|
602
|
+
delete: {
|
|
603
|
+
args: Prisma.UsageHourDeleteArgs<ExtArgs>;
|
|
604
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>;
|
|
605
|
+
};
|
|
606
|
+
update: {
|
|
607
|
+
args: Prisma.UsageHourUpdateArgs<ExtArgs>;
|
|
608
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>;
|
|
609
|
+
};
|
|
610
|
+
deleteMany: {
|
|
611
|
+
args: Prisma.UsageHourDeleteManyArgs<ExtArgs>;
|
|
612
|
+
result: BatchPayload;
|
|
613
|
+
};
|
|
614
|
+
updateMany: {
|
|
615
|
+
args: Prisma.UsageHourUpdateManyArgs<ExtArgs>;
|
|
616
|
+
result: BatchPayload;
|
|
617
|
+
};
|
|
618
|
+
updateManyAndReturn: {
|
|
619
|
+
args: Prisma.UsageHourUpdateManyAndReturnArgs<ExtArgs>;
|
|
620
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>[];
|
|
621
|
+
};
|
|
622
|
+
upsert: {
|
|
623
|
+
args: Prisma.UsageHourUpsertArgs<ExtArgs>;
|
|
624
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageHourPayload>;
|
|
625
|
+
};
|
|
626
|
+
aggregate: {
|
|
627
|
+
args: Prisma.UsageHourAggregateArgs<ExtArgs>;
|
|
628
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateUsageHour>;
|
|
629
|
+
};
|
|
630
|
+
groupBy: {
|
|
631
|
+
args: Prisma.UsageHourGroupByArgs<ExtArgs>;
|
|
632
|
+
result: runtime.Types.Utils.Optional<Prisma.UsageHourGroupByOutputType>[];
|
|
633
|
+
};
|
|
634
|
+
count: {
|
|
635
|
+
args: Prisma.UsageHourCountArgs<ExtArgs>;
|
|
636
|
+
result: runtime.Types.Utils.Optional<Prisma.UsageHourCountAggregateOutputType> | number;
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
UsageDay: {
|
|
641
|
+
payload: Prisma.$UsageDayPayload<ExtArgs>;
|
|
642
|
+
fields: Prisma.UsageDayFieldRefs;
|
|
643
|
+
operations: {
|
|
644
|
+
findUnique: {
|
|
645
|
+
args: Prisma.UsageDayFindUniqueArgs<ExtArgs>;
|
|
646
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload> | null;
|
|
647
|
+
};
|
|
648
|
+
findUniqueOrThrow: {
|
|
649
|
+
args: Prisma.UsageDayFindUniqueOrThrowArgs<ExtArgs>;
|
|
650
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>;
|
|
651
|
+
};
|
|
652
|
+
findFirst: {
|
|
653
|
+
args: Prisma.UsageDayFindFirstArgs<ExtArgs>;
|
|
654
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload> | null;
|
|
655
|
+
};
|
|
656
|
+
findFirstOrThrow: {
|
|
657
|
+
args: Prisma.UsageDayFindFirstOrThrowArgs<ExtArgs>;
|
|
658
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>;
|
|
659
|
+
};
|
|
660
|
+
findMany: {
|
|
661
|
+
args: Prisma.UsageDayFindManyArgs<ExtArgs>;
|
|
662
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>[];
|
|
663
|
+
};
|
|
664
|
+
create: {
|
|
665
|
+
args: Prisma.UsageDayCreateArgs<ExtArgs>;
|
|
666
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>;
|
|
667
|
+
};
|
|
668
|
+
createMany: {
|
|
669
|
+
args: Prisma.UsageDayCreateManyArgs<ExtArgs>;
|
|
670
|
+
result: BatchPayload;
|
|
671
|
+
};
|
|
672
|
+
createManyAndReturn: {
|
|
673
|
+
args: Prisma.UsageDayCreateManyAndReturnArgs<ExtArgs>;
|
|
674
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>[];
|
|
675
|
+
};
|
|
676
|
+
delete: {
|
|
677
|
+
args: Prisma.UsageDayDeleteArgs<ExtArgs>;
|
|
678
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>;
|
|
679
|
+
};
|
|
680
|
+
update: {
|
|
681
|
+
args: Prisma.UsageDayUpdateArgs<ExtArgs>;
|
|
682
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>;
|
|
683
|
+
};
|
|
684
|
+
deleteMany: {
|
|
685
|
+
args: Prisma.UsageDayDeleteManyArgs<ExtArgs>;
|
|
686
|
+
result: BatchPayload;
|
|
687
|
+
};
|
|
688
|
+
updateMany: {
|
|
689
|
+
args: Prisma.UsageDayUpdateManyArgs<ExtArgs>;
|
|
690
|
+
result: BatchPayload;
|
|
691
|
+
};
|
|
692
|
+
updateManyAndReturn: {
|
|
693
|
+
args: Prisma.UsageDayUpdateManyAndReturnArgs<ExtArgs>;
|
|
694
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>[];
|
|
695
|
+
};
|
|
696
|
+
upsert: {
|
|
697
|
+
args: Prisma.UsageDayUpsertArgs<ExtArgs>;
|
|
698
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$UsageDayPayload>;
|
|
699
|
+
};
|
|
700
|
+
aggregate: {
|
|
701
|
+
args: Prisma.UsageDayAggregateArgs<ExtArgs>;
|
|
702
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateUsageDay>;
|
|
703
|
+
};
|
|
704
|
+
groupBy: {
|
|
705
|
+
args: Prisma.UsageDayGroupByArgs<ExtArgs>;
|
|
706
|
+
result: runtime.Types.Utils.Optional<Prisma.UsageDayGroupByOutputType>[];
|
|
707
|
+
};
|
|
708
|
+
count: {
|
|
709
|
+
args: Prisma.UsageDayCountArgs<ExtArgs>;
|
|
710
|
+
result: runtime.Types.Utils.Optional<Prisma.UsageDayCountAggregateOutputType> | number;
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
SubscriptionReading: {
|
|
715
|
+
payload: Prisma.$SubscriptionReadingPayload<ExtArgs>;
|
|
716
|
+
fields: Prisma.SubscriptionReadingFieldRefs;
|
|
717
|
+
operations: {
|
|
718
|
+
findUnique: {
|
|
719
|
+
args: Prisma.SubscriptionReadingFindUniqueArgs<ExtArgs>;
|
|
720
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload> | null;
|
|
721
|
+
};
|
|
722
|
+
findUniqueOrThrow: {
|
|
723
|
+
args: Prisma.SubscriptionReadingFindUniqueOrThrowArgs<ExtArgs>;
|
|
724
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>;
|
|
725
|
+
};
|
|
726
|
+
findFirst: {
|
|
727
|
+
args: Prisma.SubscriptionReadingFindFirstArgs<ExtArgs>;
|
|
728
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload> | null;
|
|
729
|
+
};
|
|
730
|
+
findFirstOrThrow: {
|
|
731
|
+
args: Prisma.SubscriptionReadingFindFirstOrThrowArgs<ExtArgs>;
|
|
732
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>;
|
|
733
|
+
};
|
|
734
|
+
findMany: {
|
|
735
|
+
args: Prisma.SubscriptionReadingFindManyArgs<ExtArgs>;
|
|
736
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>[];
|
|
737
|
+
};
|
|
738
|
+
create: {
|
|
739
|
+
args: Prisma.SubscriptionReadingCreateArgs<ExtArgs>;
|
|
740
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>;
|
|
741
|
+
};
|
|
742
|
+
createMany: {
|
|
743
|
+
args: Prisma.SubscriptionReadingCreateManyArgs<ExtArgs>;
|
|
744
|
+
result: BatchPayload;
|
|
745
|
+
};
|
|
746
|
+
createManyAndReturn: {
|
|
747
|
+
args: Prisma.SubscriptionReadingCreateManyAndReturnArgs<ExtArgs>;
|
|
748
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>[];
|
|
749
|
+
};
|
|
750
|
+
delete: {
|
|
751
|
+
args: Prisma.SubscriptionReadingDeleteArgs<ExtArgs>;
|
|
752
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>;
|
|
753
|
+
};
|
|
754
|
+
update: {
|
|
755
|
+
args: Prisma.SubscriptionReadingUpdateArgs<ExtArgs>;
|
|
756
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>;
|
|
757
|
+
};
|
|
758
|
+
deleteMany: {
|
|
759
|
+
args: Prisma.SubscriptionReadingDeleteManyArgs<ExtArgs>;
|
|
760
|
+
result: BatchPayload;
|
|
761
|
+
};
|
|
762
|
+
updateMany: {
|
|
763
|
+
args: Prisma.SubscriptionReadingUpdateManyArgs<ExtArgs>;
|
|
764
|
+
result: BatchPayload;
|
|
765
|
+
};
|
|
766
|
+
updateManyAndReturn: {
|
|
767
|
+
args: Prisma.SubscriptionReadingUpdateManyAndReturnArgs<ExtArgs>;
|
|
768
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>[];
|
|
769
|
+
};
|
|
770
|
+
upsert: {
|
|
771
|
+
args: Prisma.SubscriptionReadingUpsertArgs<ExtArgs>;
|
|
772
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$SubscriptionReadingPayload>;
|
|
773
|
+
};
|
|
774
|
+
aggregate: {
|
|
775
|
+
args: Prisma.SubscriptionReadingAggregateArgs<ExtArgs>;
|
|
776
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateSubscriptionReading>;
|
|
777
|
+
};
|
|
778
|
+
groupBy: {
|
|
779
|
+
args: Prisma.SubscriptionReadingGroupByArgs<ExtArgs>;
|
|
780
|
+
result: runtime.Types.Utils.Optional<Prisma.SubscriptionReadingGroupByOutputType>[];
|
|
781
|
+
};
|
|
782
|
+
count: {
|
|
783
|
+
args: Prisma.SubscriptionReadingCountArgs<ExtArgs>;
|
|
784
|
+
result: runtime.Types.Utils.Optional<Prisma.SubscriptionReadingCountAggregateOutputType> | number;
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
};
|
|
563
788
|
};
|
|
564
789
|
} & {
|
|
565
790
|
other: {
|
|
@@ -622,6 +847,59 @@ export declare const EnabledModelScalarFieldEnum: {
|
|
|
622
847
|
readonly model: "model";
|
|
623
848
|
};
|
|
624
849
|
export type EnabledModelScalarFieldEnum = (typeof EnabledModelScalarFieldEnum)[keyof typeof EnabledModelScalarFieldEnum];
|
|
850
|
+
export declare const UsageHourScalarFieldEnum: {
|
|
851
|
+
readonly fleetId: "fleetId";
|
|
852
|
+
readonly hour: "hour";
|
|
853
|
+
readonly machineShipId: "machineShipId";
|
|
854
|
+
readonly shipId: "shipId";
|
|
855
|
+
readonly folderMadeAt: "folderMadeAt";
|
|
856
|
+
readonly model: "model";
|
|
857
|
+
readonly harness: "harness";
|
|
858
|
+
readonly login: "login";
|
|
859
|
+
readonly input: "input";
|
|
860
|
+
readonly output: "output";
|
|
861
|
+
readonly cacheRead: "cacheRead";
|
|
862
|
+
readonly cacheWrite: "cacheWrite";
|
|
863
|
+
readonly estimatedCostInputUsd: "estimatedCostInputUsd";
|
|
864
|
+
readonly estimatedCostOutputUsd: "estimatedCostOutputUsd";
|
|
865
|
+
readonly estimatedCostCacheReadUsd: "estimatedCostCacheReadUsd";
|
|
866
|
+
readonly estimatedCostCacheWriteUsd: "estimatedCostCacheWriteUsd";
|
|
867
|
+
readonly readAt: "readAt";
|
|
868
|
+
};
|
|
869
|
+
export type UsageHourScalarFieldEnum = (typeof UsageHourScalarFieldEnum)[keyof typeof UsageHourScalarFieldEnum];
|
|
870
|
+
export declare const UsageDayScalarFieldEnum: {
|
|
871
|
+
readonly id: "id";
|
|
872
|
+
readonly fleetId: "fleetId";
|
|
873
|
+
readonly day: "day";
|
|
874
|
+
readonly machineShipId: "machineShipId";
|
|
875
|
+
readonly shipId: "shipId";
|
|
876
|
+
readonly model: "model";
|
|
877
|
+
readonly harness: "harness";
|
|
878
|
+
readonly login: "login";
|
|
879
|
+
readonly input: "input";
|
|
880
|
+
readonly output: "output";
|
|
881
|
+
readonly cacheRead: "cacheRead";
|
|
882
|
+
readonly cacheWrite: "cacheWrite";
|
|
883
|
+
readonly estimatedCostInputUsd: "estimatedCostInputUsd";
|
|
884
|
+
readonly estimatedCostOutputUsd: "estimatedCostOutputUsd";
|
|
885
|
+
readonly estimatedCostCacheReadUsd: "estimatedCostCacheReadUsd";
|
|
886
|
+
readonly estimatedCostCacheWriteUsd: "estimatedCostCacheWriteUsd";
|
|
887
|
+
readonly unpricedInput: "unpricedInput";
|
|
888
|
+
readonly unpricedOutput: "unpricedOutput";
|
|
889
|
+
readonly unpricedCacheRead: "unpricedCacheRead";
|
|
890
|
+
readonly unpricedCacheWrite: "unpricedCacheWrite";
|
|
891
|
+
};
|
|
892
|
+
export type UsageDayScalarFieldEnum = (typeof UsageDayScalarFieldEnum)[keyof typeof UsageDayScalarFieldEnum];
|
|
893
|
+
export declare const SubscriptionReadingScalarFieldEnum: {
|
|
894
|
+
readonly fleetId: "fleetId";
|
|
895
|
+
readonly machineShipId: "machineShipId";
|
|
896
|
+
readonly harness: "harness";
|
|
897
|
+
readonly windowMinutes: "windowMinutes";
|
|
898
|
+
readonly readAt: "readAt";
|
|
899
|
+
readonly usedPercent: "usedPercent";
|
|
900
|
+
readonly resetsAt: "resetsAt";
|
|
901
|
+
};
|
|
902
|
+
export type SubscriptionReadingScalarFieldEnum = (typeof SubscriptionReadingScalarFieldEnum)[keyof typeof SubscriptionReadingScalarFieldEnum];
|
|
625
903
|
export declare const SortOrder: {
|
|
626
904
|
readonly asc: "asc";
|
|
627
905
|
readonly desc: "desc";
|
|
@@ -660,6 +938,22 @@ export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaM
|
|
|
660
938
|
* Reference to a field of type 'Boolean'
|
|
661
939
|
*/
|
|
662
940
|
export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'>;
|
|
941
|
+
/**
|
|
942
|
+
* Reference to a field of type 'BigInt'
|
|
943
|
+
*/
|
|
944
|
+
export type BigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt'>;
|
|
945
|
+
/**
|
|
946
|
+
* Reference to a field of type 'BigInt[]'
|
|
947
|
+
*/
|
|
948
|
+
export type ListBigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt[]'>;
|
|
949
|
+
/**
|
|
950
|
+
* Reference to a field of type 'Decimal'
|
|
951
|
+
*/
|
|
952
|
+
export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'>;
|
|
953
|
+
/**
|
|
954
|
+
* Reference to a field of type 'Decimal[]'
|
|
955
|
+
*/
|
|
956
|
+
export type ListDecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal[]'>;
|
|
663
957
|
/**
|
|
664
958
|
* Reference to a field of type 'Int'
|
|
665
959
|
*/
|
|
@@ -668,6 +962,14 @@ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'In
|
|
|
668
962
|
* Reference to a field of type 'Int[]'
|
|
669
963
|
*/
|
|
670
964
|
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>;
|
|
965
|
+
/**
|
|
966
|
+
* Reference to a field of type 'Float'
|
|
967
|
+
*/
|
|
968
|
+
export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>;
|
|
969
|
+
/**
|
|
970
|
+
* Reference to a field of type 'Float[]'
|
|
971
|
+
*/
|
|
972
|
+
export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>;
|
|
671
973
|
/**
|
|
672
974
|
* Batch Payload for updateMany & deleteMany & createMany
|
|
673
975
|
*/
|
|
@@ -819,6 +1121,9 @@ export type GlobalOmitConfig = {
|
|
|
819
1121
|
fleetSwitch?: Prisma.FleetSwitchOmit;
|
|
820
1122
|
installationRequest?: Prisma.InstallationRequestOmit;
|
|
821
1123
|
enabledModel?: Prisma.EnabledModelOmit;
|
|
1124
|
+
usageHour?: Prisma.UsageHourOmit;
|
|
1125
|
+
usageDay?: Prisma.UsageDayOmit;
|
|
1126
|
+
subscriptionReading?: Prisma.SubscriptionReadingOmit;
|
|
822
1127
|
};
|
|
823
1128
|
export type LogLevel = 'info' | 'query' | 'warn' | 'error';
|
|
824
1129
|
export type LogDefinition = {
|
|
@@ -71,7 +71,10 @@ export const ModelName = {
|
|
|
71
71
|
Connection: 'Connection',
|
|
72
72
|
FleetSwitch: 'FleetSwitch',
|
|
73
73
|
InstallationRequest: 'InstallationRequest',
|
|
74
|
-
EnabledModel: 'EnabledModel'
|
|
74
|
+
EnabledModel: 'EnabledModel',
|
|
75
|
+
UsageHour: 'UsageHour',
|
|
76
|
+
UsageDay: 'UsageDay',
|
|
77
|
+
SubscriptionReading: 'SubscriptionReading'
|
|
75
78
|
};
|
|
76
79
|
/**
|
|
77
80
|
* Enums
|
|
@@ -106,6 +109,56 @@ export const EnabledModelScalarFieldEnum = {
|
|
|
106
109
|
fleetId: 'fleetId',
|
|
107
110
|
model: 'model'
|
|
108
111
|
};
|
|
112
|
+
export const UsageHourScalarFieldEnum = {
|
|
113
|
+
fleetId: 'fleetId',
|
|
114
|
+
hour: 'hour',
|
|
115
|
+
machineShipId: 'machineShipId',
|
|
116
|
+
shipId: 'shipId',
|
|
117
|
+
folderMadeAt: 'folderMadeAt',
|
|
118
|
+
model: 'model',
|
|
119
|
+
harness: 'harness',
|
|
120
|
+
login: 'login',
|
|
121
|
+
input: 'input',
|
|
122
|
+
output: 'output',
|
|
123
|
+
cacheRead: 'cacheRead',
|
|
124
|
+
cacheWrite: 'cacheWrite',
|
|
125
|
+
estimatedCostInputUsd: 'estimatedCostInputUsd',
|
|
126
|
+
estimatedCostOutputUsd: 'estimatedCostOutputUsd',
|
|
127
|
+
estimatedCostCacheReadUsd: 'estimatedCostCacheReadUsd',
|
|
128
|
+
estimatedCostCacheWriteUsd: 'estimatedCostCacheWriteUsd',
|
|
129
|
+
readAt: 'readAt'
|
|
130
|
+
};
|
|
131
|
+
export const UsageDayScalarFieldEnum = {
|
|
132
|
+
id: 'id',
|
|
133
|
+
fleetId: 'fleetId',
|
|
134
|
+
day: 'day',
|
|
135
|
+
machineShipId: 'machineShipId',
|
|
136
|
+
shipId: 'shipId',
|
|
137
|
+
model: 'model',
|
|
138
|
+
harness: 'harness',
|
|
139
|
+
login: 'login',
|
|
140
|
+
input: 'input',
|
|
141
|
+
output: 'output',
|
|
142
|
+
cacheRead: 'cacheRead',
|
|
143
|
+
cacheWrite: 'cacheWrite',
|
|
144
|
+
estimatedCostInputUsd: 'estimatedCostInputUsd',
|
|
145
|
+
estimatedCostOutputUsd: 'estimatedCostOutputUsd',
|
|
146
|
+
estimatedCostCacheReadUsd: 'estimatedCostCacheReadUsd',
|
|
147
|
+
estimatedCostCacheWriteUsd: 'estimatedCostCacheWriteUsd',
|
|
148
|
+
unpricedInput: 'unpricedInput',
|
|
149
|
+
unpricedOutput: 'unpricedOutput',
|
|
150
|
+
unpricedCacheRead: 'unpricedCacheRead',
|
|
151
|
+
unpricedCacheWrite: 'unpricedCacheWrite'
|
|
152
|
+
};
|
|
153
|
+
export const SubscriptionReadingScalarFieldEnum = {
|
|
154
|
+
fleetId: 'fleetId',
|
|
155
|
+
machineShipId: 'machineShipId',
|
|
156
|
+
harness: 'harness',
|
|
157
|
+
windowMinutes: 'windowMinutes',
|
|
158
|
+
readAt: 'readAt',
|
|
159
|
+
usedPercent: 'usedPercent',
|
|
160
|
+
resetsAt: 'resetsAt'
|
|
161
|
+
};
|
|
109
162
|
export const SortOrder = {
|
|
110
163
|
asc: 'asc',
|
|
111
164
|
desc: 'desc'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prismaNamespace.js","sourceRoot":"","sources":["../../../../../src/adapters/prisma/generated/internal/prismaNamespace.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AAExD,OAAO,EAAqB,MAAM,YAAY,CAAA;AAQ9C;;GAEG;AAEH,MAAM,CAAC,MAAM,6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AA;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AA+QtC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"prismaNamespace.js","sourceRoot":"","sources":["../../../../../src/adapters/prisma/generated/internal/prismaNamespace.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AAExD,OAAO,EAAqB,MAAM,YAAY,CAAA;AAQ9C;;GAEG;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,OAAO,CAAC,6BAA6B,CAAA;AAGlF,MAAM,CAAC,MAAM,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAA;AAGtF,MAAM,CAAC,MAAM,0BAA0B,GAAG,OAAO,CAAC,0BAA0B,CAAA;AAG5E,MAAM,CAAC,MAAM,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAA;AAGtF,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC,2BAA2B,CAAA;AAG9E;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAA;AACjC,MAAM,CAAC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAA;AAClC,MAAM,CAAC,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;AAChC,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;AAC9B,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;AAK9B;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAStC,MAAM,CA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C,sBAAsB,EAAE,wBAAwB;IAChD,yBAAyB,EAAE,2BAA2B;IACtD,0BAA0B,EAAE,4BAA4B;IACxD,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,iBAAiB,EAAE,mBAAmB;IACtC,kBAAkB,EAAE,oBAAoB;CAChC,CAAA;AAKV,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,eAAe;IAC9B,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE,UAAU;CACZ,CAAA;AAKV,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAA;AAKV,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;CAClB,CAAA;AAKV,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAA;AA4GV,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,eAA6H,CAAA"}
|
|
@@ -30,6 +30,9 @@ export declare const ModelName: {
|
|
|
30
30
|
readonly FleetSwitch: "FleetSwitch";
|
|
31
31
|
readonly InstallationRequest: "InstallationRequest";
|
|
32
32
|
readonly EnabledModel: "EnabledModel";
|
|
33
|
+
readonly UsageHour: "UsageHour";
|
|
34
|
+
readonly UsageDay: "UsageDay";
|
|
35
|
+
readonly SubscriptionReading: "SubscriptionReading";
|
|
33
36
|
};
|
|
34
37
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
35
38
|
export declare const TransactionIsolationLevel: {
|
|
@@ -67,6 +70,59 @@ export declare const EnabledModelScalarFieldEnum: {
|
|
|
67
70
|
readonly model: "model";
|
|
68
71
|
};
|
|
69
72
|
export type EnabledModelScalarFieldEnum = (typeof EnabledModelScalarFieldEnum)[keyof typeof EnabledModelScalarFieldEnum];
|
|
73
|
+
export declare const UsageHourScalarFieldEnum: {
|
|
74
|
+
readonly fleetId: "fleetId";
|
|
75
|
+
readonly hour: "hour";
|
|
76
|
+
readonly machineShipId: "machineShipId";
|
|
77
|
+
readonly shipId: "shipId";
|
|
78
|
+
readonly folderMadeAt: "folderMadeAt";
|
|
79
|
+
readonly model: "model";
|
|
80
|
+
readonly harness: "harness";
|
|
81
|
+
readonly login: "login";
|
|
82
|
+
readonly input: "input";
|
|
83
|
+
readonly output: "output";
|
|
84
|
+
readonly cacheRead: "cacheRead";
|
|
85
|
+
readonly cacheWrite: "cacheWrite";
|
|
86
|
+
readonly estimatedCostInputUsd: "estimatedCostInputUsd";
|
|
87
|
+
readonly estimatedCostOutputUsd: "estimatedCostOutputUsd";
|
|
88
|
+
readonly estimatedCostCacheReadUsd: "estimatedCostCacheReadUsd";
|
|
89
|
+
readonly estimatedCostCacheWriteUsd: "estimatedCostCacheWriteUsd";
|
|
90
|
+
readonly readAt: "readAt";
|
|
91
|
+
};
|
|
92
|
+
export type UsageHourScalarFieldEnum = (typeof UsageHourScalarFieldEnum)[keyof typeof UsageHourScalarFieldEnum];
|
|
93
|
+
export declare const UsageDayScalarFieldEnum: {
|
|
94
|
+
readonly id: "id";
|
|
95
|
+
readonly fleetId: "fleetId";
|
|
96
|
+
readonly day: "day";
|
|
97
|
+
readonly machineShipId: "machineShipId";
|
|
98
|
+
readonly shipId: "shipId";
|
|
99
|
+
readonly model: "model";
|
|
100
|
+
readonly harness: "harness";
|
|
101
|
+
readonly login: "login";
|
|
102
|
+
readonly input: "input";
|
|
103
|
+
readonly output: "output";
|
|
104
|
+
readonly cacheRead: "cacheRead";
|
|
105
|
+
readonly cacheWrite: "cacheWrite";
|
|
106
|
+
readonly estimatedCostInputUsd: "estimatedCostInputUsd";
|
|
107
|
+
readonly estimatedCostOutputUsd: "estimatedCostOutputUsd";
|
|
108
|
+
readonly estimatedCostCacheReadUsd: "estimatedCostCacheReadUsd";
|
|
109
|
+
readonly estimatedCostCacheWriteUsd: "estimatedCostCacheWriteUsd";
|
|
110
|
+
readonly unpricedInput: "unpricedInput";
|
|
111
|
+
readonly unpricedOutput: "unpricedOutput";
|
|
112
|
+
readonly unpricedCacheRead: "unpricedCacheRead";
|
|
113
|
+
readonly unpricedCacheWrite: "unpricedCacheWrite";
|
|
114
|
+
};
|
|
115
|
+
export type UsageDayScalarFieldEnum = (typeof UsageDayScalarFieldEnum)[keyof typeof UsageDayScalarFieldEnum];
|
|
116
|
+
export declare const SubscriptionReadingScalarFieldEnum: {
|
|
117
|
+
readonly fleetId: "fleetId";
|
|
118
|
+
readonly machineShipId: "machineShipId";
|
|
119
|
+
readonly harness: "harness";
|
|
120
|
+
readonly windowMinutes: "windowMinutes";
|
|
121
|
+
readonly readAt: "readAt";
|
|
122
|
+
readonly usedPercent: "usedPercent";
|
|
123
|
+
readonly resetsAt: "resetsAt";
|
|
124
|
+
};
|
|
125
|
+
export type SubscriptionReadingScalarFieldEnum = (typeof SubscriptionReadingScalarFieldEnum)[keyof typeof SubscriptionReadingScalarFieldEnum];
|
|
70
126
|
export declare const SortOrder: {
|
|
71
127
|
readonly asc: "asc";
|
|
72
128
|
readonly desc: "desc";
|
|
@@ -42,7 +42,10 @@ export const ModelName = {
|
|
|
42
42
|
Connection: 'Connection',
|
|
43
43
|
FleetSwitch: 'FleetSwitch',
|
|
44
44
|
InstallationRequest: 'InstallationRequest',
|
|
45
|
-
EnabledModel: 'EnabledModel'
|
|
45
|
+
EnabledModel: 'EnabledModel',
|
|
46
|
+
UsageHour: 'UsageHour',
|
|
47
|
+
UsageDay: 'UsageDay',
|
|
48
|
+
SubscriptionReading: 'SubscriptionReading'
|
|
46
49
|
};
|
|
47
50
|
/*
|
|
48
51
|
* Enums
|
|
@@ -77,6 +80,56 @@ export const EnabledModelScalarFieldEnum = {
|
|
|
77
80
|
fleetId: 'fleetId',
|
|
78
81
|
model: 'model'
|
|
79
82
|
};
|
|
83
|
+
export const UsageHourScalarFieldEnum = {
|
|
84
|
+
fleetId: 'fleetId',
|
|
85
|
+
hour: 'hour',
|
|
86
|
+
machineShipId: 'machineShipId',
|
|
87
|
+
shipId: 'shipId',
|
|
88
|
+
folderMadeAt: 'folderMadeAt',
|
|
89
|
+
model: 'model',
|
|
90
|
+
harness: 'harness',
|
|
91
|
+
login: 'login',
|
|
92
|
+
input: 'input',
|
|
93
|
+
output: 'output',
|
|
94
|
+
cacheRead: 'cacheRead',
|
|
95
|
+
cacheWrite: 'cacheWrite',
|
|
96
|
+
estimatedCostInputUsd: 'estimatedCostInputUsd',
|
|
97
|
+
estimatedCostOutputUsd: 'estimatedCostOutputUsd',
|
|
98
|
+
estimatedCostCacheReadUsd: 'estimatedCostCacheReadUsd',
|
|
99
|
+
estimatedCostCacheWriteUsd: 'estimatedCostCacheWriteUsd',
|
|
100
|
+
readAt: 'readAt'
|
|
101
|
+
};
|
|
102
|
+
export const UsageDayScalarFieldEnum = {
|
|
103
|
+
id: 'id',
|
|
104
|
+
fleetId: 'fleetId',
|
|
105
|
+
day: 'day',
|
|
106
|
+
machineShipId: 'machineShipId',
|
|
107
|
+
shipId: 'shipId',
|
|
108
|
+
model: 'model',
|
|
109
|
+
harness: 'harness',
|
|
110
|
+
login: 'login',
|
|
111
|
+
input: 'input',
|
|
112
|
+
output: 'output',
|
|
113
|
+
cacheRead: 'cacheRead',
|
|
114
|
+
cacheWrite: 'cacheWrite',
|
|
115
|
+
estimatedCostInputUsd: 'estimatedCostInputUsd',
|
|
116
|
+
estimatedCostOutputUsd: 'estimatedCostOutputUsd',
|
|
117
|
+
estimatedCostCacheReadUsd: 'estimatedCostCacheReadUsd',
|
|
118
|
+
estimatedCostCacheWriteUsd: 'estimatedCostCacheWriteUsd',
|
|
119
|
+
unpricedInput: 'unpricedInput',
|
|
120
|
+
unpricedOutput: 'unpricedOutput',
|
|
121
|
+
unpricedCacheRead: 'unpricedCacheRead',
|
|
122
|
+
unpricedCacheWrite: 'unpricedCacheWrite'
|
|
123
|
+
};
|
|
124
|
+
export const SubscriptionReadingScalarFieldEnum = {
|
|
125
|
+
fleetId: 'fleetId',
|
|
126
|
+
machineShipId: 'machineShipId',
|
|
127
|
+
harness: 'harness',
|
|
128
|
+
windowMinutes: 'windowMinutes',
|
|
129
|
+
readAt: 'readAt',
|
|
130
|
+
usedPercent: 'usedPercent',
|
|
131
|
+
resetsAt: 'resetsAt'
|
|
132
|
+
};
|
|
80
133
|
export const SortOrder = {
|
|
81
134
|
asc: 'asc',
|
|
82
135
|
desc: 'desc'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prismaNamespaceBrowser.js","sourceRoot":"","sources":["../../../../../src/adapters/prisma/generated/internal/prismaNamespaceBrowser.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAA;AAK/D,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAGtC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,MAAwD;IAClF,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,QAA4D;IACxF,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,OAA0D;CACtF,CAAA;AACD;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;AAEpC;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAGtC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"prismaNamespaceBrowser.js","sourceRoot":"","sources":["../../../../../src/adapters/prisma/generated/internal/prismaNamespaceBrowser.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAA;AAK/D,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAGtC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,MAAwD;IAClF,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,QAA4D;IACxF,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,OAA0D;CACtF,CAAA;AACD;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;AAEpC;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAA;AAExC;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;AAGtC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,mBAAmB,EAAE,qBAAqB;CAClC,CAAA;AAIV;;GAEG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG,OAAO,CAAC,cAAc,CAAC;IAC9D,eAAe,EAAE,iBAAiB;IAClC,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;CACpB,CAAC,CAAA;AAKX,MAAM,CAA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