@zenstackhq/runtime 3.0.0-beta.7 → 3.0.0-beta.8

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.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ClientConstructor } from './contract-BJce14-p.cjs';
2
- export { K as AggregateArgs, L as AggregateResult, B as BatchResult, i as BooleanFilter, h as BytesFilter, c as ClientContract, d as ClientOptions, G as CountArgs, H as CountResult, u as CreateArgs, w as CreateManyAndReturnArgs, v as CreateManyArgs, D as DateTimeFilter, A as DeleteArgs, E as DeleteManyArgs, F as FindArgs, s as FindFirstArgs, r as FindManyArgs, t as FindUniqueArgs, P as GroupByArgs, Q as GroupByResult, I as IncludeInput, J as JsonArray, a as JsonObject, b as JsonValue, M as ModelResult, k as NullsOrder, N as NumberFilter, m as OmitInput, O as OrderBy, n as SelectIncludeOmit, o as SelectInput, q as SelectSubset, S as SimplifiedModelResult, j as SortOrder, g as StringFilter, p as Subset, T as ToKysely, f as TypeDefResult, U as UpdateArgs, y as UpdateManyAndReturnArgs, x as UpdateManyArgs, z as UpsertArgs, W as WhereInput, l as WhereUniqueInput, Z as ZenStackPromise, e as definePlugin } from './contract-BJce14-p.cjs';
1
+ import { C as ClientConstructor } from './errors-DVYyRUGp.cjs';
2
+ export { K as AggregateArgs, L as AggregateResult, B as BatchResult, i as BooleanFilter, h as BytesFilter, c as ClientContract, d as ClientOptions, G as CountArgs, H as CountResult, u as CreateArgs, w as CreateManyAndReturnArgs, v as CreateManyArgs, D as DateTimeFilter, A as DeleteArgs, E as DeleteManyArgs, F as FindArgs, s as FindFirstArgs, r as FindManyArgs, t as FindUniqueArgs, P as GroupByArgs, Q as GroupByResult, I as IncludeInput, V as InputValidationError, Y as InternalError, J as JsonArray, a as JsonObject, b as JsonValue, M as ModelResult, _ as NotFoundError, k as NullsOrder, N as NumberFilter, m as OmitInput, O as OrderBy, X as QueryError, n as SelectIncludeOmit, o as SelectInput, q as SelectSubset, S as SimplifiedModelResult, j as SortOrder, g as StringFilter, p as Subset, T as ToKysely, f as TypeDefResult, U as UpdateArgs, y as UpdateManyAndReturnArgs, x as UpdateManyArgs, z as UpsertArgs, W as WhereInput, l as WhereUniqueInput, R as ZenStackError, Z as ZenStackPromise, e as definePlugin } from './errors-DVYyRUGp.cjs';
3
3
  export { sql } from 'kysely';
4
4
  import 'decimal.js';
5
5
  import '@zenstackhq/sdk/schema';
@@ -9,28 +9,4 @@ import '@zenstackhq/sdk/schema';
9
9
  */
10
10
  declare const ZenStackClient: ClientConstructor;
11
11
 
12
- /**
13
- * Error thrown when input validation fails.
14
- */
15
- declare class InputValidationError extends Error {
16
- constructor(message: string, cause?: unknown);
17
- }
18
- /**
19
- * Error thrown when a query fails.
20
- */
21
- declare class QueryError extends Error {
22
- constructor(message: string, cause?: unknown);
23
- }
24
- /**
25
- * Error thrown when an internal error occurs.
26
- */
27
- declare class InternalError extends Error {
28
- }
29
- /**
30
- * Error thrown when an entity is not found.
31
- */
32
- declare class NotFoundError extends Error {
33
- constructor(model: string, details?: string);
34
- }
35
-
36
- export { ClientConstructor, InputValidationError, InternalError, NotFoundError, QueryError, ZenStackClient };
12
+ export { ClientConstructor, ZenStackClient };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as ClientConstructor } from './contract-BJce14-p.js';
2
- export { K as AggregateArgs, L as AggregateResult, B as BatchResult, i as BooleanFilter, h as BytesFilter, c as ClientContract, d as ClientOptions, G as CountArgs, H as CountResult, u as CreateArgs, w as CreateManyAndReturnArgs, v as CreateManyArgs, D as DateTimeFilter, A as DeleteArgs, E as DeleteManyArgs, F as FindArgs, s as FindFirstArgs, r as FindManyArgs, t as FindUniqueArgs, P as GroupByArgs, Q as GroupByResult, I as IncludeInput, J as JsonArray, a as JsonObject, b as JsonValue, M as ModelResult, k as NullsOrder, N as NumberFilter, m as OmitInput, O as OrderBy, n as SelectIncludeOmit, o as SelectInput, q as SelectSubset, S as SimplifiedModelResult, j as SortOrder, g as StringFilter, p as Subset, T as ToKysely, f as TypeDefResult, U as UpdateArgs, y as UpdateManyAndReturnArgs, x as UpdateManyArgs, z as UpsertArgs, W as WhereInput, l as WhereUniqueInput, Z as ZenStackPromise, e as definePlugin } from './contract-BJce14-p.js';
1
+ import { C as ClientConstructor } from './errors-DVYyRUGp.js';
2
+ export { K as AggregateArgs, L as AggregateResult, B as BatchResult, i as BooleanFilter, h as BytesFilter, c as ClientContract, d as ClientOptions, G as CountArgs, H as CountResult, u as CreateArgs, w as CreateManyAndReturnArgs, v as CreateManyArgs, D as DateTimeFilter, A as DeleteArgs, E as DeleteManyArgs, F as FindArgs, s as FindFirstArgs, r as FindManyArgs, t as FindUniqueArgs, P as GroupByArgs, Q as GroupByResult, I as IncludeInput, V as InputValidationError, Y as InternalError, J as JsonArray, a as JsonObject, b as JsonValue, M as ModelResult, _ as NotFoundError, k as NullsOrder, N as NumberFilter, m as OmitInput, O as OrderBy, X as QueryError, n as SelectIncludeOmit, o as SelectInput, q as SelectSubset, S as SimplifiedModelResult, j as SortOrder, g as StringFilter, p as Subset, T as ToKysely, f as TypeDefResult, U as UpdateArgs, y as UpdateManyAndReturnArgs, x as UpdateManyArgs, z as UpsertArgs, W as WhereInput, l as WhereUniqueInput, R as ZenStackError, Z as ZenStackPromise, e as definePlugin } from './errors-DVYyRUGp.js';
3
3
  export { sql } from 'kysely';
4
4
  import 'decimal.js';
5
5
  import '@zenstackhq/sdk/schema';
@@ -9,28 +9,4 @@ import '@zenstackhq/sdk/schema';
9
9
  */
10
10
  declare const ZenStackClient: ClientConstructor;
11
11
 
12
- /**
13
- * Error thrown when input validation fails.
14
- */
15
- declare class InputValidationError extends Error {
16
- constructor(message: string, cause?: unknown);
17
- }
18
- /**
19
- * Error thrown when a query fails.
20
- */
21
- declare class QueryError extends Error {
22
- constructor(message: string, cause?: unknown);
23
- }
24
- /**
25
- * Error thrown when an internal error occurs.
26
- */
27
- declare class InternalError extends Error {
28
- }
29
- /**
30
- * Error thrown when an entity is not found.
31
- */
32
- declare class NotFoundError extends Error {
33
- constructor(model: string, details?: string);
34
- }
35
-
36
- export { ClientConstructor, InputValidationError, InternalError, NotFoundError, QueryError, ZenStackClient };
12
+ export { ClientConstructor, ZenStackClient };