@s-hirano-ist/s-database 1.18.6 → 1.19.1
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/package.json +7 -7
- package/prisma/migrations/20260418090234_rating_to_required/migration.sql +8 -0
- package/prisma/migrations/20260419000000_merge_google_title_into_title/migration.sql +15 -0
- package/prisma/schema.prisma +2 -3
- package/src/generated/edge.js +10 -11
- package/src/generated/index-browser.js +4 -5
- package/src/generated/index.d.ts +80 -47
- package/src/generated/index.js +10 -11
- package/src/generated/package.json +3 -3
- package/src/generated/query_compiler_fast_bg.wasm +0 -0
- package/src/generated/query_compiler_fast_bg.wasm-base64.js +1 -1
- package/src/generated/runtime/client.d.ts +79 -51
- package/src/generated/runtime/client.js +20 -20
- package/src/generated/runtime/wasm-compiler-edge.js +16 -16
- package/src/generated/schema.prisma +2 -3
|
@@ -173,6 +173,8 @@ declare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;
|
|
|
173
173
|
|
|
174
174
|
declare type BatchTransactionOptions = {
|
|
175
175
|
isolationLevel?: Transaction_2.IsolationLevel;
|
|
176
|
+
maxWait?: number;
|
|
177
|
+
timeout?: number;
|
|
176
178
|
};
|
|
177
179
|
|
|
178
180
|
/**
|
|
@@ -499,84 +501,84 @@ export declare type DevTypeMapFnDef = {
|
|
|
499
501
|
export declare namespace DMMF {
|
|
500
502
|
export {
|
|
501
503
|
datamodelEnumToSchemaEnum,
|
|
502
|
-
|
|
503
|
-
Mappings,
|
|
504
|
-
OtherOperationMappings,
|
|
504
|
+
Datamodel,
|
|
505
505
|
DatamodelEnum,
|
|
506
|
-
|
|
506
|
+
Deprecation,
|
|
507
|
+
Document_2 as Document,
|
|
507
508
|
EnumValue,
|
|
508
|
-
Datamodel,
|
|
509
|
-
uniqueIndex,
|
|
510
|
-
PrimaryKey,
|
|
511
|
-
Model,
|
|
512
|
-
FieldKind,
|
|
513
|
-
FieldNamespace,
|
|
514
|
-
FieldLocation,
|
|
515
509
|
Field,
|
|
516
510
|
FieldDefault,
|
|
517
511
|
FieldDefaultScalar,
|
|
512
|
+
FieldKind,
|
|
513
|
+
FieldLocation,
|
|
514
|
+
FieldNamespace,
|
|
515
|
+
FieldRefAllowType,
|
|
516
|
+
FieldRefType,
|
|
518
517
|
Index,
|
|
519
|
-
IndexType,
|
|
520
518
|
IndexField,
|
|
521
|
-
|
|
522
|
-
|
|
519
|
+
IndexType,
|
|
520
|
+
InputType,
|
|
521
|
+
InputTypeRef,
|
|
522
|
+
Mappings,
|
|
523
|
+
Model,
|
|
524
|
+
ModelAction,
|
|
525
|
+
ModelMapping,
|
|
526
|
+
OtherOperationMappings,
|
|
527
|
+
OutputType,
|
|
528
|
+
OutputTypeRef,
|
|
529
|
+
PrimaryKey,
|
|
523
530
|
Query,
|
|
524
531
|
QueryOutput,
|
|
525
|
-
|
|
526
|
-
|
|
532
|
+
ReadonlyDeep_2 as ReadonlyDeep,
|
|
533
|
+
Schema,
|
|
527
534
|
SchemaArg,
|
|
528
|
-
|
|
535
|
+
SchemaEnum,
|
|
529
536
|
SchemaField,
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
FieldRefType,
|
|
534
|
-
FieldRefAllowType,
|
|
535
|
-
ModelMapping,
|
|
536
|
-
ModelAction,
|
|
537
|
-
ReadonlyDeep_2 as ReadonlyDeep
|
|
537
|
+
SortOrder,
|
|
538
|
+
TypeRef,
|
|
539
|
+
uniqueIndex
|
|
538
540
|
}
|
|
539
541
|
}
|
|
540
542
|
|
|
541
543
|
declare namespace DMMF_2 {
|
|
542
544
|
export {
|
|
543
545
|
datamodelEnumToSchemaEnum,
|
|
544
|
-
|
|
545
|
-
Mappings,
|
|
546
|
-
OtherOperationMappings,
|
|
546
|
+
Datamodel,
|
|
547
547
|
DatamodelEnum,
|
|
548
|
-
|
|
548
|
+
Deprecation,
|
|
549
|
+
Document_2 as Document,
|
|
549
550
|
EnumValue,
|
|
550
|
-
Datamodel,
|
|
551
|
-
uniqueIndex,
|
|
552
|
-
PrimaryKey,
|
|
553
|
-
Model,
|
|
554
|
-
FieldKind,
|
|
555
|
-
FieldNamespace,
|
|
556
|
-
FieldLocation,
|
|
557
551
|
Field,
|
|
558
552
|
FieldDefault,
|
|
559
553
|
FieldDefaultScalar,
|
|
554
|
+
FieldKind,
|
|
555
|
+
FieldLocation,
|
|
556
|
+
FieldNamespace,
|
|
557
|
+
FieldRefAllowType,
|
|
558
|
+
FieldRefType,
|
|
560
559
|
Index,
|
|
561
|
-
IndexType,
|
|
562
560
|
IndexField,
|
|
563
|
-
|
|
564
|
-
|
|
561
|
+
IndexType,
|
|
562
|
+
InputType,
|
|
563
|
+
InputTypeRef,
|
|
564
|
+
Mappings,
|
|
565
|
+
Model,
|
|
566
|
+
ModelAction,
|
|
567
|
+
ModelMapping,
|
|
568
|
+
OtherOperationMappings,
|
|
569
|
+
OutputType,
|
|
570
|
+
OutputTypeRef,
|
|
571
|
+
PrimaryKey,
|
|
565
572
|
Query,
|
|
566
573
|
QueryOutput,
|
|
567
|
-
|
|
568
|
-
|
|
574
|
+
ReadonlyDeep_2 as ReadonlyDeep,
|
|
575
|
+
Schema,
|
|
569
576
|
SchemaArg,
|
|
570
|
-
|
|
577
|
+
SchemaEnum,
|
|
571
578
|
SchemaField,
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
FieldRefType,
|
|
576
|
-
FieldRefAllowType,
|
|
577
|
-
ModelMapping,
|
|
578
|
-
ModelAction,
|
|
579
|
-
ReadonlyDeep_2 as ReadonlyDeep
|
|
579
|
+
SortOrder,
|
|
580
|
+
TypeRef,
|
|
581
|
+
uniqueIndex
|
|
580
582
|
}
|
|
581
583
|
}
|
|
582
584
|
|
|
@@ -634,6 +636,8 @@ export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef
|
|
|
634
636
|
extArgs: ExtArgs;
|
|
635
637
|
}>>;
|
|
636
638
|
$transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {
|
|
639
|
+
maxWait?: number;
|
|
640
|
+
timeout?: number;
|
|
637
641
|
isolationLevel?: TypeMap['meta']['txIsolationLevel'];
|
|
638
642
|
}): Promise<UnwrapTuple<P>>;
|
|
639
643
|
$transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {
|
|
@@ -807,6 +811,13 @@ declare interface EngineConfig {
|
|
|
807
811
|
* Runtime data model for enum lookups during parameterization.
|
|
808
812
|
*/
|
|
809
813
|
runtimeDataModel: RuntimeDataModel;
|
|
814
|
+
/**
|
|
815
|
+
* Optional maximum size for the query plan cache. If not provided, a default size will be used.
|
|
816
|
+
* A value of `0` can be used to disable the cache entirely. A higher cache size can improve
|
|
817
|
+
* performance for applications that execute a large number of unique queries, while a smaller
|
|
818
|
+
* cache size can reduce memory usage.
|
|
819
|
+
*/
|
|
820
|
+
queryPlanCacheMaxSize?: number;
|
|
810
821
|
}
|
|
811
822
|
|
|
812
823
|
declare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;
|
|
@@ -2059,6 +2070,21 @@ export declare type PrismaClientOptions = PrismaClientMutuallyExclusiveOptions &
|
|
|
2059
2070
|
* ```
|
|
2060
2071
|
*/
|
|
2061
2072
|
comments?: SqlCommenterPlugin[];
|
|
2073
|
+
/**
|
|
2074
|
+
* Optional maximum size for the query plan cache. If not provided, a default size will be used.
|
|
2075
|
+
* A value of `0` can be used to disable the cache entirely. A higher cache size can improve
|
|
2076
|
+
* performance for applications that execute a large number of unique queries, while a smaller
|
|
2077
|
+
* cache size can reduce memory usage.
|
|
2078
|
+
*
|
|
2079
|
+
* @example
|
|
2080
|
+
* ```
|
|
2081
|
+
* const prisma = new PrismaClient({
|
|
2082
|
+
* adapter,
|
|
2083
|
+
* queryPlanCacheMaxSize: 100,
|
|
2084
|
+
* })
|
|
2085
|
+
* ```
|
|
2086
|
+
*/
|
|
2087
|
+
queryPlanCacheMaxSize?: number;
|
|
2062
2088
|
/**
|
|
2063
2089
|
* @internal
|
|
2064
2090
|
* You probably don't want to use this. \`__internal\` is used by internal tooling.
|
|
@@ -2123,6 +2149,8 @@ declare type PrismaPromiseBatchTransaction = {
|
|
|
2123
2149
|
kind: 'batch';
|
|
2124
2150
|
id: number;
|
|
2125
2151
|
isolationLevel?: IsolationLevel_2;
|
|
2152
|
+
maxWait?: number;
|
|
2153
|
+
timeout?: number;
|
|
2126
2154
|
index: number;
|
|
2127
2155
|
lock: PromiseLike<void>;
|
|
2128
2156
|
};
|
|
@@ -2206,7 +2234,7 @@ declare interface Queryable<Query, Result> extends AdapterInfo {
|
|
|
2206
2234
|
}
|
|
2207
2235
|
|
|
2208
2236
|
declare type QueryCompiler = {
|
|
2209
|
-
compile(request: string):
|
|
2237
|
+
compile(request: string): QueryPlanNode;
|
|
2210
2238
|
compileBatch(batchRequest: string): BatchResponse;
|
|
2211
2239
|
free(): void;
|
|
2212
2240
|
};
|