@atscript/db-client 0.1.197 → 0.1.198
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-CNTDhOXn.d.cts → client-Byw4P7DT.d.cts} +4 -1
- package/dist/{client-DIymxYkx.d.mts → client-CFr71FpF.d.mts} +4 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/validator.cjs +4 -1
- package/dist/validator.d.cts +1 -1
- package/dist/validator.d.mts +1 -1
- package/dist/validator.mjs +4 -1
- package/package.json +7 -7
|
@@ -591,7 +591,10 @@ declare class ClientValidator {
|
|
|
591
591
|
private _options;
|
|
592
592
|
private _lenientWrites;
|
|
593
593
|
private _translate?;
|
|
594
|
-
/**
|
|
594
|
+
/**
|
|
595
|
+
* Flat map of dotted field paths to their annotated types: a navigation
|
|
596
|
+
* field is listed, nothing below it.
|
|
597
|
+
*/
|
|
595
598
|
readonly flatMap: Map<string, TAtscriptAnnotatedType>;
|
|
596
599
|
/** Set of field paths that are navigation relations (TO/FROM/VIA). */
|
|
597
600
|
readonly navFields: ReadonlySet<string>;
|
|
@@ -591,7 +591,10 @@ declare class ClientValidator {
|
|
|
591
591
|
private _options;
|
|
592
592
|
private _lenientWrites;
|
|
593
593
|
private _translate?;
|
|
594
|
-
/**
|
|
594
|
+
/**
|
|
595
|
+
* Flat map of dotted field paths to their annotated types: a navigation
|
|
596
|
+
* field is listed, nothing below it.
|
|
597
|
+
*/
|
|
595
598
|
readonly flatMap: Map<string, TAtscriptAnnotatedType>;
|
|
596
599
|
/** Set of field paths that are navigation relations (TO/FROM/VIA). */
|
|
597
600
|
readonly navFields: ReadonlySet<string>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as RelationInfo, A as AggregateStage, B as DbPatch, C as ClientError, D as VersionMismatchErrorBody, E as VersionMismatchError, F as ClientLike, G as InsertOf, H as FieldMeta, I as ClientOptions, J as NestedAggregateQuery, K as MetaResponse, L as ClientResponse, M as BucketExpr, N as BucketUnit, O as AggregateQuery, P as CalendarBucketLabel, Q as PatchOf, R as DataOf, S as ActionUnsupportedError, St as defaultMetaStore, T as TransportError, U as FilterExpr, V as DbRow, W as IdOf, X as OwnOf, Y as NestedAggregateResult, Z as PageResult, _ as ActionDisabledError, _t as ValidNested, a as InsertedRow, at as TClientCallOptions, b as ActionTargetError, bt as MetaStoreOptions, c as actionIdentifier, ct as TDbInsertManyIgnoreResult, d as formatIdentifierField, dt as TDbQueryTarget, et as ResponseDataOf, f as ClientValidator, ft as TDbUpdateResult, gt as ValidGroupBy, h as ValidatorMode, ht as UniqueryControls, i as DecoratedRow, it as StageRow, j as AtscriptClientShape, k as AggregateResult, l as encodeNavigateId, lt as TDbInsertManyResult, mt as Uniquery, n as AggregateRows, nt as SearchIndexInfo, o as ReadRow, ot as TDbDeleteResult, p as ClientValidatorOptions, pt as TypedWithRelation, q as NavOf, r as Client, rt as ServerError, s as SingleInsertOf, st as TDbInsertIgnoreResult, t as AggregateCheck, tt as RowOf, u as formatIdentifier, ut as TDbInsertResult, v as ActionDisabledErrorBody, vt as WeekStart, w as ClientValidationError, x as ActionTargetErrorBody, xt as clearMetaStore, y as ActionNotFoundError, yt as MetaStore, z as DbInsert } from "./client-
|
|
1
|
+
import { $ as RelationInfo, A as AggregateStage, B as DbPatch, C as ClientError, D as VersionMismatchErrorBody, E as VersionMismatchError, F as ClientLike, G as InsertOf, H as FieldMeta, I as ClientOptions, J as NestedAggregateQuery, K as MetaResponse, L as ClientResponse, M as BucketExpr, N as BucketUnit, O as AggregateQuery, P as CalendarBucketLabel, Q as PatchOf, R as DataOf, S as ActionUnsupportedError, St as defaultMetaStore, T as TransportError, U as FilterExpr, V as DbRow, W as IdOf, X as OwnOf, Y as NestedAggregateResult, Z as PageResult, _ as ActionDisabledError, _t as ValidNested, a as InsertedRow, at as TClientCallOptions, b as ActionTargetError, bt as MetaStoreOptions, c as actionIdentifier, ct as TDbInsertManyIgnoreResult, d as formatIdentifierField, dt as TDbQueryTarget, et as ResponseDataOf, f as ClientValidator, ft as TDbUpdateResult, gt as ValidGroupBy, h as ValidatorMode, ht as UniqueryControls, i as DecoratedRow, it as StageRow, j as AtscriptClientShape, k as AggregateResult, l as encodeNavigateId, lt as TDbInsertManyResult, mt as Uniquery, n as AggregateRows, nt as SearchIndexInfo, o as ReadRow, ot as TDbDeleteResult, p as ClientValidatorOptions, pt as TypedWithRelation, q as NavOf, r as Client, rt as ServerError, s as SingleInsertOf, st as TDbInsertIgnoreResult, t as AggregateCheck, tt as RowOf, u as formatIdentifier, ut as TDbInsertResult, v as ActionDisabledErrorBody, vt as WeekStart, w as ClientValidationError, x as ActionTargetErrorBody, xt as clearMetaStore, y as ActionNotFoundError, yt as MetaStore, z as DbInsert } from "./client-Byw4P7DT.cjs";
|
|
2
2
|
import { BucketSeriesOptions, NextBucketOptions, bucketSeries, bucketStartInstant, nextBucketLabel } from "@uniqu/core";
|
|
3
3
|
import { TSerializedAnnotatedType } from "@atscript/typescript/utils";
|
|
4
4
|
import { TCrudOp, TCrudPermissions, TDbActionInfo, TDbActionIntent, TDbActionLevel, TDbActionProcessor, TDbActionTargetSummary, TDbAvailableActions } from "@atscript/db";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as RelationInfo, A as AggregateStage, B as DbPatch, C as ClientError, D as VersionMismatchErrorBody, E as VersionMismatchError, F as ClientLike, G as InsertOf, H as FieldMeta, I as ClientOptions, J as NestedAggregateQuery, K as MetaResponse, L as ClientResponse, M as BucketExpr, N as BucketUnit, O as AggregateQuery, P as CalendarBucketLabel, Q as PatchOf, R as DataOf, S as ActionUnsupportedError, St as defaultMetaStore, T as TransportError, U as FilterExpr, V as DbRow, W as IdOf, X as OwnOf, Y as NestedAggregateResult, Z as PageResult, _ as ActionDisabledError, _t as ValidNested, a as InsertedRow, at as TClientCallOptions, b as ActionTargetError, bt as MetaStoreOptions, c as actionIdentifier, ct as TDbInsertManyIgnoreResult, d as formatIdentifierField, dt as TDbQueryTarget, et as ResponseDataOf, f as ClientValidator, ft as TDbUpdateResult, gt as ValidGroupBy, h as ValidatorMode, ht as UniqueryControls, i as DecoratedRow, it as StageRow, j as AtscriptClientShape, k as AggregateResult, l as encodeNavigateId, lt as TDbInsertManyResult, mt as Uniquery, n as AggregateRows, nt as SearchIndexInfo, o as ReadRow, ot as TDbDeleteResult, p as ClientValidatorOptions, pt as TypedWithRelation, q as NavOf, r as Client, rt as ServerError, s as SingleInsertOf, st as TDbInsertIgnoreResult, t as AggregateCheck, tt as RowOf, u as formatIdentifier, ut as TDbInsertResult, v as ActionDisabledErrorBody, vt as WeekStart, w as ClientValidationError, x as ActionTargetErrorBody, xt as clearMetaStore, y as ActionNotFoundError, yt as MetaStore, z as DbInsert } from "./client-
|
|
1
|
+
import { $ as RelationInfo, A as AggregateStage, B as DbPatch, C as ClientError, D as VersionMismatchErrorBody, E as VersionMismatchError, F as ClientLike, G as InsertOf, H as FieldMeta, I as ClientOptions, J as NestedAggregateQuery, K as MetaResponse, L as ClientResponse, M as BucketExpr, N as BucketUnit, O as AggregateQuery, P as CalendarBucketLabel, Q as PatchOf, R as DataOf, S as ActionUnsupportedError, St as defaultMetaStore, T as TransportError, U as FilterExpr, V as DbRow, W as IdOf, X as OwnOf, Y as NestedAggregateResult, Z as PageResult, _ as ActionDisabledError, _t as ValidNested, a as InsertedRow, at as TClientCallOptions, b as ActionTargetError, bt as MetaStoreOptions, c as actionIdentifier, ct as TDbInsertManyIgnoreResult, d as formatIdentifierField, dt as TDbQueryTarget, et as ResponseDataOf, f as ClientValidator, ft as TDbUpdateResult, gt as ValidGroupBy, h as ValidatorMode, ht as UniqueryControls, i as DecoratedRow, it as StageRow, j as AtscriptClientShape, k as AggregateResult, l as encodeNavigateId, lt as TDbInsertManyResult, mt as Uniquery, n as AggregateRows, nt as SearchIndexInfo, o as ReadRow, ot as TDbDeleteResult, p as ClientValidatorOptions, pt as TypedWithRelation, q as NavOf, r as Client, rt as ServerError, s as SingleInsertOf, st as TDbInsertIgnoreResult, t as AggregateCheck, tt as RowOf, u as formatIdentifier, ut as TDbInsertResult, v as ActionDisabledErrorBody, vt as WeekStart, w as ClientValidationError, x as ActionTargetErrorBody, xt as clearMetaStore, y as ActionNotFoundError, yt as MetaStore, z as DbInsert } from "./client-CFr71FpF.mjs";
|
|
2
2
|
import { BucketSeriesOptions, NextBucketOptions, bucketSeries, bucketStartInstant, nextBucketLabel } from "@uniqu/core";
|
|
3
3
|
import { TSerializedAnnotatedType } from "@atscript/typescript/utils";
|
|
4
4
|
import { TCrudOp, TCrudPermissions, TDbActionInfo, TDbActionIntent, TDbActionLevel, TDbActionProcessor, TDbActionTargetSummary, TDbAvailableActions } from "@atscript/db";
|
package/dist/validator.cjs
CHANGED
|
@@ -14,7 +14,10 @@ var ClientValidator = class {
|
|
|
14
14
|
_options = /* @__PURE__ */ new Map();
|
|
15
15
|
_lenientWrites;
|
|
16
16
|
_translate;
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Flat map of dotted field paths to their annotated types: a navigation
|
|
19
|
+
* field is listed, nothing below it.
|
|
20
|
+
*/
|
|
18
21
|
flatMap;
|
|
19
22
|
/** Set of field paths that are navigation relations (TO/FROM/VIA). */
|
|
20
23
|
navFields;
|
package/dist/validator.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as ClientValidator, g as createClientValidator, h as ValidatorMode, m as DbValidationContext, p as ClientValidatorOptions, w as ClientValidationError } from "./client-
|
|
1
|
+
import { f as ClientValidator, g as createClientValidator, h as ValidatorMode, m as DbValidationContext, p as ClientValidatorOptions, w as ClientValidationError } from "./client-Byw4P7DT.cjs";
|
|
2
2
|
export { ClientValidationError, ClientValidator, ClientValidatorOptions, type DbValidationContext, type ValidatorMode, createClientValidator };
|
package/dist/validator.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as ClientValidator, g as createClientValidator, h as ValidatorMode, m as DbValidationContext, p as ClientValidatorOptions, w as ClientValidationError } from "./client-
|
|
1
|
+
import { f as ClientValidator, g as createClientValidator, h as ValidatorMode, m as DbValidationContext, p as ClientValidatorOptions, w as ClientValidationError } from "./client-CFr71FpF.mjs";
|
|
2
2
|
export { ClientValidationError, ClientValidator, ClientValidatorOptions, type DbValidationContext, type ValidatorMode, createClientValidator };
|
package/dist/validator.mjs
CHANGED
|
@@ -13,7 +13,10 @@ var ClientValidator = class {
|
|
|
13
13
|
_options = /* @__PURE__ */ new Map();
|
|
14
14
|
_lenientWrites;
|
|
15
15
|
_translate;
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Flat map of dotted field paths to their annotated types: a navigation
|
|
18
|
+
* field is listed, nothing below it.
|
|
19
|
+
*/
|
|
17
20
|
flatMap;
|
|
18
21
|
/** Set of field paths that are navigation relations (TO/FROM/VIA). */
|
|
19
22
|
navFields;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/db-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.198",
|
|
4
4
|
"description": "Browser-compatible HTTP client for @atscript/moost-db REST endpoints.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"@uniqu/url": "^0.2.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@atscript/core": "^0.2.
|
|
51
|
-
"@atscript/typescript": "^0.2.
|
|
52
|
-
"unplugin-atscript": "^0.2.
|
|
53
|
-
"@atscript/db": "0.1.
|
|
50
|
+
"@atscript/core": "^0.2.24",
|
|
51
|
+
"@atscript/typescript": "^0.2.24",
|
|
52
|
+
"unplugin-atscript": "^0.2.24",
|
|
53
|
+
"@atscript/db": "0.1.198"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atscript/typescript": "^0.2.
|
|
57
|
-
"@atscript/db": "^0.1.
|
|
56
|
+
"@atscript/typescript": "^0.2.24",
|
|
57
|
+
"@atscript/db": "^0.1.198"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "vp pack",
|