@warp-drive/core 5.8.0-alpha.4 → 5.8.0-alpha.6

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.
@@ -4,11 +4,11 @@ import type { PrivateRequestManager, RequestManager } from "../../request/-priva
4
4
  import type { Cache } from "../../types/cache.js";
5
5
  import type { PersistedResourceKey, ResourceKey } from "../../types/identifier.js";
6
6
  import type { TypedRecordInstance, TypeFromInstance } from "../../types/record.js";
7
+ import type { SchemaService } from "../../types/schema/schema-service.js";
7
8
  import type { CollectionResourceDocument, EmptyResourceDocument, JsonApiDocument, ResourceIdentifierObject, SingleResourceDocument } from "../../types/spec/json-api-raw.js";
8
9
  import type { Type } from "../../types/symbols.js";
9
10
  import type { CacheCapabilitiesManager } from "../-types/q/cache-capabilities-manager.js";
10
11
  import type { OpaqueRecordInstance } from "../-types/q/record-instance.js";
11
- import type { SchemaService } from "../-types/q/schema-service.js";
12
12
  import type { StoreRequestInput } from "./cache-handler/handler.js";
13
13
  import type { CachePolicy } from "./cache-handler/types.js";
14
14
  import { InstanceCache, storeFor } from "./caches/instance-cache.js";
