@prisma/studio-core 0.0.0-dev.202504301412 → 0.0.0-dev.202504301553

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.
@@ -1,5 +1,5 @@
1
- import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-DZMVLGcT.cjs';
2
- import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-tfZkctV4.cjs';
1
+ import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-D9mf0fDl.cjs';
2
+ import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-B19_fEW8.cjs';
3
3
  import 'kysely';
4
4
 
5
5
  interface PostgresAdapterRequirements {
@@ -38,8 +38,8 @@ declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Om
38
38
  */
39
39
  declare function getSelectQuery(details: AdapterQueryDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
40
40
  [x: string]: unknown;
41
- oid: `${bigint}`;
42
41
  ctid: `(${number},${number})`;
42
+ oid: `${bigint}`;
43
43
  }>;
44
44
  /**
45
45
  * For testing purposes.
@@ -79,10 +79,9 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
79
79
  columns: {
80
80
  name: string;
81
81
  datatype: string;
82
- datatype_schema: string;
83
82
  pk: boolean;
84
83
  computed: boolean;
85
- options: string[];
84
+ notnull: boolean;
86
85
  }[];
87
86
  }>;
88
87
  /**
@@ -94,38 +93,33 @@ declare function mockTablesQuery(): [{
94
93
  readonly columns: [{
95
94
  readonly name: "id";
96
95
  readonly datatype: "bigint";
97
- readonly datatype_schema: "public";
98
96
  readonly pk: true;
99
97
  readonly computed: false;
100
- readonly options: [];
98
+ readonly notnull: true;
101
99
  }, {
102
100
  readonly name: "name";
103
101
  readonly datatype: "varchar";
104
- readonly datatype_schema: "public";
105
102
  readonly pk: false;
106
103
  readonly computed: false;
107
- readonly options: [];
104
+ readonly notnull: true;
108
105
  }, {
109
106
  readonly name: "role";
110
- readonly datatype: "role";
111
- readonly datatype_schema: "public";
107
+ readonly datatype: "varchar";
112
108
  readonly pk: false;
113
109
  readonly computed: false;
114
- readonly options: ["admin", "maintainer", "member"];
110
+ readonly notnull: true;
115
111
  }, {
116
112
  readonly name: "created_at";
117
113
  readonly datatype: "timestamptz";
118
- readonly datatype_schema: "public";
119
114
  readonly pk: false;
120
115
  readonly computed: false;
121
- readonly options: [];
116
+ readonly notnull: true;
122
117
  }, {
123
118
  readonly name: "deleted_at";
124
119
  readonly datatype: "timestamptz";
125
- readonly datatype_schema: "public";
126
120
  readonly pk: false;
127
121
  readonly computed: false;
128
- readonly options: [];
122
+ readonly notnull: true;
129
123
  }];
130
124
  }];
131
125
  /**
@@ -1,5 +1,5 @@
1
- import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-DZMVLGcT.js';
2
- import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-B2QY7jfB.js';
1
+ import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-D9mf0fDl.js';
2
+ import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-B9kfkRZt.js';
3
3
  import 'kysely';
4
4
 
5
5
  interface PostgresAdapterRequirements {
@@ -38,8 +38,8 @@ declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Om
38
38
  */
39
39
  declare function getSelectQuery(details: AdapterQueryDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
40
40
  [x: string]: unknown;
41
- oid: `${bigint}`;
42
41
  ctid: `(${number},${number})`;
42
+ oid: `${bigint}`;
43
43
  }>;
44
44
  /**
45
45
  * For testing purposes.
@@ -79,10 +79,9 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
79
79
  columns: {
80
80
  name: string;
81
81
  datatype: string;
82
- datatype_schema: string;
83
82
  pk: boolean;
84
83
  computed: boolean;
85
- options: string[];
84
+ notnull: boolean;
86
85
  }[];
87
86
  }>;
88
87
  /**
@@ -94,38 +93,33 @@ declare function mockTablesQuery(): [{
94
93
  readonly columns: [{
95
94
  readonly name: "id";
96
95
  readonly datatype: "bigint";
97
- readonly datatype_schema: "public";
98
96
  readonly pk: true;
99
97
  readonly computed: false;
100
- readonly options: [];
98
+ readonly notnull: true;
101
99
  }, {
102
100
  readonly name: "name";
103
101
  readonly datatype: "varchar";
104
- readonly datatype_schema: "public";
105
102
  readonly pk: false;
106
103
  readonly computed: false;
107
- readonly options: [];
104
+ readonly notnull: true;
108
105
  }, {
109
106
  readonly name: "role";
110
- readonly datatype: "role";
111
- readonly datatype_schema: "public";
107
+ readonly datatype: "varchar";
112
108
  readonly pk: false;
113
109
  readonly computed: false;
114
- readonly options: ["admin", "maintainer", "member"];
110
+ readonly notnull: true;
115
111
  }, {
116
112
  readonly name: "created_at";
117
113
  readonly datatype: "timestamptz";
118
- readonly datatype_schema: "public";
119
114
  readonly pk: false;
120
115
  readonly computed: false;
121
- readonly options: [];
116
+ readonly notnull: true;
122
117
  }, {
123
118
  readonly name: "deleted_at";
124
119
  readonly datatype: "timestamptz";
125
- readonly datatype_schema: "public";
126
120
  readonly pk: false;
127
121
  readonly computed: false;
128
- readonly options: [];
122
+ readonly notnull: true;
129
123
  }];
130
124
  }];
131
125
  /**
@@ -1 +1 @@
1
- import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-76TBOC76.js";import"../../chunk-U6LHXUXE.js";import"../../chunk-BMVJYUJW.js";export{i as createPostgresAdapter,a as getInsertQuery,b as getSelectQuery,e as getTablesQuery,g as getTimezoneQuery,d as getUpdateQuery,j as mockIntrospect,c as mockSelectQuery,f as mockTablesQuery,h as mockTimezoneQuery};
1
+ import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-F6Y2SIK5.js";import"../../chunk-RGBMDID6.js";import"../../chunk-BMVJYUJW.js";export{i as createPostgresAdapter,a as getInsertQuery,b as getSelectQuery,e as getTablesQuery,g as getTimezoneQuery,d as getUpdateQuery,j as mockIntrospect,c as mockSelectQuery,f as mockTablesQuery,h as mockTimezoneQuery};
@@ -1,4 +1,4 @@
1
- import { T as Table, E as Either } from './adapter-DZMVLGcT.cjs';
1
+ import { T as Table, E as Either } from './adapter-D9mf0fDl.cjs';
2
2
  import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
3
3
 
4
4
  interface BuilderRequirements {
@@ -1,4 +1,4 @@
1
- import { T as Table, E as Either } from './adapter-DZMVLGcT.js';
1
+ import { T as Table, E as Either } from './adapter-D9mf0fDl.js';
2
2
  import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
3
3
 
4
4
  interface BuilderRequirements {