@zenstackhq/runtime 3.0.0-alpha.3 → 3.0.0-alpha.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.
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/{contract-0F-AwA7Z.d.cts → contract-BBUC-uVq.d.cts} +1 -1
- package/dist/{contract-0F-AwA7Z.d.ts → contract-BBUC-uVq.d.ts} +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/plugins/policy.d.cts +1 -1
- package/dist/plugins/policy.d.ts +1 -1
- package/package.json +4 -4
package/dist/client.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ZenStackClient } from './index.cjs';
|
|
2
|
-
export { K as AggregateArgs, L as AggregateResult, B as BatchResult, f as BooleanFilter, e as BytesFilter, c as CliGenerator, C as ClientConstructor, a as ClientContract, b as ClientOptions, d as CommonPrimitiveFilter, I as CountAggregateInput, H as CountArgs, J as CountResult, r as CreateArgs, u as CreateInput, t as CreateManyAndReturnArgs, s as CreateManyArgs, D as DateTimeFilter, E as DeleteArgs, G as DeleteManyArgs, F as FindArgs, q as FindUniqueArgs, P as GroupByArgs, Q as GroupByResult, m as MapFieldType, R as ModelOperations, M as ModelResult, h as NullsOrder, N as NumberFilter, p as OppositeRelationAndFK, o as OppositeRelationFields, n as OptionalFieldsForCreate, O as OrderBy, j as SelectIncludeOmit, l as SelectSubset, g as SortOrder, S as StringFilter, k as Subset, T as ToKysely, U as UpdateArgs, A as UpdateInput, w as UpdateManyAndReturnArgs, v as UpdateManyArgs, z as UpdateRelationInput, y as UpdateScalarInput, x as UpsertArgs, W as WhereInput, i as WhereUniqueInput } from './contract-
|
|
2
|
+
export { K as AggregateArgs, L as AggregateResult, B as BatchResult, f as BooleanFilter, e as BytesFilter, c as CliGenerator, C as ClientConstructor, a as ClientContract, b as ClientOptions, d as CommonPrimitiveFilter, I as CountAggregateInput, H as CountArgs, J as CountResult, r as CreateArgs, u as CreateInput, t as CreateManyAndReturnArgs, s as CreateManyArgs, D as DateTimeFilter, E as DeleteArgs, G as DeleteManyArgs, F as FindArgs, q as FindUniqueArgs, P as GroupByArgs, Q as GroupByResult, m as MapFieldType, R as ModelOperations, M as ModelResult, h as NullsOrder, N as NumberFilter, p as OppositeRelationAndFK, o as OppositeRelationFields, n as OptionalFieldsForCreate, O as OrderBy, j as SelectIncludeOmit, l as SelectSubset, g as SortOrder, S as StringFilter, k as Subset, T as ToKysely, U as UpdateArgs, A as UpdateInput, w as UpdateManyAndReturnArgs, v as UpdateManyArgs, z as UpdateRelationInput, y as UpdateScalarInput, x as UpsertArgs, W as WhereInput, i as WhereUniqueInput } from './contract-BBUC-uVq.cjs';
|
|
3
3
|
import '@zenstackhq/sdk/schema';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'kysely';
|
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ZenStackClient } from './index.js';
|
|
2
|
-
export { K as AggregateArgs, L as AggregateResult, B as BatchResult, f as BooleanFilter, e as BytesFilter, c as CliGenerator, C as ClientConstructor, a as ClientContract, b as ClientOptions, d as CommonPrimitiveFilter, I as CountAggregateInput, H as CountArgs, J as CountResult, r as CreateArgs, u as CreateInput, t as CreateManyAndReturnArgs, s as CreateManyArgs, D as DateTimeFilter, E as DeleteArgs, G as DeleteManyArgs, F as FindArgs, q as FindUniqueArgs, P as GroupByArgs, Q as GroupByResult, m as MapFieldType, R as ModelOperations, M as ModelResult, h as NullsOrder, N as NumberFilter, p as OppositeRelationAndFK, o as OppositeRelationFields, n as OptionalFieldsForCreate, O as OrderBy, j as SelectIncludeOmit, l as SelectSubset, g as SortOrder, S as StringFilter, k as Subset, T as ToKysely, U as UpdateArgs, A as UpdateInput, w as UpdateManyAndReturnArgs, v as UpdateManyArgs, z as UpdateRelationInput, y as UpdateScalarInput, x as UpsertArgs, W as WhereInput, i as WhereUniqueInput } from './contract-
|
|
2
|
+
export { K as AggregateArgs, L as AggregateResult, B as BatchResult, f as BooleanFilter, e as BytesFilter, c as CliGenerator, C as ClientConstructor, a as ClientContract, b as ClientOptions, d as CommonPrimitiveFilter, I as CountAggregateInput, H as CountArgs, J as CountResult, r as CreateArgs, u as CreateInput, t as CreateManyAndReturnArgs, s as CreateManyArgs, D as DateTimeFilter, E as DeleteArgs, G as DeleteManyArgs, F as FindArgs, q as FindUniqueArgs, P as GroupByArgs, Q as GroupByResult, m as MapFieldType, R as ModelOperations, M as ModelResult, h as NullsOrder, N as NumberFilter, p as OppositeRelationAndFK, o as OppositeRelationFields, n as OptionalFieldsForCreate, O as OrderBy, j as SelectIncludeOmit, l as SelectSubset, g as SortOrder, S as StringFilter, k as Subset, T as ToKysely, U as UpdateArgs, A as UpdateInput, w as UpdateManyAndReturnArgs, v as UpdateManyArgs, z as UpdateRelationInput, y as UpdateScalarInput, x as UpsertArgs, W as WhereInput, i as WhereUniqueInput } from './contract-BBUC-uVq.js';
|
|
3
3
|
import '@zenstackhq/sdk/schema';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'kysely';
|
|
@@ -1141,7 +1141,7 @@ type CliGeneratorContext = {
|
|
|
1141
1141
|
};
|
|
1142
1142
|
type CliGenerator = (context: CliGeneratorContext) => MaybePromise<void>;
|
|
1143
1143
|
|
|
1144
|
-
type DialectConfig<Provider extends DataSourceProvider> = Provider['type'] extends 'sqlite' ? Optional<SqliteDialectConfig, 'database'> : Provider extends 'postgresql' ? Optional<PostgresDialectConfig, 'pool'> : never;
|
|
1144
|
+
type DialectConfig<Provider extends DataSourceProvider> = Provider['type'] extends 'sqlite' ? Optional<SqliteDialectConfig, 'database'> : Provider['type'] extends 'postgresql' ? Optional<PostgresDialectConfig, 'pool'> : never;
|
|
1145
1145
|
type ZModelFunctionContext<Schema extends SchemaDef> = {
|
|
1146
1146
|
dialect: BaseCrudDialect<Schema>;
|
|
1147
1147
|
model: GetModels<Schema>;
|
|
@@ -1141,7 +1141,7 @@ type CliGeneratorContext = {
|
|
|
1141
1141
|
};
|
|
1142
1142
|
type CliGenerator = (context: CliGeneratorContext) => MaybePromise<void>;
|
|
1143
1143
|
|
|
1144
|
-
type DialectConfig<Provider extends DataSourceProvider> = Provider['type'] extends 'sqlite' ? Optional<SqliteDialectConfig, 'database'> : Provider extends 'postgresql' ? Optional<PostgresDialectConfig, 'pool'> : never;
|
|
1144
|
+
type DialectConfig<Provider extends DataSourceProvider> = Provider['type'] extends 'sqlite' ? Optional<SqliteDialectConfig, 'database'> : Provider['type'] extends 'postgresql' ? Optional<PostgresDialectConfig, 'pool'> : never;
|
|
1145
1145
|
type ZModelFunctionContext<Schema extends SchemaDef> = {
|
|
1146
1146
|
dialect: BaseCrudDialect<Schema>;
|
|
1147
1147
|
model: GetModels<Schema>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ClientConstructor } from './contract-
|
|
2
|
-
export { a as ClientContract } from './contract-
|
|
1
|
+
import { C as ClientConstructor } from './contract-BBUC-uVq.cjs';
|
|
2
|
+
export { a as ClientContract } from './contract-BBUC-uVq.cjs';
|
|
3
3
|
import '@zenstackhq/sdk/schema';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'kysely';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ClientConstructor } from './contract-
|
|
2
|
-
export { a as ClientContract } from './contract-
|
|
1
|
+
import { C as ClientConstructor } from './contract-BBUC-uVq.js';
|
|
2
|
+
export { a as ClientContract } from './contract-BBUC-uVq.js';
|
|
3
3
|
import '@zenstackhq/sdk/schema';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'kysely';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as kysely from 'kysely';
|
|
2
|
-
import { V as RuntimePlugin, X as OnKyselyQueryArgs } from '../contract-
|
|
2
|
+
import { V as RuntimePlugin, X as OnKyselyQueryArgs } from '../contract-BBUC-uVq.cjs';
|
|
3
3
|
import { SchemaDef } from '@zenstackhq/sdk/schema';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'utility-types';
|
package/dist/plugins/policy.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as kysely from 'kysely';
|
|
2
|
-
import { V as RuntimePlugin, X as OnKyselyQueryArgs } from '../contract-
|
|
2
|
+
import { V as RuntimePlugin, X as OnKyselyQueryArgs } from '../contract-BBUC-uVq.js';
|
|
3
3
|
import { SchemaDef } from '@zenstackhq/sdk/schema';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'utility-types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenstackhq/runtime",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.4",
|
|
4
4
|
"description": "ZenStack Runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [],
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"@types/tmp": "^0.2.6",
|
|
88
88
|
"tmp": "^0.2.3",
|
|
89
89
|
"tsx": "^4.19.2",
|
|
90
|
-
"@zenstackhq/language": "3.0.0-alpha.
|
|
91
|
-
"@zenstackhq/sdk": "3.0.0-alpha.
|
|
92
|
-
"@zenstackhq/testtools": "3.0.0-alpha.
|
|
90
|
+
"@zenstackhq/language": "3.0.0-alpha.4",
|
|
91
|
+
"@zenstackhq/sdk": "3.0.0-alpha.4",
|
|
92
|
+
"@zenstackhq/testtools": "3.0.0-alpha.4"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|
|
95
95
|
"build": "tsup-node",
|