@prisma/json-protocol 7.4.0-dev.20 → 7.4.0-dev.22

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/index.d.mts CHANGED
@@ -49,7 +49,7 @@ export declare type JsonFieldSelection = {
49
49
  selection: JsonSelectionSet;
50
50
  };
51
51
 
52
- export declare type JsonInputTaggedValue = DateTaggedValue | DecimalTaggedValue | BytesTaggedValue | BigIntTaggedValue | FieldRefTaggedValue | JsonTaggedValue | EnumTaggedValue | RawTaggedValue;
52
+ export declare type JsonInputTaggedValue = DateTaggedValue | DecimalTaggedValue | BytesTaggedValue | BigIntTaggedValue | FieldRefTaggedValue | JsonTaggedValue | EnumTaggedValue | RawTaggedValue | PlaceholderTaggedValue;
53
53
 
54
54
  export declare type JsonOutputTaggedValue = DateTaggedValue | DecimalTaggedValue | BytesTaggedValue | BigIntTaggedValue | JsonTaggedValue;
55
55
 
@@ -73,6 +73,42 @@ export declare type JsonTaggedValue = {
73
73
  value: string;
74
74
  };
75
75
 
76
+ export declare type Placeholder = {
77
+ name: string;
78
+ } & PlaceholderType;
79
+
80
+ export declare type PlaceholderTaggedValue = {
81
+ $type: 'Param';
82
+ value: Placeholder;
83
+ };
84
+
85
+ export declare type PlaceholderType = {
86
+ type: 'Any';
87
+ } | {
88
+ type: 'BigInt';
89
+ } | {
90
+ type: 'Boolean';
91
+ } | {
92
+ type: 'Bytes';
93
+ } | {
94
+ type: 'DateTime';
95
+ } | {
96
+ type: 'Enum';
97
+ } | {
98
+ type: 'Float';
99
+ } | {
100
+ type: 'Int';
101
+ } | {
102
+ type: 'Json';
103
+ } | {
104
+ type: 'List';
105
+ inner: PlaceholderType;
106
+ } | {
107
+ type: 'String';
108
+ } | {
109
+ type: 'Uuid';
110
+ };
111
+
76
112
  export declare type RawJsonQuery = {
77
113
  action: 'executeRaw' | 'queryRaw';
78
114
  query: {
package/dist/index.d.ts CHANGED
@@ -49,7 +49,7 @@ export declare type JsonFieldSelection = {
49
49
  selection: JsonSelectionSet;
50
50
  };
51
51
 
52
- export declare type JsonInputTaggedValue = DateTaggedValue | DecimalTaggedValue | BytesTaggedValue | BigIntTaggedValue | FieldRefTaggedValue | JsonTaggedValue | EnumTaggedValue | RawTaggedValue;
52
+ export declare type JsonInputTaggedValue = DateTaggedValue | DecimalTaggedValue | BytesTaggedValue | BigIntTaggedValue | FieldRefTaggedValue | JsonTaggedValue | EnumTaggedValue | RawTaggedValue | PlaceholderTaggedValue;
53
53
 
54
54
  export declare type JsonOutputTaggedValue = DateTaggedValue | DecimalTaggedValue | BytesTaggedValue | BigIntTaggedValue | JsonTaggedValue;
55
55
 
@@ -73,6 +73,42 @@ export declare type JsonTaggedValue = {
73
73
  value: string;
74
74
  };
75
75
 
76
+ export declare type Placeholder = {
77
+ name: string;
78
+ } & PlaceholderType;
79
+
80
+ export declare type PlaceholderTaggedValue = {
81
+ $type: 'Param';
82
+ value: Placeholder;
83
+ };
84
+
85
+ export declare type PlaceholderType = {
86
+ type: 'Any';
87
+ } | {
88
+ type: 'BigInt';
89
+ } | {
90
+ type: 'Boolean';
91
+ } | {
92
+ type: 'Bytes';
93
+ } | {
94
+ type: 'DateTime';
95
+ } | {
96
+ type: 'Enum';
97
+ } | {
98
+ type: 'Float';
99
+ } | {
100
+ type: 'Int';
101
+ } | {
102
+ type: 'Json';
103
+ } | {
104
+ type: 'List';
105
+ inner: PlaceholderType;
106
+ } | {
107
+ type: 'String';
108
+ } | {
109
+ type: 'Uuid';
110
+ };
111
+
76
112
  export declare type RawJsonQuery = {
77
113
  action: 'executeRaw' | 'queryRaw';
78
114
  query: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/json-protocol",
3
- "version": "7.4.0-dev.20",
3
+ "version": "7.4.0-dev.22",
4
4
  "description": "JSON protocol types for Prisma",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",