@warp-drive-mirror/json-api 5.6.0-alpha.14 → 5.6.0-alpha.17
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/declarations/-private/cache.d.ts +561 -544
- package/declarations/-private/validate-document-fields.d.ts +2 -3
- package/declarations/-private/validator/1.1/7.1_top-level-document-members.d.ts +10 -11
- package/declarations/-private/validator/1.1/7.2_resource-objects.d.ts +11 -12
- package/declarations/-private/validator/1.1/links.d.ts +22 -23
- package/declarations/-private/validator/index.d.ts +3 -4
- package/declarations/-private/validator/utils.d.ts +61 -60
- package/declarations/index.d.ts +1 -85
- package/dist/index.js +0 -1
- package/package.json +5 -5
- package/declarations/-private/cache.d.ts.map +0 -1
- package/declarations/-private/validate-document-fields.d.ts.map +0 -1
- package/declarations/-private/validator/1.1/7.1_top-level-document-members.d.ts.map +0 -1
- package/declarations/-private/validator/1.1/7.2_resource-objects.d.ts.map +0 -1
- package/declarations/-private/validator/1.1/links.d.ts.map +0 -1
- package/declarations/-private/validator/index.d.ts.map +0 -1
- package/declarations/-private/validator/utils.d.ts.map +0 -1
- package/declarations/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { SchemaService } from
|
|
2
|
-
import type { CollectionResourceDocument, SingleResourceDocument } from
|
|
1
|
+
import type { SchemaService } from "@warp-drive-mirror/core/types";
|
|
2
|
+
import type { CollectionResourceDocument, SingleResourceDocument } from "@warp-drive-mirror/core/types/spec/json-api-raw";
|
|
3
3
|
export declare function validateDocumentFields(schema: SchemaService, jsonApiDoc: SingleResourceDocument | CollectionResourceDocument): void;
|
|
4
|
-
//# sourceMappingURL=validate-document-fields.d.ts.map
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import type { ResourceDocument } from
|
|
2
|
-
import { type Reporter } from
|
|
1
|
+
import type { ResourceDocument } from "@warp-drive-mirror/core/types/spec/document";
|
|
2
|
+
import { type Reporter } from "../utils.js";
|
|
3
3
|
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
* Reports issues which violate the JSON:API spec for top-level members.
|
|
5
|
+
*
|
|
6
|
+
* Version: 1.1
|
|
7
|
+
* Section: 7.1
|
|
8
|
+
* Link: https://jsonapi.org/format/#document-top-level
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
12
|
export declare function validateTopLevelDocumentMembers(reporter: Reporter, doc: ResourceDocument): void;
|
|
13
|
-
//# sourceMappingURL=7.1_top-level-document-members.d.ts.map
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import type { ResourceDocument } from
|
|
2
|
-
import { type Reporter } from
|
|
1
|
+
import type { ResourceDocument } from "@warp-drive-mirror/core/types/spec/document";
|
|
2
|
+
import { type Reporter } from "../utils.js";
|
|
3
3
|
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
* Validates the resource objects in either the `data` or `included` members of
|
|
5
|
+
* JSON:API document.
|
|
6
|
+
*
|
|
7
|
+
* Version: 1.1
|
|
8
|
+
* Section: 7.2
|
|
9
|
+
* Link: https://jsonapi.org/format/#document-resource-objects
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
13
|
export declare function validateDocumentResources(reporter: Reporter, doc: ResourceDocument): void;
|
|
14
|
-
//# sourceMappingURL=7.2_resource-objects.d.ts.map
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import type { ResourceDocument } from
|
|
2
|
-
import type { CollectionResourceRelationship, ResourceObject, SingleResourceRelationship } from
|
|
3
|
-
import { type PathLike, type Reporter } from
|
|
1
|
+
import type { ResourceDocument } from "@warp-drive-mirror/core/types/spec/document";
|
|
2
|
+
import type { CollectionResourceRelationship, ResourceObject, SingleResourceRelationship } from "@warp-drive-mirror/core/types/spec/json-api-raw";
|
|
3
|
+
import { type PathLike, type Reporter } from "../utils.js";
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export declare function validateLinks(reporter: Reporter, doc: ResourceDocument | ResourceObject | SingleResourceRelationship | CollectionResourceRelationship, type:
|
|
24
|
-
//# sourceMappingURL=links.d.ts.map
|
|
5
|
+
* Validates the links object in a top-level JSON API document or resource object
|
|
6
|
+
*
|
|
7
|
+
* Version: 1.1
|
|
8
|
+
*
|
|
9
|
+
* Section: 7.1 Top Level
|
|
10
|
+
* Link: https://jsonapi.org/format/#document-top-level
|
|
11
|
+
*
|
|
12
|
+
* Section: 7.2.3 Resource Objects
|
|
13
|
+
* Link: https://jsonapi.org/format/#document-resource-object-links
|
|
14
|
+
*
|
|
15
|
+
* Section: 7.2.2.2 Resource Relationships
|
|
16
|
+
* Link: https://jsonapi.org/format/#document-resource-object-relationships
|
|
17
|
+
*
|
|
18
|
+
* Section: 7.6 Document Links
|
|
19
|
+
* Link: https://jsonapi.org/format/#document-links
|
|
20
|
+
*
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare function validateLinks(reporter: Reporter, doc: ResourceDocument | ResourceObject | SingleResourceRelationship | CollectionResourceRelationship, type: "collection-document" | "resource-document" | "resource" | "resource-relationship" | "collection-relationship", path?: PathLike): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { CacheCapabilitiesManager } from
|
|
2
|
-
import type { StructuredDocument } from
|
|
3
|
-
import type { ResourceDocument } from
|
|
1
|
+
import type { CacheCapabilitiesManager } from "@warp-drive-mirror/core/types";
|
|
2
|
+
import type { StructuredDocument } from "@warp-drive-mirror/core/types/request";
|
|
3
|
+
import type { ResourceDocument } from "@warp-drive-mirror/core/types/spec/document";
|
|
4
4
|
export declare function validateDocument(capabilities: CacheCapabilitiesManager, doc: StructuredDocument<ResourceDocument>): void;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,76 +1,77 @@
|
|
|
1
|
-
import type { FuseResult } from
|
|
2
|
-
import Fuse from
|
|
3
|
-
import jsonToAst from
|
|
4
|
-
import type { CacheCapabilitiesManager } from
|
|
5
|
-
import type { StructuredDataDocument, StructuredDocument, StructuredErrorDocument } from
|
|
6
|
-
import type { FieldSchema } from
|
|
7
|
-
import type { ResourceDataDocument, ResourceDocument, ResourceErrorDocument, ResourceMetaDocument } from
|
|
1
|
+
import type { FuseResult } from "fuse.js";
|
|
2
|
+
import Fuse from "fuse.js";
|
|
3
|
+
import jsonToAst from "json-to-ast";
|
|
4
|
+
import type { CacheCapabilitiesManager, SchemaService } from "@warp-drive-mirror/core/types";
|
|
5
|
+
import type { StructuredDataDocument, StructuredDocument, StructuredErrorDocument } from "@warp-drive-mirror/core/types/request";
|
|
6
|
+
import type { FieldSchema } from "@warp-drive-mirror/core/types/schema/fields";
|
|
7
|
+
import type { ResourceDataDocument, ResourceDocument, ResourceErrorDocument, ResourceMetaDocument } from "@warp-drive-mirror/core/types/spec/document";
|
|
8
8
|
export declare function inspectType(obj: unknown): string;
|
|
9
9
|
export declare function isSimpleObject(obj: unknown): obj is Record<string, unknown>;
|
|
10
10
|
export declare const RELATIONSHIP_FIELD_KINDS: string[];
|
|
11
11
|
export type PathLike = Array<string | number>;
|
|
12
12
|
interface ErrorReport {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
13
|
+
path: PathLike;
|
|
14
|
+
message: string;
|
|
15
|
+
loc: {
|
|
16
|
+
start: {
|
|
17
|
+
line: number;
|
|
18
|
+
column: number;
|
|
19
|
+
offset: number;
|
|
20
|
+
};
|
|
21
|
+
end: {
|
|
22
|
+
line: number;
|
|
23
|
+
column: number;
|
|
24
|
+
offset: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type: "error" | "warning" | "info";
|
|
28
|
+
kind: "key" | "value";
|
|
29
29
|
}
|
|
30
30
|
export declare class Reporter {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
31
|
+
capabilities: CacheCapabilitiesManager;
|
|
32
|
+
contextDocument: StructuredDocument<ResourceDocument>;
|
|
33
|
+
errors: ErrorReport[];
|
|
34
|
+
ast: ReturnType<typeof jsonToAst>;
|
|
35
|
+
jsonStr: string;
|
|
36
|
+
// TODO @runspired make this configurable to consuming apps before
|
|
37
|
+
// activating by default
|
|
38
|
+
strict: {
|
|
39
|
+
linkage: boolean;
|
|
40
|
+
unknownType: boolean;
|
|
41
|
+
unknownAttribute: boolean;
|
|
42
|
+
unknownRelationship: boolean;
|
|
43
|
+
};
|
|
44
|
+
constructor(capabilities: CacheCapabilitiesManager, doc: StructuredDocument<ResourceDocument>);
|
|
45
|
+
_typeFilter: Fuse<string> | undefined;
|
|
46
|
+
searchTypes(type: string): FuseResult<string>[];
|
|
47
|
+
_fieldFilters: Map<string, Fuse<string>>;
|
|
48
|
+
searchFields(type: string, field: string): FuseResult<string>[];
|
|
49
|
+
get schema(): SchemaService;
|
|
50
|
+
getLocation(path: PathLike, kind: "key" | "value"): {
|
|
51
|
+
start: {
|
|
52
|
+
line: number;
|
|
53
|
+
column: number;
|
|
54
|
+
offset: number;
|
|
55
|
+
};
|
|
56
|
+
end: {
|
|
57
|
+
line: number;
|
|
58
|
+
column: number;
|
|
59
|
+
offset: number;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
error(path: PathLike, message: string, kind?: "key" | "value"): void;
|
|
63
|
+
warn(path: PathLike, message: string, kind?: "key" | "value"): void;
|
|
64
|
+
info(path: PathLike, message: string, kind?: "key" | "value"): void;
|
|
65
|
+
hasExtension(extensionName: string): boolean;
|
|
66
|
+
getExtension(extensionName: string): ReporterFn | undefined;
|
|
67
|
+
report(colorize?: boolean): void;
|
|
66
68
|
}
|
|
67
69
|
type ReporterFn = (reporter: Reporter, path: PathLike) => void;
|
|
68
70
|
export declare function isMetaDocument(doc: StructuredDocument<ResourceDocument>): doc is StructuredDataDocument<ResourceMetaDocument>;
|
|
69
71
|
export declare function isErrorDocument(doc: StructuredDocument<ResourceDocument>): doc is StructuredErrorDocument<ResourceErrorDocument>;
|
|
70
72
|
export declare function isPushedDocument(doc: unknown): doc is {
|
|
71
|
-
|
|
73
|
+
content: ResourceDataDocument;
|
|
72
74
|
};
|
|
73
75
|
export declare function logPotentialMatches(matches: FuseResult<string>[], kind: string): string;
|
|
74
76
|
export declare function getRemoteField(fields: Map<string, FieldSchema>, key: string): FieldSchema | undefined;
|
|
75
77
|
export {};
|
|
76
|
-
//# sourceMappingURL=utils.d.ts.map
|
package/declarations/index.d.ts
CHANGED
|
@@ -1,85 +1 @@
|
|
|
1
|
-
export { JSONAPICache } from
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
This package provides an in-memory [JSON:API](https://jsonapi.org/) document and resource [*Ember***Data** Cache](https://github.com/emberjs/data/blob/main/ember-data-types/cache/cache.ts) implementation.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
Install using your javascript package manager of choice. For instance with [pnpm](https://pnpm.io/)
|
|
10
|
-
|
|
11
|
-
```no-highlight
|
|
12
|
-
pnpm add @ember-data-mirror/json-api
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## 🚀 Setup
|
|
16
|
-
|
|
17
|
-
> **Note**
|
|
18
|
-
> When using [ember-data](https://github.com/emberjs/data/blob/main/packages/-ember-data) the below
|
|
19
|
-
> configuration is handled for you automatically.
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
import Store from '@ember-data-mirror/store';
|
|
23
|
-
import Cache from '@ember-data-mirror/json-api';
|
|
24
|
-
|
|
25
|
-
export default class extends Store {
|
|
26
|
-
createCache(wrapper) {
|
|
27
|
-
return new Cache(wrapper);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## Usage
|
|
34
|
-
|
|
35
|
-
Usually you will directly interact with the cache only if implementing a presentation class. Below we
|
|
36
|
-
give an example of a read-only record (mutations never written back to the cache). More typically cache
|
|
37
|
-
interactions are something that the `Store` coordinates as part of the `request/response` lifecycle.
|
|
38
|
-
|
|
39
|
-
```ts
|
|
40
|
-
import Store, { recordIdentifierFor } from '@ember-data-mirror/store';
|
|
41
|
-
import Cache from '@ember-data-mirror/json-api';
|
|
42
|
-
import { TrackedObject } from 'tracked-built-ins';
|
|
43
|
-
|
|
44
|
-
class extends Store {
|
|
45
|
-
createCache(wrapper) {
|
|
46
|
-
return new Cache(wrapper);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
instantiateRecord(identifier) {
|
|
50
|
-
const { cache, notifications } = this;
|
|
51
|
-
const { type, id } = identifier;
|
|
52
|
-
|
|
53
|
-
// create a TrackedObject with our attributes, id and type
|
|
54
|
-
const attrs = cache.peek(identifier).attributes;
|
|
55
|
-
const data = Object.assign({}, attrs, { type, id });
|
|
56
|
-
const record = new TrackedObject(data);
|
|
57
|
-
|
|
58
|
-
// update the TrackedObject whenever attributes change
|
|
59
|
-
const token = notifications.subscribe(identifier, (_, change) => {
|
|
60
|
-
if (change === 'attributes') {
|
|
61
|
-
Object.assign(record, cache.peek(identifier).attributes);
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
// setup the ability to teardown the subscription when the
|
|
66
|
-
// record is no longer needed
|
|
67
|
-
record.destroy = () => {
|
|
68
|
-
this.notifications.unsubscribe(token);
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
return record;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
teardownRecord(record: FakeRecord) {
|
|
75
|
-
record.destroy();
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
For the full list of APIs see the docs for [Cache Interface](https://api.emberjs.com/ember-data/release/classes/%3CInterface%3E%20Cache)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
@module
|
|
84
|
-
*/
|
|
85
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export { JSONAPICache } from "./-private/cache.js";
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive-mirror/json-api",
|
|
3
|
-
"version": "5.6.0-alpha.
|
|
3
|
+
"version": "5.6.0-alpha.17",
|
|
4
4
|
"description": "A {JSON:API} Cache Implementation for WarpDrive",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@warp-drive-mirror/core": "5.6.0-alpha.
|
|
35
|
+
"@warp-drive-mirror/core": "5.6.0-alpha.17"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@embroider/macros": "^1.16.12",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@babel/plugin-transform-typescript": "^7.27.0",
|
|
45
45
|
"@babel/preset-typescript": "^7.27.0",
|
|
46
46
|
"@types/json-to-ast": "^2.1.4",
|
|
47
|
-
"@warp-drive/internal-config": "5.6.0-alpha.
|
|
48
|
-
"@warp-drive-mirror/core": "5.6.0-alpha.
|
|
47
|
+
"@warp-drive/internal-config": "5.6.0-alpha.17",
|
|
48
|
+
"@warp-drive-mirror/core": "5.6.0-alpha.17",
|
|
49
49
|
"decorator-transforms": "^2.3.0",
|
|
50
50
|
"expect-type": "^1.2.1",
|
|
51
51
|
"typescript": "^5.8.3",
|
|
52
|
-
"vite": "^
|
|
52
|
+
"vite": "^7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"volta": {
|
|
55
55
|
"extends": "../../../../../../package.json"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/-private/cache.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAkB,KAAK,EAAyC,MAAM,iCAAiC,CAAC;AAGpH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACnG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,EAKV,SAAS,EAQV,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAC9G,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EACV,wBAAwB,EACxB,8BAA8B,EAC9B,sB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;;;;OAIG;IACH,YAAY,CAAC,UAAU,EAAE,sBAAsB,GAAG,cAAc;IAOhE;;;;;OAKG;IACH,UAAU,CAAC,UAAU,EAAE,sBAAsB,EAAE,cAAc,EAAE,OAAO,GAAG,cAAc,GAAG,SAAS;IAQnG;;;;;OAKG;IACH,MAAM,CAAC,UAAU,EAAE,sBAAsB,EAAE,cAAc,EAAE,OAAO,GAAG,cAAc;CAQpF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-document-fields.d.ts","sourceRoot":"","sources":["../../src/-private/validate-document-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,KAAK,EACV,0BAA0B,EAI1B,sBAAsB,EACvB,MAAM,0CAA0C,CAAC;AAElD,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,aAAa,EACrB,UAAU,EAAE,sBAAsB,GAAG,0BAA0B,QA0BhE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"7.1_top-level-document-members.d.ts","sourceRoot":"","sources":["../../../../src/-private/validator/1.1/7.1_top-level-document-members.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,EAA+B,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAItE;;;;;;;;GAQG;AACH,wBAAgB,+BAA+B,CAAC,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,gBAAgB,QA8HxF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"7.2_resource-objects.d.ts","sourceRoot":"","sources":["../../../../src/-private/validator/1.1/7.2_resource-objects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,EAOL,KAAK,QAAQ,EACd,MAAM,UAAU,CAAC;AAKlB;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,gBAAgB,QAiDlF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../src/-private/validator/1.1/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,KAAK,EACV,8BAA8B,EAC9B,cAAc,EACd,0BAA0B,EAC3B,MAAM,0CAA0C,CAAC;AAElD,OAAO,EAA+B,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMrF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,gBAAgB,GAAG,cAAc,GAAG,0BAA0B,GAAG,8BAA8B,EACpG,IAAI,EAAE,qBAAqB,GAAG,mBAAmB,GAAG,UAAU,GAAG,uBAAuB,GAAG,yBAAyB,EACpH,IAAI,GAAE,QAAoB,QA6E3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/-private/validator/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAA0B,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAO7E,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,wBAAwB,EAAE,GAAG,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,QA8BjH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/-private/validator/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,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