@warp-drive/core 5.8.0-alpha.3 → 5.8.0-alpha.30
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/README.md +22 -38
- package/declarations/build-config.d.ts +18 -1
- package/declarations/graph/-private/-edge-definition.d.ts +12 -2
- package/declarations/index.d.ts +82 -3
- package/declarations/reactive/-private/document.d.ts +58 -46
- package/declarations/reactive/-private/record.d.ts +10 -1
- package/declarations/reactive/-private/schema.d.ts +77 -4
- package/declarations/reactive/-private.d.ts +1 -0
- package/declarations/reactive.d.ts +13 -7
- package/declarations/request/-private/types.d.ts +1 -1
- package/declarations/request.d.ts +47 -0
- package/declarations/store/-private/caches/instance-cache.d.ts +4 -5
- package/declarations/store/-private/default-cache-policy.d.ts +147 -129
- package/declarations/store/-private/managers/cache-capabilities-manager.d.ts +1 -1
- package/declarations/store/-private/managers/cache-key-manager.d.ts +26 -8
- package/declarations/store/-private/managers/cache-manager.d.ts +6 -4
- package/declarations/store/-private/managers/notification-manager.d.ts +1 -1
- package/declarations/store/-private/new-core-tmp/promise-state.d.ts +1 -0
- package/declarations/store/-private/new-core-tmp/request-state.d.ts +1 -1
- package/declarations/store/-private/store-service.d.ts +43 -64
- package/declarations/store/-private.d.ts +0 -1
- package/declarations/store/-types/q/cache-capabilities-manager.d.ts +1 -1
- package/declarations/store/deprecated/store.d.ts +33 -32
- package/declarations/store.d.ts +1 -0
- package/declarations/types/cache.d.ts +8 -6
- package/declarations/types/record.d.ts +132 -0
- package/declarations/types/request.d.ts +26 -14
- package/declarations/types/schema/fields.d.ts +30 -6
- package/declarations/{store/-types/q → types/schema}/schema-service.d.ts +11 -9
- package/declarations/types/spec/document.d.ts +34 -0
- package/declarations/types/symbols.d.ts +2 -2
- package/declarations/types.d.ts +1 -1
- package/dist/build-config.js +1 -1
- package/dist/default-cache-policy-D7_u4YRH.js +572 -0
- package/dist/graph/-private.js +13 -4
- package/dist/{request-state-CUuZzgvE.js → index-CHrZ1B2X.js} +10081 -8924
- package/dist/index.js +6 -382
- package/dist/reactive.js +4 -778
- package/dist/{context-C_7OLieY.js → request-oqoLC9rz.js} +219 -172
- package/dist/request.js +1 -1
- package/dist/store/-private.js +1 -1
- package/dist/store.js +1 -533
- package/dist/types/-private.js +1 -1
- package/dist/types/record.js +127 -0
- package/dist/types/request.js +14 -12
- package/dist/types/schema/fields.js +14 -0
- package/dist/types/schema/schema-service.js +0 -0
- package/dist/types/symbols.js +2 -2
- package/logos/README.md +2 -2
- package/logos/logo-yellow-slab.svg +1 -0
- package/logos/word-mark-black.svg +1 -0
- package/logos/word-mark-white.svg +1 -0
- package/package.json +3 -3
- package/logos/NCC-1701-a-blue.svg +0 -4
- package/logos/NCC-1701-a-gold.svg +0 -4
- package/logos/NCC-1701-a-gold_100.svg +0 -1
- package/logos/NCC-1701-a-gold_base-64.txt +0 -1
- package/logos/NCC-1701-a.svg +0 -4
- package/logos/docs-badge.svg +0 -2
- package/logos/ember-data-logo-dark.svg +0 -12
- package/logos/ember-data-logo-light.svg +0 -12
- package/logos/social1.png +0 -0
- package/logos/social2.png +0 -0
- package/logos/warp-drive-logo-dark.svg +0 -4
- package/logos/warp-drive-logo-gold.svg +0 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FetchError } from "../request/-private/utils.js";
|
|
1
2
|
import type { Store } from "../store/-private.js";
|
|
2
3
|
import type { ResourceKey } from "./identifier.js";
|
|
3
4
|
import type { QueryParamsSerializationOptions } from "./params.js";
|
|
@@ -8,12 +9,14 @@ export declare const SkipCache: "___(unique) Symbol(SkipCache)";
|
|
|
8
9
|
export declare const EnableHydration: "___(unique) Symbol(EnableHydration)";
|
|
9
10
|
export declare const IS_FUTURE: "___(unique) Symbol(IS_FUTURE)";
|
|
10
11
|
export declare const STRUCTURED: "___(unique) Symbol(DOC)";
|
|
12
|
+
export type { FetchError };
|
|
11
13
|
export type HTTPMethod = "QUERY" | "GET" | "OPTIONS" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "CONNECT" | "TRACE";
|
|
12
14
|
/**
|
|
13
|
-
* Use these options to adjust CacheHandler behavior for a request
|
|
15
|
+
* Use these options to adjust {@link CacheHandler} behavior for a request
|
|
16
|
+
* via {@link RequestInfo.cacheOptions}.
|
|
14
17
|
*
|
|
15
18
|
*/
|
|
16
|
-
export
|
|
19
|
+
export interface CacheOptions {
|
|
17
20
|
/**
|
|
18
21
|
* A key that uniquely identifies this request. If not present, the url wil be used
|
|
19
22
|
* as the key for any GET request, while all other requests will not be cached.
|
|
@@ -57,7 +60,7 @@ export type CacheOptions = {
|
|
|
57
60
|
*
|
|
58
61
|
*/
|
|
59
62
|
[SkipCache]?: boolean;
|
|
60
|
-
}
|
|
63
|
+
}
|
|
61
64
|
export type FindRecordRequestOptions<
|
|
62
65
|
RT = unknown,
|
|
63
66
|
T = unknown
|
|
@@ -158,11 +161,15 @@ export interface FindRecordOptions extends ConstrainedRequestOptions {
|
|
|
158
161
|
include?: string | string[];
|
|
159
162
|
}
|
|
160
163
|
/**
|
|
161
|
-
* When a
|
|
162
|
-
* containing the original
|
|
163
|
-
* chain (if any), and
|
|
164
|
+
* When a {@link Future} resolves, it returns an object
|
|
165
|
+
* containing the original {@link RequestInfo | request},
|
|
166
|
+
* the {@link Response | response} set by the handler chain (if any), and
|
|
167
|
+
* the processed content.
|
|
164
168
|
*/
|
|
165
169
|
export interface StructuredDataDocument<T> {
|
|
170
|
+
/**
|
|
171
|
+
* @private
|
|
172
|
+
*/
|
|
166
173
|
[STRUCTURED]?: true;
|
|
167
174
|
/**
|
|
168
175
|
* @see {@link ImmutableRequestInfo}
|
|
@@ -172,25 +179,34 @@ export interface StructuredDataDocument<T> {
|
|
|
172
179
|
content: T;
|
|
173
180
|
}
|
|
174
181
|
/**
|
|
175
|
-
* When a
|
|
176
|
-
*
|
|
182
|
+
* When a {@link Future} rejects, it throws either an {@link Error}
|
|
183
|
+
* an {@link AggregateError} or a {@link DOMException} that maintains
|
|
184
|
+
* the `{ request, response, content }` shape but is also an Error instance
|
|
177
185
|
* itself.
|
|
178
186
|
*
|
|
179
187
|
* If using the error originates from the {@link Fetch | Fetch Handler}
|
|
180
188
|
* the error will be a {@link FetchError}
|
|
181
189
|
*/
|
|
182
190
|
export interface StructuredErrorDocument<T = unknown> extends Error {
|
|
191
|
+
/**
|
|
192
|
+
* @private
|
|
193
|
+
*/
|
|
183
194
|
[STRUCTURED]?: true;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link ImmutableRequestInfo}
|
|
197
|
+
*/
|
|
184
198
|
request: ImmutableRequestInfo;
|
|
185
199
|
response: Response | ResponseInfo | null;
|
|
186
200
|
error: string | object;
|
|
187
201
|
content?: T;
|
|
188
202
|
}
|
|
189
203
|
/**
|
|
190
|
-
* A union of the resolve/reject data types for
|
|
204
|
+
* A union of the resolve/reject data types for the {@link Future}
|
|
205
|
+
* returned by {@link Store.request | request}
|
|
191
206
|
*
|
|
192
|
-
* See the docs for:
|
|
207
|
+
* See also the docs for:
|
|
193
208
|
*
|
|
209
|
+
* - {@link Future}
|
|
194
210
|
* - {@link StructuredDataDocument} (resolved/successful requests)
|
|
195
211
|
* - {@link StructuredErrorDocument} (rejected/failed requests)
|
|
196
212
|
*/
|
|
@@ -349,7 +365,3 @@ export interface RequestContext {
|
|
|
349
365
|
setStream(stream: ReadableStream | Promise<ReadableStream | null>): void;
|
|
350
366
|
setResponse(response: Response | ResponseInfo | null): void;
|
|
351
367
|
}
|
|
352
|
-
export declare function withBrand<T>(obj: RequestInfo): RequestInfo<T> & {
|
|
353
|
-
[RequestSignature]: T;
|
|
354
|
-
};
|
|
355
|
-
export {};
|
|
@@ -673,7 +673,7 @@ export interface ArrayField {
|
|
|
673
673
|
*
|
|
674
674
|
* Configures which extensions this array is allowed to use.
|
|
675
675
|
* Extensions are registered with the store's schema service
|
|
676
|
-
* via {@link SchemaService.
|
|
676
|
+
* via {@link SchemaService.CAUTION_MEGA_DANGER_ZONE_registerExtension}
|
|
677
677
|
*
|
|
678
678
|
* Extensions should only be used for temporary enhancements
|
|
679
679
|
* to arrays to support migrating away from deprecated behaviors
|
|
@@ -786,7 +786,7 @@ export interface SchemaArrayField {
|
|
|
786
786
|
*
|
|
787
787
|
* Configures which extensions this array is allowed to use.
|
|
788
788
|
* Extensions are registered with the store's schema service
|
|
789
|
-
* via {@link SchemaService.
|
|
789
|
+
* via {@link SchemaService.CAUTION_MEGA_DANGER_ZONE_registerExtension}
|
|
790
790
|
*
|
|
791
791
|
* Extensions should only be used for temporary enhancements
|
|
792
792
|
* to arrays to support migrating away from deprecated behaviors
|
|
@@ -1285,6 +1285,9 @@ export interface LegacyBelongsToField {
|
|
|
1285
1285
|
*
|
|
1286
1286
|
* If null, the relationship is unidirectional.
|
|
1287
1287
|
*
|
|
1288
|
+
* If the inverse field definition uses a sourceKey,
|
|
1289
|
+
* this should still be the name of the field, not the sourceKey.
|
|
1290
|
+
*
|
|
1288
1291
|
* @public
|
|
1289
1292
|
*/
|
|
1290
1293
|
inverse: string | null;
|
|
@@ -1307,8 +1310,9 @@ export interface LegacyBelongsToField {
|
|
|
1307
1310
|
*/
|
|
1308
1311
|
polymorphic?: boolean;
|
|
1309
1312
|
/**
|
|
1310
|
-
* Whether this field should ever make use of the legacy
|
|
1311
|
-
* from @
|
|
1313
|
+
* Whether this field should ever make use of the legacy request infra
|
|
1314
|
+
* from @warp-drive/legacy/compat and the LegacyNetworkMiddleware for
|
|
1315
|
+
* adapters and serializers.
|
|
1312
1316
|
*
|
|
1313
1317
|
* When true, none of the legacy support will be utilized. Sync relationships
|
|
1314
1318
|
* will be expected to already have all their data. When reloading a sync relationship
|
|
@@ -1433,6 +1437,9 @@ export interface LinksModeBelongsToField {
|
|
|
1433
1437
|
*
|
|
1434
1438
|
* If null, the relationship is unidirectional.
|
|
1435
1439
|
*
|
|
1440
|
+
* If the inverse field definition uses a sourceKey,
|
|
1441
|
+
* this should still be the name of the field, not the sourceKey.
|
|
1442
|
+
*
|
|
1436
1443
|
* @public
|
|
1437
1444
|
*/
|
|
1438
1445
|
inverse: string | null;
|
|
@@ -1571,7 +1578,7 @@ export interface LegacyHasManyField {
|
|
|
1571
1578
|
*
|
|
1572
1579
|
* Configures which extensions this array is allowed to use.
|
|
1573
1580
|
* Extensions are registered with the store's schema service
|
|
1574
|
-
* via {@link SchemaService.
|
|
1581
|
+
* via {@link SchemaService.CAUTION_MEGA_DANGER_ZONE_registerExtension}
|
|
1575
1582
|
*
|
|
1576
1583
|
* Extensions should only be used for temporary enhancements
|
|
1577
1584
|
* to arrays to support migrating away from deprecated behaviors
|
|
@@ -1604,6 +1611,9 @@ export interface LegacyHasManyField {
|
|
|
1604
1611
|
*
|
|
1605
1612
|
* If null, the relationship is unidirectional.
|
|
1606
1613
|
*
|
|
1614
|
+
* If the inverse field definition uses a sourceKey,
|
|
1615
|
+
* this should still be the name of the field, not the sourceKey.
|
|
1616
|
+
*
|
|
1607
1617
|
* @public
|
|
1608
1618
|
*/
|
|
1609
1619
|
inverse: string | null;
|
|
@@ -1742,7 +1752,7 @@ export interface LinksModeHasManyField {
|
|
|
1742
1752
|
*
|
|
1743
1753
|
* Configures which extensions this array is allowed to use.
|
|
1744
1754
|
* Extensions are registered with the store's schema service
|
|
1745
|
-
* via {@link SchemaService.
|
|
1755
|
+
* via {@link SchemaService.CAUTION_MEGA_DANGER_ZONE_registerExtension}
|
|
1746
1756
|
*
|
|
1747
1757
|
* Extensions should only be used for temporary enhancements
|
|
1748
1758
|
* to arrays to support migrating away from deprecated behaviors
|
|
@@ -1777,6 +1787,9 @@ export interface LinksModeHasManyField {
|
|
|
1777
1787
|
*
|
|
1778
1788
|
* If null, the relationship is unidirectional.
|
|
1779
1789
|
*
|
|
1790
|
+
* If the inverse field definition uses a sourceKey,
|
|
1791
|
+
* this should still be the name of the field, not the sourceKey.
|
|
1792
|
+
*
|
|
1780
1793
|
* @public
|
|
1781
1794
|
*/
|
|
1782
1795
|
inverse: string | null;
|
|
@@ -2125,18 +2138,29 @@ export interface ObjectSchema {
|
|
|
2125
2138
|
objectExtensions?: string[];
|
|
2126
2139
|
}
|
|
2127
2140
|
export type Schema = ResourceSchema | ObjectSchema;
|
|
2141
|
+
/**
|
|
2142
|
+
* A trait for use on a PolarisMode record
|
|
2143
|
+
*/
|
|
2128
2144
|
export interface PolarisTrait {
|
|
2129
2145
|
name: string;
|
|
2130
2146
|
mode: "polaris";
|
|
2131
2147
|
fields: PolarisModeFieldSchema[];
|
|
2132
2148
|
traits?: string[];
|
|
2133
2149
|
}
|
|
2150
|
+
/**
|
|
2151
|
+
* A trait for use on a LegacyMode record
|
|
2152
|
+
*/
|
|
2134
2153
|
export interface LegacyTrait {
|
|
2135
2154
|
name: string;
|
|
2136
2155
|
mode: "legacy";
|
|
2137
2156
|
fields: LegacyModeFieldSchema[];
|
|
2138
2157
|
traits?: string[];
|
|
2139
2158
|
}
|
|
2159
|
+
/**
|
|
2160
|
+
* A union of
|
|
2161
|
+
* - {@link LegacyTrait}
|
|
2162
|
+
* - {@link PolarisTrait}
|
|
2163
|
+
*/
|
|
2140
2164
|
export type Trait = LegacyTrait | PolarisTrait;
|
|
2141
2165
|
/**
|
|
2142
2166
|
* A no-op type utility that enables type-checking resource schema
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { CAUTION_MEGA_DANGER_ZONE_Extension, ProcessedExtension } from "
|
|
2
|
-
import type { ExtensibleField } from "
|
|
3
|
-
import type { ResourceKey } from "
|
|
4
|
-
import type { ObjectValue } from "
|
|
5
|
-
import type { Derivation, HashFn, Transformation } from "
|
|
6
|
-
import type { ArrayField, CacheableFieldSchema, DerivedField, FieldSchema, GenericField, HashField, IdentityField, LegacyAttributeField, LegacyRelationshipField, ObjectField, Schema, Trait } from "
|
|
1
|
+
import type { CAUTION_MEGA_DANGER_ZONE_Extension, ProcessedExtension } from "../../reactive.js";
|
|
2
|
+
import type { ExtensibleField } from "../../reactive/-private/schema.js";
|
|
3
|
+
import type { ResourceKey } from "../identifier.js";
|
|
4
|
+
import type { ObjectValue } from "../json/raw.js";
|
|
5
|
+
import type { Derivation, HashFn, Transformation } from "./concepts.js";
|
|
6
|
+
import type { ArrayField, CacheableFieldSchema, DerivedField, FieldSchema, GenericField, HashField, IdentityField, LegacyAttributeField, LegacyRelationshipField, ObjectField, Schema, Trait } from "./fields.js";
|
|
7
7
|
export type AttributesSchema = Record<string, LegacyAttributeField>;
|
|
8
8
|
export type RelationshipsSchema = Record<string, LegacyRelationshipField>;
|
|
9
9
|
interface ObjectWithStringTypeProperty {
|
|
@@ -66,7 +66,7 @@ export interface SchemaService {
|
|
|
66
66
|
* Queries whether the SchemaService recognizes `type` as a resource type
|
|
67
67
|
*
|
|
68
68
|
* @public
|
|
69
|
-
* @deprecated
|
|
69
|
+
* @deprecated - use {@link SchemaService.hasResource | hasResource}
|
|
70
70
|
*/
|
|
71
71
|
doesTypeExist?(type: string): boolean;
|
|
72
72
|
/**
|
|
@@ -251,7 +251,7 @@ export interface SchemaService {
|
|
|
251
251
|
* ```
|
|
252
252
|
*
|
|
253
253
|
* @public
|
|
254
|
-
* @deprecated
|
|
254
|
+
* @deprecated - use {@link SchemaService.fields | fields}
|
|
255
255
|
*/
|
|
256
256
|
attributesDefinitionFor?(key: ResourceKey | ObjectWithStringTypeProperty): AttributesSchema;
|
|
257
257
|
/**
|
|
@@ -330,7 +330,7 @@ export interface SchemaService {
|
|
|
330
330
|
* ```
|
|
331
331
|
*
|
|
332
332
|
* @public
|
|
333
|
-
* @deprecated
|
|
333
|
+
* @deprecated - use {@link SchemaService.fields | fields}
|
|
334
334
|
*/
|
|
335
335
|
relationshipsDefinitionFor?(key: ResourceKey | ObjectWithStringTypeProperty): RelationshipsSchema;
|
|
336
336
|
/**
|
|
@@ -342,6 +342,8 @@ export interface SchemaService {
|
|
|
342
342
|
/**
|
|
343
343
|
* Register an extension for either objects or arrays
|
|
344
344
|
*
|
|
345
|
+
* See also {@link CAUTION_MEGA_DANGER_ZONE_Extension}
|
|
346
|
+
*
|
|
345
347
|
* @public
|
|
346
348
|
*/
|
|
347
349
|
CAUTION_MEGA_DANGER_ZONE_registerExtension?(extension: CAUTION_MEGA_DANGER_ZONE_Extension): void;
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import type { PersistedResourceKey } from "../identifier.js";
|
|
2
2
|
import type { ApiError } from "./error.js";
|
|
3
3
|
import type { Links, Meta, PaginationLinks } from "./json-api-raw.js";
|
|
4
|
+
/**
|
|
5
|
+
* This type represents a raw {json:api} document for a meta-only
|
|
6
|
+
* document returned by a request intended to be inserted into the cache.
|
|
7
|
+
*/
|
|
4
8
|
export interface ResourceMetaDocument {
|
|
5
9
|
lid?: string;
|
|
6
10
|
meta: Meta;
|
|
7
11
|
links?: Links | PaginationLinks;
|
|
8
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* This type represents a raw {json:api} document for a single resource
|
|
15
|
+
* returned by a request intended to be inserted into the cache.
|
|
16
|
+
*
|
|
17
|
+
* For the Reactive value returned by a request using the store, use {@link ReactiveDataDocument} instead.
|
|
18
|
+
*/
|
|
9
19
|
export interface SingleResourceDataDocument<
|
|
10
20
|
T = PersistedResourceKey,
|
|
11
21
|
R = PersistedResourceKey
|
|
@@ -16,6 +26,12 @@ export interface SingleResourceDataDocument<
|
|
|
16
26
|
data: T | null;
|
|
17
27
|
included?: R[];
|
|
18
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* This type represents a raw {json:api} document for a resource collection
|
|
31
|
+
* returned by a request intended to be inserted into the cache.
|
|
32
|
+
*
|
|
33
|
+
* For the Reactive value returned by a request using the store, use {@link ReactiveDataDocument} instead.
|
|
34
|
+
*/
|
|
19
35
|
export interface CollectionResourceDataDocument<T = PersistedResourceKey> {
|
|
20
36
|
lid?: string;
|
|
21
37
|
links?: Links | PaginationLinks;
|
|
@@ -23,11 +39,29 @@ export interface CollectionResourceDataDocument<T = PersistedResourceKey> {
|
|
|
23
39
|
data: T[];
|
|
24
40
|
included?: T[];
|
|
25
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* A type useful for representing the raw {json:api} documents that
|
|
44
|
+
* the cache may use.
|
|
45
|
+
*
|
|
46
|
+
* For the Reactive value returned by a request using the store, use {@link ReactiveDataDocument} instead.
|
|
47
|
+
*/
|
|
26
48
|
export type ResourceDataDocument<T = PersistedResourceKey> = SingleResourceDataDocument<T> | CollectionResourceDataDocument<T>;
|
|
49
|
+
/**
|
|
50
|
+
* A type useful for representing the raw {json:api} Error documents that
|
|
51
|
+
* the cache may use.
|
|
52
|
+
*
|
|
53
|
+
* For the Reactive value returned by a request using the store, use {@link ReactiveErrorDocument} instead.
|
|
54
|
+
*/
|
|
27
55
|
export interface ResourceErrorDocument {
|
|
28
56
|
lid?: string;
|
|
29
57
|
links?: Links | PaginationLinks;
|
|
30
58
|
meta?: Meta;
|
|
31
59
|
errors: ApiError[];
|
|
32
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* A type useful for representing the raw {json:api} documents that
|
|
63
|
+
* the cache may use.
|
|
64
|
+
*
|
|
65
|
+
* For the Reactive value returned by a request using the store, use {@link ReactiveDocument} instead.
|
|
66
|
+
*/
|
|
33
67
|
export type ResourceDocument<T = PersistedResourceKey> = ResourceMetaDocument | SingleResourceDataDocument<T> | CollectionResourceDataDocument<T> | ResourceErrorDocument;
|
|
@@ -9,7 +9,7 @@ export declare const RecordStore: "___(unique) Symbol(Store)";
|
|
|
9
9
|
* record implementations to provide a typescript
|
|
10
10
|
* hint for the type of the resource.
|
|
11
11
|
*
|
|
12
|
-
* When used,
|
|
12
|
+
* When used, WarpDrive APIs can
|
|
13
13
|
* take advantage of this to provide better type
|
|
14
14
|
* safety and intellisense.
|
|
15
15
|
*
|
|
@@ -45,7 +45,7 @@ export declare const Type: "___(unique) Symbol($type)";
|
|
|
45
45
|
* record implementations to provide a typescript
|
|
46
46
|
* hint for the type of the resource.
|
|
47
47
|
*
|
|
48
|
-
* When used,
|
|
48
|
+
* When used, WarpDrive APIs can
|
|
49
49
|
* take advantage of this to provide better type
|
|
50
50
|
* safety and intellisense.
|
|
51
51
|
*
|
package/declarations/types.d.ts
CHANGED
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
export type { StableRecordIdentifier, ResourceKey } from "./types/identifier.js";
|
|
8
8
|
export type { CacheCapabilitiesManager } from "./store/-types/q/cache-capabilities-manager.js";
|
|
9
9
|
export type { ModelSchema } from "./store/deprecated/-private.js";
|
|
10
|
-
export type { SchemaService } from "./
|
|
10
|
+
export type { SchemaService } from "./types/schema/schema-service.js";
|
|
11
11
|
export type { BaseFinderOptions, FindRecordOptions, LegacyResourceQuery, QueryOptions, FindAllOptions } from "./store/-types/q/store.js";
|
package/dist/build-config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { setConfig } from '@warp-drive/build-config';
|
|
1
|
+
export { babelPlugin, setConfig } from '@warp-drive/build-config';
|