@@ -101,7 +101,7 @@ export interface Store {
101
101
  * For Example, to use the default SchemaService for ReactiveResource
102
102
  *
103
103
  * ```ts
104
- * import { SchemaService } from '@warp-drive/schema-record';
104
+ * import { SchemaService } from '@warp-drive/core/reactive';
105
105
  *
106
106
  * class extends Store {
107
107
  * createSchemaService() {
@@ -110,10 +110,10 @@ export interface Store {
110
110
  * }
111
111
  * ```
112
112
  *
113
- * Or to use the SchemaService for @ember-data/model
113
+ * Or to use the SchemaService for @warp-drive/legacy/model
114
114
  *
115
115
  * ```ts
116
- * import { buildSchema } from '@ember-data/model';
116
+ * import { buildSchema } from '@warp-drive/legacy/model';
117
117
  *
118
118
  * class extends Store {
119
119
  * createSchemaService() {
@@ -125,13 +125,13 @@ export interface Store {
125
125
  * If you wish to chain services, you must either
126
126
  * instantiate each schema source directly or super to retrieve
127
127
  * an existing service. For convenience, when migrating from
128
- * `@ember-data/model` to `@warp-drive/schema-record` a
128
+ * `@warp-drive/legacy/model` to {@link ReactiveResource} a
129
129
  * SchemaService is provided that handles this transition
130
130
  * for you:
131
131
  *
132
132
  * ```ts
133
- * import { DelegatingSchemaService } from '@ember-data/model/migration-support';
134
- * import { SchemaService } from '@warp-drive/schema-record';
133
+ * import { DelegatingSchemaService } from '@warp-drive/legacy/model/migration-support';
134
+ * import { SchemaService } from '@warp-drive/core/reactive';
135
135
  *
136
136
  * class extends Store {
137
137
  * createSchemaService() {
@@ -176,7 +176,7 @@ export interface Store {
176
176
  * For Example:
177
177
  *
178
178
  * ```ts
179
- * import Store from '@ember-data/store';
179
+ * import { Store } from '@warp-drive/core';
180
180
  *
181
181
  * class SchemaDelegator {
182
182
  * constructor(schema) {
@@ -210,7 +210,6 @@ export interface Store {
210
210
  * }
211
211
  * ```
212
212
  *
213
- * @param {SchemaService} schema
214
213
  * @deprecated
215
214
  * @public
216
215
  */
@@ -230,7 +229,7 @@ export interface Store {
230
229
  * For Example:
231
230
  *
232
231
  * ```ts
233
- * import Store from '@ember-data/store';
232
+ * import { Store } from '@warp-drive/core';
234
233
  *
235
234
  * class SchemaDelegator {
236
235
  * constructor(schema) {
@@ -264,7 +263,6 @@ export interface Store {
264
263
  * }
265
264
  * ```
266
265
  *
267
- * @param {SchemaService} schema
268
266
  * @deprecated
269
267
  * @public
270
268
  */
@@ -321,20 +319,18 @@ export declare class Store extends BaseClass {
321
319
  */
322
320
  readonly cacheKeyManager: CacheKeyManager;
323
321
  /**
324
- * Provides access to the requestManager instance associated
322
+ * Provides access to the {@link RequestManager} instance associated
325
323
  * with this Store instance.
326
324
  *
327
- * When using `ember-data` this property is automatically
328
- * set to an instance of `RequestManager`. When not using `ember-data`
329
- * you must configure this property yourself, either by declaring
330
- * it as a service or by initializing it.
325
+ * See also:
326
+ * - {@link Fetch}
327
+ * - {@link CacheHandlerInterface | CacheHandler (Interface)}
328
+ * - {@link CacheHandler | CacheHandler (Class)}
331
329
  *
332
330
  * ```ts
333
- * import Store, { CacheHandler } from '@ember-data/store';
334
- * import RequestManager from '@ember-data/request';
335
- * import Fetch from '@ember-data/request/fetch';
331
+ * import { CacheHandler, Fetch, RequestManager, Store } from '@warp-drive/core';
336
332
  *
337
- * class extends Store {
333
+ * class AppStore extends Store {
338
334
  * requestManager = new RequestManager()
339
335
  * .use([Fetch])
340
336
  * .useCache(CacheHandler);
@@ -350,9 +346,9 @@ export declare class Store extends BaseClass {
350
346
  *
351
347
  * Note, when defined, these methods will only be invoked if a
352
348
  * cache key exists for the request, either because the request
353
- * contains `cacheOptions.key` or because the [CacheKeyManager](/ember-data/release/classes/CacheKeyManager)
349
+ * contains `cacheOptions.key` or because the {@link CacheKeyManager}
354
350
  * was able to generate a key for the request using the configured
355
- * [generation method](/ember-data/release/functions/@ember-data%2Fstore/setIdentifierGenerationMethod).
351
+ * {@link setIdentifierGenerationMethod | generation method}.
356
352
  *
357
353
  * `isSoftExpired` will only be invoked if `isHardExpired` returns `false`.
358
354
  *
@@ -557,14 +553,10 @@ export declare class Store extends BaseClass {
557
553
  otherwise it will return `null`. A record is available if it has been fetched earlier, or
558
554
  pushed manually into the store.
559
555
 
560
- See [findRecord](../methods/findRecord?anchor=findRecord) if you would like to request this record from the backend.
561
-
562
- _Note: This is a synchronous method and does not return a promise._
563
-
564
556
  **Example 1**
565
557
 
566
- ```js
567
- let post = store.peekRecord('post', '1');
558
+ ```ts
559
+ const post = store.peekRecord('post', '1');
568
560
 
569
561
  post.id; // '1'
570
562
  ```
@@ -575,8 +567,8 @@ export declare class Store extends BaseClass {
575
567
 
576
568
  **Example 2**
577
569
 
578
- ```js
579
- let post = store.peekRecord({ type: 'post', id });
570
+ ```ts
571
+ const post = store.peekRecord({ type: 'post', id: '1' });
580
572
  post.id; // '1'
581
573
  ```
582
574
 
@@ -590,40 +582,34 @@ export declare class Store extends BaseClass {
590
582
  post.id; // '1'
591
583
  ```
592
584
 
593
-
594
585
  @since 1.13.0
595
586
  @public
596
- @param {String|object} modelName - either a string representing the modelName or a ResourceIdentifier object containing both the type (a string) and the id (a string) for the record or an lid (a string) of an existing record
597
- @param {String|Integer} id - optional only if the first param is a ResourceIdentifier, else the string id of the record to be retrieved.
598
- @return {Model|null} record
587
+ @param type - either a string representing the modelName or a ResourceIdentifier object containing both the type (a string) and the id (a string) for the record or an lid (a string) of an existing record
588
+ @param id - optional only if the first param is a ResourceIdentifier, else the string id of the record to be retrieved.
599
589
  */
600
590
  peekRecord<T>(type: TypeFromInstance<T>, id: string | number): T | null;
601
591
  peekRecord(type: string, id: string | number): unknown | null;
602
592
  peekRecord<T>(identifier: ResourceIdentifierObject<TypeFromInstance<T>>): T | null;
603
593
  peekRecord(identifier: ResourceIdentifierObject): unknown | null;
604
594
  /**
605
- This method returns a filtered array that contains all of the
606
- known records for a given type in the store.
595
+ This method returns the {@link LegacyLiveArray} that contains all of the
596
+ known records for a given type in the store. Each ResourceType has only
597
+ one LiveArray instance, so multiple calls to `peekAll` with the same type
598
+ will always return the same instance.
607
599
 
608
- Note that because it's just a filter, the result will contain any
600
+ Note that because it's a LiveArray, the result will contain any
609
601
  locally created records of the type, however, it will not make a
610
- request to the backend to retrieve additional records. If you
611
- would like to request all the records from the backend please use
612
- [store.findAll](../methods/findAll?anchor=findAll).
613
-
614
- Also note that multiple calls to `peekAll` for a given type will always
615
- return the same `RecordArray`.
602
+ request to the backend to retrieve additional records.
616
603
 
617
604
  Example
618
605
 
619
- ```javascript
620
- let localPosts = store.peekAll('post');
606
+ ```ts
607
+ const allPosts = store.peekAll('post');
621
608
  ```
622
609
 
623
610
  @since 1.13.0
624
611
  @public
625
- @param {String} type the name of the resource
626
- @return {RecordArray}
612
+ @param type the name of the resource
627
613
  */
628
614
  peekAll<T>(type: TypeFromInstance<T>): LegacyLiveArray<T>;
629
615
  peekAll(type: string): LegacyLiveArray;
@@ -708,7 +694,7 @@ export declare class Store extends BaseClass {
708
694
  For this model:
709
695
 
710
696
  ```js [app/models/person.js]
711
- import Model, { attr, hasMany } from '@ember-data/model';
697
+ import Model, { attr, hasMany } from '@warp-drive/legacy/model';
712
698
 
713
699
  export default class PersonRoute extends Route {
714
700
  @attr('string') firstName;
@@ -775,23 +761,17 @@ export declare class Store extends BaseClass {
775
761
  }
776
762
  ```
777
763
 
778
- If you're streaming data or implementing an adapter, make sure
779
- that you have converted the incoming data into this form. The
780
- store's [normalize](../methods/normalize?anchor=normalize) method is a convenience
781
- helper for converting a json payload into the form Ember Data
782
- expects.
783
-
784
- ```js
785
- store.push(store.normalize('person', data));
786
- ```
764
+ If you're streaming data, or implementing response handling, make sure
765
+ that you have converted the incoming data into this form.
787
766
 
788
767
  This method can be used both to push in brand new
789
768
  records, as well as to update existing records.
790
769
 
770
+ See also {@link Cache.patch}
771
+
791
772
  @public
792
- @param {Object} data
793
- @return the record(s) that was created or
794
- updated.
773
+ @param data
774
+ @return the primary record(s) that created or updated.
795
775
  */
796
776
  push(data: EmptyResourceDocument): null;
797
777
  push<T>(data: SingleResourceDocument<TypeFromInstance<T>>): T;
@@ -803,8 +783,7 @@ export declare class Store extends BaseClass {
803
783
  without creating materialized records.
804
784
 
805
785
  @private
806
- @param {Object} jsonApiDoc
807
- @return {ResourceKey|Array<ResourceKey>|null} identifiers for the primary records that had data loaded
786
+ @return identifiers for the primary records that had data loaded
808
787
  */
809
788
  _push(jsonApiDoc: JsonApiDocument, asyncFlush?: boolean): PersistedResourceKey | PersistedResourceKey[] | null;
810
789
  /**
@@ -1,7 +1,7 @@
1
1
  import type { RequestKey, ResourceKey } from "../../../types/identifier.js";
2
+ import type { SchemaService } from "../../../types/schema/schema-service.js";
2
3
  import type { CacheKeyManager } from "../../-private/managers/cache-key-manager.js";
3
4
  import type { NotificationType } from "../../-private/managers/notification-manager.js";
4
- import type { SchemaService } from "./schema-service.js";
5
5
  /**
6
6
  * CacheCapabilitiesManager provides encapsulated API access to the minimal
7
7
  * subset of the Store's functionality that Cache implementations
@@ -248,13 +248,13 @@ declare module "../-private/store-service" {
248
248
  }
249
249
  ```
250
250
 
251
- See [peekRecord](../methods/peekRecord?anchor=peekRecord) to get the cached version of a record.
251
+ See {@link Store.peekRecord | peekRecord} to get the cached version of a record.
252
252
 
253
253
  ### Retrieving Related Model Records
254
254
 
255
- If you use an adapter such as Ember's default
256
- [`JSONAPIAdapter`](/ember-data/release/classes/JSONAPIAdapter)
257
- that supports the [JSON API specification](http://jsonapi.org/) and if your server
255
+ If you use an adapter such as the
256
+ [JSONAPIAdapter](/api/@warp-drive/legacy/adapter/json-api/classes/JSONAPIAdapter)
257
+ which supports the [{JSON:API} specification](http://jsonapi.org/) and if your server
258
258
  endpoint supports the use of an
259
259
  ['include' query parameter](http://jsonapi.org/format/#fetching-includes),
260
260
  you can use `findRecord()` or `findAll()` to automatically retrieve additional records related to
@@ -421,7 +421,7 @@ declare module "../-private/store-service" {
421
421
  records in the store:
422
422
 
423
423
  ```js [app/adapters/application.js]
424
- import Adapter from '@ember-data/adapter';
424
+ import { Adapter } from '@warp-drive/legacy/adapter';
425
425
 
426
426
  export default class ApplicationAdapter extends Adapter {
427
427
  shouldReloadAll(store, snapshotsArray) {
@@ -503,8 +503,8 @@ declare module "../-private/store-service" {
503
503
 
504
504
  ### Retrieving Related Model Records
505
505
 
506
- If you use an adapter such as Ember's default
507
- [`JSONAPIAdapter`](/ember-data/release/classes/JSONAPIAdapter)
506
+ If you use an adapter such as the default
507
+ [JSONAPIAdapter](/api/@warp-drive/legacy/adapter/json-api/classes/JSONAPIAdapter)
508
508
  that supports the [JSON API specification](http://jsonapi.org/) and if your server
509
509
  endpoint supports the use of an
510
510
  ['include' query parameter](http://jsonapi.org/format/#fetching-includes),
@@ -535,7 +535,7 @@ declare module "../-private/store-service" {
535
535
  }
536
536
  ```
537
537
 
538
- See [query](../methods/query?anchor=query) to only get a subset of records from the server.
538
+ See {@link Store.query | query} to only get a subset of records from the server.
539
539
 
540
540
  @public
541
541
  @deprecated use {@link Store.request} instead
@@ -575,7 +575,7 @@ declare module "../-private/store-service" {
575
575
 
576
576
  If you do something like this:
577
577
 
578
- ```javascript
578
+ ```js
579
579
  store.query('person', { ids: ['1', '2', '3'] });
580
580
  ```
581
581
 
@@ -602,7 +602,7 @@ declare module "../-private/store-service" {
602
602
  query(type: string, query: LegacyResourceQuery, options?: QueryOptions): Promise<LegacyQueryArray>;
603
603
  /**
604
604
  This method makes a request for one record, where the `id` is not known
605
- beforehand (if the `id` is known, use [`findRecord`](../methods/findRecord?anchor=findRecord)
605
+ beforehand (if the `id` is known, use {@link Store.findRecord | findRecord}
606
606
  instead).
607
607
 
608
608
  This method can be used when it is certain that the server will return a
@@ -611,37 +611,40 @@ declare module "../-private/store-service" {
611
611
  Each time this method is called a new request is made through the adapter.
612
612
 
613
613
  Let's assume our API provides an endpoint for the currently logged in user
614
- via:
615
614
 
616
- ```
617
- // GET /api/current_user
615
+ ```ts
616
+ // GET /api/user/me
618
617
  {
619
- user: {
620
- id: 1234,
618
+ data: {
619
+ type: 'user',
620
+ id: '1234',
621
+ attributes: {
621
622
  username: 'admin'
622
623
  }
623
624
  }
625
+ }
624
626
  ```
625
627
 
626
628
  Since the specific `id` of the `user` is not known beforehand, we can use
627
629
  `queryRecord` to get the user:
628
630
 
629
- ```javascript
630
- store.queryRecord('user', {}).then(function(user) {
631
- let username = user.username;
632
- // do thing
633
- });
631
+ ```ts
632
+ const user = await store.queryRecord('user', { me: true });
633
+ user.username; // admin
634
634
  ```
635
635
 
636
636
  The request is made through the adapters' `queryRecord`:
637
637
 
638
- ```js [app/adapters/user.js]
639
- import Adapter from '@ember-data/adapter';
640
- import $ from 'jquery';
638
+ ```ts [app/adapters/user.ts]
639
+ import Adapter from '@warp-drive/legacy/adapter';
641
640
 
642
641
  export default class UserAdapter extends Adapter {
643
- queryRecord(modelName, query) {
644
- return $.getJSON('/api/current_user');
642
+ async queryRecord(modelName, query) {
643
+ if (query.me) {
644
+ const response = await fetch('/api/me');
645
+ return await response.json();
646
+ }
647
+ throw new Error('Unsupported query');
645
648
  }
646
649
  }
647
650
  ```
@@ -664,7 +667,7 @@ declare module "../-private/store-service" {
664
667
  }
665
668
  ```
666
669
 
667
- ```javascript
670
+ ```js
668
671
  store.query('user', { username: 'unique' }).then(function(users) {
669
672
  return users.firstObject;
670
673
  }).then(function(user) {
@@ -684,7 +687,7 @@ declare module "../-private/store-service" {
684
687
  }
685
688
  ```
686
689
 
687
- ```javascript
690
+ ```js
688
691
  store.queryRecord('user', { username: 'unique' }).then(function(user) {
689
692
  // user is null
690
693
  });
@@ -744,7 +747,7 @@ declare module "../-private/store-service" {
744
747
  /**
745
748
  Returns the schema for a particular resource type (modelName).
746
749
 
747
- When used with Model from @ember-data/model the return is the model class,
750
+ When used with [Model](/api/@warp-drive/legacy/model/classes/Model) the return is the model class,
748
751
  but this is not guaranteed.
749
752
 
750
753
  If looking to query attribute or relationship information it is
@@ -754,9 +757,7 @@ declare module "../-private/store-service" {
754
757
  signatures.
755
758
 
756
759
  The class of a model might be useful if you want to get a list of all the
757
- relationship names of the model, see
758
- [`relationshipNames`](/ember-data/release/classes/Model?anchor=relationshipNames)
759
- for example.
760
+ relationship names of the model.
760
761
 
761
762
  @public
762
763
  @deprecated use {@link Store.schema} instead
@@ -10,10 +10,11 @@ export declare const IS_FUTURE: "___(unique) Symbol(IS_FUTURE)";
10
10
  export declare const STRUCTURED: "___(unique) Symbol(DOC)";
11
11
  export type HTTPMethod = "QUERY" | "GET" | "OPTIONS" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "CONNECT" | "TRACE";
12
12
  /**
13
- * Use these options to adjust CacheHandler behavior for a request.
13
+ * Use these options to adjust {@link CacheHandler} behavior for a request
14
+ * via {@link RequestInfo.cacheOptions}.
14
15
  *
15
16
  */
16
- export type CacheOptions = {
17
+ export interface CacheOptions {
17
18
  /**
18
19
  * A key that uniquely identifies this request. If not present, the url wil be used
19
20
  * as the key for any GET request, while all other requests will not be cached.
@@ -57,7 +58,7 @@ export type CacheOptions = {
57
58
  *
58
59
  */
59
60
  [SkipCache]?: boolean;
60
- };
61
+ }
61
62
  export type FindRecordRequestOptions<
62
63
  RT = unknown,
63
64
  T = unknown
@@ -2125,18 +2125,29 @@ export interface ObjectSchema {
2125
2125
  objectExtensions?: string[];
2126
2126
  }
2127
2127
  export type Schema = ResourceSchema | ObjectSchema;
2128
+ /**
2129
+ * A trait for use on a PolarisMode record
2130
+ */
2128
2131
  export interface PolarisTrait {
2129
2132
  name: string;
2130
2133
  mode: "polaris";
2131
2134
  fields: PolarisModeFieldSchema[];
2132
2135
  traits?: string[];
2133
2136
  }
2137
+ /**
2138
+ * A trait for use on a LegacyMode record
2139
+ */
2134
2140
  export interface LegacyTrait {
2135
2141
  name: string;
2136
2142
  mode: "legacy";
2137
2143
  fields: LegacyModeFieldSchema[];
2138
2144
  traits?: string[];
2139
2145
  }
2146
+ /**
2147
+ * A union of
2148
+ * - {@link LegacyTrait}
2149
+ * - {@link PolarisTrait}
2150
+ */
2140
2151
  export type Trait = LegacyTrait | PolarisTrait;
2141
2152
  /**
2142
2153
  * 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 "../../../reactive.js";
2
- import type { ExtensibleField } from "../../../reactive/-private/schema.js";
3
- import type { ResourceKey } from "../../../types/identifier.js";
4
- import type { ObjectValue } from "../../../types/json/raw.js";
5
- import type { Derivation, HashFn, Transformation } from "../../../types/schema/concepts.js";
6
- import type { ArrayField, CacheableFieldSchema, DerivedField, FieldSchema, GenericField, HashField, IdentityField, LegacyAttributeField, LegacyRelationshipField, ObjectField, Schema, Trait } from "../../../types/schema/fields.js";
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;
@@ -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 "./store/-types/q/schema-service.js";
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";
@@ -1 +1 @@
1
- export { setConfig } from '@warp-drive/build-config';
1
+ export { babelPlugin, setConfig } from '@warp-drive/build-config';