@zenstackhq/runtime 3.0.0-alpha.2 → 3.0.0-alpha.20
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/{contract-DguafRNB.d.cts → contract-XFKcwhq7.d.cts} +970 -785
- package/dist/{contract-DguafRNB.d.ts → contract-XFKcwhq7.d.ts} +970 -785
- package/dist/{utils/pg-utils.cjs → helpers.cjs} +8 -16
- package/dist/helpers.cjs.map +1 -0
- package/dist/helpers.d.cts +1 -0
- package/dist/helpers.d.ts +1 -0
- package/dist/helpers.js +6 -0
- package/dist/helpers.js.map +1 -0
- package/dist/index.cjs +1774 -892
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -6
- package/dist/index.d.ts +28 -6
- package/dist/index.js +1724 -847
- package/dist/index.js.map +1 -1
- package/dist/plugins/{policy.cjs → policy/index.cjs} +463 -266
- package/dist/plugins/policy/index.cjs.map +1 -0
- package/dist/plugins/{policy.d.ts → policy/index.d.cts} +2 -4
- package/dist/plugins/{policy.d.cts → policy/index.d.ts} +2 -4
- package/dist/plugins/{policy.js → policy/index.js} +435 -228
- package/dist/plugins/policy/index.js.map +1 -0
- package/dist/plugins/policy/plugin.zmodel +33 -0
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js.map +1 -1
- package/package.json +27 -49
- package/dist/client.cjs +0 -6094
- package/dist/client.cjs.map +0 -1
- package/dist/client.d.cts +0 -19
- package/dist/client.d.ts +0 -19
- package/dist/client.js +0 -6060
- package/dist/client.js.map +0 -1
- package/dist/plugins/policy.cjs.map +0 -1
- package/dist/plugins/policy.js.map +0 -1
- package/dist/utils/pg-utils.cjs.map +0 -1
- package/dist/utils/pg-utils.d.cts +0 -8
- package/dist/utils/pg-utils.d.ts +0 -8
- package/dist/utils/pg-utils.js +0 -16
- package/dist/utils/pg-utils.js.map +0 -1
- package/dist/utils/sqlite-utils.cjs +0 -55
- package/dist/utils/sqlite-utils.cjs.map +0 -1
- package/dist/utils/sqlite-utils.d.cts +0 -8
- package/dist/utils/sqlite-utils.d.ts +0 -8
- package/dist/utils/sqlite-utils.js +0 -22
- package/dist/utils/sqlite-utils.js.map +0 -1
package/dist/client.d.cts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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-DguafRNB.cjs';
|
|
3
|
-
import '@zenstackhq/sdk/schema';
|
|
4
|
-
import 'decimal.js';
|
|
5
|
-
import 'kysely';
|
|
6
|
-
import 'utility-types';
|
|
7
|
-
import '@zenstackhq/language/ast';
|
|
8
|
-
|
|
9
|
-
declare class QueryError extends Error {
|
|
10
|
-
constructor(message: string);
|
|
11
|
-
}
|
|
12
|
-
declare class InternalError extends Error {
|
|
13
|
-
constructor(message: string);
|
|
14
|
-
}
|
|
15
|
-
declare class NotFoundError extends Error {
|
|
16
|
-
constructor(model: string);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { InternalError, NotFoundError, QueryError };
|
package/dist/client.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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-DguafRNB.js';
|
|
3
|
-
import '@zenstackhq/sdk/schema';
|
|
4
|
-
import 'decimal.js';
|
|
5
|
-
import 'kysely';
|
|
6
|
-
import 'utility-types';
|
|
7
|
-
import '@zenstackhq/language/ast';
|
|
8
|
-
|
|
9
|
-
declare class QueryError extends Error {
|
|
10
|
-
constructor(message: string);
|
|
11
|
-
}
|
|
12
|
-
declare class InternalError extends Error {
|
|
13
|
-
constructor(message: string);
|
|
14
|
-
}
|
|
15
|
-
declare class NotFoundError extends Error {
|
|
16
|
-
constructor(model: string);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { InternalError, NotFoundError, QueryError };
|