@ember-data-types/store 5.4.0-alpha.64 → 5.4.0-alpha.70

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.
Files changed (58) hide show
  1. package/package.json +1 -1
  2. package/unstable-preview-types/-private/cache-handler.d.ts +7 -4
  3. package/unstable-preview-types/-private/cache-handler.d.ts.map +1 -1
  4. package/unstable-preview-types/-private/caches/cache-utils.d.ts +3 -3
  5. package/unstable-preview-types/-private/caches/cache-utils.d.ts.map +1 -1
  6. package/unstable-preview-types/-private/caches/identifier-cache.d.ts +1 -2
  7. package/unstable-preview-types/-private/caches/identifier-cache.d.ts.map +1 -1
  8. package/unstable-preview-types/-private/caches/instance-cache.d.ts +3 -5
  9. package/unstable-preview-types/-private/caches/instance-cache.d.ts.map +1 -1
  10. package/unstable-preview-types/-private/document.d.ts +7 -7
  11. package/unstable-preview-types/-private/document.d.ts.map +1 -1
  12. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts +2 -2
  13. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts.map +1 -1
  14. package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts +6 -6
  15. package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts.map +1 -1
  16. package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts +5 -3
  17. package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts.map +1 -1
  18. package/unstable-preview-types/-private/managers/cache-manager.d.ts +2 -3
  19. package/unstable-preview-types/-private/managers/cache-manager.d.ts.map +1 -1
  20. package/unstable-preview-types/-private/managers/notification-manager.d.ts +2 -4
  21. package/unstable-preview-types/-private/managers/notification-manager.d.ts.map +1 -1
  22. package/unstable-preview-types/-private/managers/record-array-manager.d.ts +5 -5
  23. package/unstable-preview-types/-private/managers/record-array-manager.d.ts.map +1 -1
  24. package/unstable-preview-types/-private/network/request-cache.d.ts +4 -4
  25. package/unstable-preview-types/-private/network/request-cache.d.ts.map +1 -1
  26. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts +22 -17
  27. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts.map +1 -1
  28. package/unstable-preview-types/-private/store-service.d.ts +158 -196
  29. package/unstable-preview-types/-private/store-service.d.ts.map +1 -1
  30. package/unstable-preview-types/-private/utils/coerce-id.d.ts +2 -2
  31. package/unstable-preview-types/-private/utils/coerce-id.d.ts.map +1 -1
  32. package/unstable-preview-types/-private/utils/construct-resource.d.ts +6 -7
  33. package/unstable-preview-types/-private/utils/construct-resource.d.ts.map +1 -1
  34. package/unstable-preview-types/-private/utils/is-non-empty-string.d.ts +1 -1
  35. package/unstable-preview-types/-private/utils/is-non-empty-string.d.ts.map +1 -1
  36. package/unstable-preview-types/-private/utils/normalize-model-name.d.ts +1 -1
  37. package/unstable-preview-types/-private/utils/normalize-model-name.d.ts.map +1 -1
  38. package/unstable-preview-types/-private.d.ts +12 -8
  39. package/unstable-preview-types/-private.d.ts.map +1 -1
  40. package/unstable-preview-types/-types/q/{cache-store-wrapper.d.ts → cache-capabilities-manager.d.ts} +8 -6
  41. package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts.map +1 -0
  42. package/unstable-preview-types/-types/q/ds-model.d.ts +15 -5
  43. package/unstable-preview-types/-types/q/ds-model.d.ts.map +1 -1
  44. package/unstable-preview-types/-types/q/identifier.d.ts +0 -2
  45. package/unstable-preview-types/-types/q/identifier.d.ts.map +1 -1
  46. package/unstable-preview-types/-types/q/record-data-json-api.d.ts +1 -1
  47. package/unstable-preview-types/-types/q/record-data-json-api.d.ts.map +1 -1
  48. package/unstable-preview-types/-types/q/schema-service.d.ts +164 -29
  49. package/unstable-preview-types/-types/q/schema-service.d.ts.map +1 -1
  50. package/unstable-preview-types/index.d.ts +26 -27
  51. package/unstable-preview-types/index.d.ts.map +1 -1
  52. package/unstable-preview-types/types.d.ts +7 -0
  53. package/unstable-preview-types/types.d.ts.map +1 -0
  54. package/unstable-preview-types/-private/utils/identifier-debug-consts.d.ts +0 -7
  55. package/unstable-preview-types/-private/utils/identifier-debug-consts.d.ts.map +0 -1
  56. package/unstable-preview-types/-types/q/cache-store-wrapper.d.ts.map +0 -1
  57. package/unstable-preview-types/-types/q/cache.d.ts +0 -47
  58. package/unstable-preview-types/-types/q/cache.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"normalize-model-name.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/normalize-model-name.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAsB/D"}
1
+ {"version":3,"file":"normalize-model-name.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/normalize-model-name.ts"],"names":[],"mappings":"AAKA,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAsBvD"}
@@ -2,20 +2,24 @@ declare module '@ember-data/store/-private' {
2
2
  /**
3
3
  @module @ember-data/store
4
4
  */
5
- export { default as Store, storeFor } from '@ember-data/store/-private/store-service';
5
+ export { Store, storeFor } from '@ember-data/store/-private/store-service';
6
6
  export { recordIdentifierFor } from '@ember-data/store/-private/caches/instance-cache';
7
- export { CacheHandler, type LifetimesService } from '@ember-data/store/-private/cache-handler';
7
+ export { CacheHandler, type CachePolicy, type StoreRequestContext } from '@ember-data/store/-private/cache-handler';
8
8
  export { isStableIdentifier } from '@ember-data/store/-private/caches/identifier-cache';
9
- export { default as constructResource } from '@ember-data/store/-private/utils/construct-resource';
10
- export { default as coerceId, ensureStringId } from '@ember-data/store/-private/utils/coerce-id';
9
+ export { constructResource } from '@ember-data/store/-private/utils/construct-resource';
10
+ export type { Document } from '@ember-data/store/-private/document';
11
+ export type { InstanceCache } from '@ember-data/store/-private/caches/instance-cache';
12
+ export type { FindRecordQuery, Request, SaveRecordMutation, RequestState, RequestStateService, } from '@ember-data/store/-private/network/request-cache';
13
+ export type { CreateRecordProperties } from '@ember-data/store/-private/store-service';
14
+ export { coerceId, ensureStringId } from '@ember-data/store/-private/utils/coerce-id';
11
15
  export type { NativeProxy } from '@ember-data/store/-private/record-arrays/native-proxy-type-fix';
12
- export { default as RecordArray, default as IdentifierArray, Collection as AdapterPopulatedRecordArray, notifyArray, SOURCE, MUTATE, ARRAY_SIGNAL, } from '@ember-data/store/-private/record-arrays/identifier-array';
13
- export { default as RecordArrayManager, fastPush } from '@ember-data/store/-private/managers/record-array-manager';
16
+ export { IdentifierArray as LiveArray, Collection as CollectionRecordArray, notifyArray, SOURCE, MUTATE, ARRAY_SIGNAL, } from '@ember-data/store/-private/record-arrays/identifier-array';
17
+ export { RecordArrayManager, fastPush } from '@ember-data/store/-private/managers/record-array-manager';
14
18
  export { _clearCaches } from '@ember-data/store/-private/caches/instance-cache';
15
- export { default as peekCache, removeRecordDataFor } from '@ember-data/store/-private/caches/cache-utils';
19
+ export { peekCache, removeRecordDataFor } from '@ember-data/store/-private/caches/cache-utils';
16
20
  export { setRecordIdentifier, StoreMap } from '@ember-data/store/-private/caches/instance-cache';
17
21
  export { setCacheFor } from '@ember-data/store/-private/caches/cache-utils';
18
- export { default as _deprecatingNormalize } from '@ember-data/store/-private/utils/normalize-model-name';
22
+ export { normalizeModelName as _deprecatingNormalize } from '@ember-data/store/-private/utils/normalize-model-name';
19
23
  export type { StoreRequestInput } from '@ember-data/store/-private/cache-handler';
20
24
  }
21
25
  //# sourceMappingURL=-private.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"-private.d.ts","sourceRoot":"","sources":["../src/-private.ts"],"names":[],"mappings":"AAAA;;EAEE;AAEF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAA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AAM,qBAAqB,CAAC;AACpD,YAAY,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,YAAY,EACV,eAAe,EACf,OAAO,EACP,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAIvE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EACL,eAAe,IAAI,SAAS,EAC5B,UAAU,IAAI,qBAAqB,EACnC,WAAW,EACX,MAAM,EACN,MAAM,EACN,YAAY,GACb,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AAGxF,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAG/E,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,IAAI,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AACpG,YAAY,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,4 +1,4 @@
1
- declare module '@ember-data/store/-types/q/cache-store-wrapper' {
1
+ declare module '@ember-data/store/-types/q/cache-capabilities-manager' {
2
2
  import type { StableDocumentIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
3
3
  import type { IdentifierCache } from '@ember-data/store/-private/caches/identifier-cache';
4
4
  import type { NotificationType } from '@ember-data/store/-private/managers/notification-manager';
@@ -9,8 +9,7 @@ declare module '@ember-data/store/-types/q/cache-store-wrapper' {
9
9
  /**
10
10
  * CacheCapabilitiesManager provides encapsulated API access to the minimal
11
11
  * subset of the Store's functionality that Cache implementations
12
- * should interact with. It is provided to the Store's `createRecordDataFor`
13
- * and `createCache` hooks.
12
+ * should interact with. It is provided to the Store's `createCache` hook.
14
13
  *
15
14
  * Cache implementations should not need more than this API provides.
16
15
  *
@@ -19,7 +18,7 @@ declare module '@ember-data/store/-types/q/cache-store-wrapper' {
19
18
  * @class CacheCapabilitiesManager
20
19
  * @public
21
20
  */
22
- export interface CacheCapabilitiesManager {
21
+ export type CacheCapabilitiesManager = {
23
22
  /**
24
23
  * Provides access to the IdentifierCache instance
25
24
  * for this Store instance.
@@ -32,6 +31,8 @@ declare module '@ember-data/store/-types/q/cache-store-wrapper' {
32
31
  */
33
32
  identifierCache: IdentifierCache;
34
33
  /**
34
+ * DEPRECATED - use the schema property
35
+ *
35
36
  * Provides access to the SchemaService instance
36
37
  * for this Store instance.
37
38
  *
@@ -39,6 +40,7 @@ declare module '@ember-data/store/-types/q/cache-store-wrapper' {
39
40
  * information about the schema of a resource.
40
41
  *
41
42
  * @method getSchemaDefinitionService
43
+ * @deprecated
42
44
  * @public
43
45
  */
44
46
  getSchemaDefinitionService(): SchemaService;
@@ -102,6 +104,6 @@ declare module '@ember-data/store/-types/q/cache-store-wrapper' {
102
104
  notifyChange(identifier: StableDocumentIdentifier, namespace: 'added' | 'updated' | 'removed'): void;
103
105
  notifyChange(identifier: StableRecordIdentifier, namespace: NotificationType, key?: string): void;
104
106
  notifyChange(identifier: StableRecordIdentifier | StableDocumentIdentifier, namespace: NotificationType | 'added' | 'removed' | 'updated', key?: string): void;
105
- }
107
+ };
106
108
  }
107
- //# sourceMappingURL=cache-store-wrapper.d.ts.map
109
+ //# sourceMappingURL=cache-capabilities-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cache-capabilities-manager.d.ts","sourceRoot":"","sources":["../../../src/-types/q/cache-capabilities-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,sB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module '@ember-data/store/-types/q/ds-model' {
2
2
  import type { TypedRecordInstance, TypeFromInstance } from '@warp-drive/core-types/record';
3
- import type { AttributeSchema, RelationshipSchema } from '@warp-drive/core-types/schema';
3
+ import type { LegacyAttributeField, LegacyRelationshipSchema } from '@warp-drive/core-types/schema/fields';
4
4
  export type KeyOrString<T> = keyof T & string extends never ? string : keyof T & string;
5
+ /**
6
+ * Minimum subset of static schema methods and properties on the
7
+ * "model" class.
8
+ *
9
+ * Only used when using the legacy schema-service implementation
10
+ * for @ember-data/model or when wrapping schema for legacy
11
+ * Adapters/Serializers.
12
+ *
13
+ * @typedoc
14
+ */
5
15
  export interface ModelSchema<T = unknown> {
6
16
  modelName: T extends TypedRecordInstance ? TypeFromInstance<T> : string;
7
17
  fields: Map<KeyOrString<T>, 'attribute' | 'belongsTo' | 'hasMany'>;
8
- attributes: Map<KeyOrString<T>, AttributeSchema>;
9
- relationshipsByName: Map<KeyOrString<T>, RelationshipSchema>;
10
- eachAttribute<K extends KeyOrString<T>>(callback: (this: ModelSchema<T>, key: K, attribute: AttributeSchema) => void, binding?: T): void;
11
- eachRelationship<K extends KeyOrString<T>>(callback: (this: ModelSchema<T>, key: K, relationship: RelationshipSchema) => void, binding?: T): void;
18
+ attributes: Map<KeyOrString<T>, LegacyAttributeField>;
19
+ relationshipsByName: Map<KeyOrString<T>, LegacyRelationshipSchema>;
20
+ eachAttribute<K extends KeyOrString<T>>(callback: (this: ModelSchema<T>, key: K, attribute: LegacyAttributeField) => void, binding?: T): void;
21
+ eachRelationship<K extends KeyOrString<T>>(callback: (this: ModelSchema<T>, key: K, relationship: LegacyRelationshipSchema) => void, binding?: T): void;
12
22
  eachTransformedAttribute<K extends KeyOrString<T>>(callback: (this: ModelSchema<T>, key: K, type: string | null) => void, binding?: T): void;
13
23
  }
14
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ds-model.d.ts","sourceRoot":"","sources":["../../../src/-types/q/ds-model.ts"],"names":[],"mappings":"AAAA,OAAO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C,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,YAAY,EAAE,wBAAwB,KAAK,IAAI,EACxF,OAAO,CAAC,EAAE,CAAC,GACV,IAAI,CAAC;IACR,wBAAwB,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,EAC/C,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,EACrE,OAAO,CAAC,EAAE,CAAC,GACV,IAAI,CAAC;CACT"}
@@ -4,8 +4,6 @@ declare module '@ember-data/store/-types/q/identifier' {
4
4
  */
5
5
  import type { ImmutableRequestInfo } from '@ember-data/request';
6
6
  import type { IdentifierBucket, StableIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
7
- import type { ExistingResourceObject, ResourceIdentifierObject } from '@warp-drive/core-types/spec/raw';
8
- export type ResourceData = ResourceIdentifierObject | ExistingResourceObject;
9
7
  /**
10
8
  Configures how unique identifier lid strings are generated by @ember-data/store.
11
9
 
@@ -1 +1 @@
1
- {"version":3,"file":"identifier.d.ts","sourceRoot":"","sources":["../../../src/-types/q/identifier.ts"],"names":[],"mappings":"AAAA;;EAEE;AAEF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AACpH,OAAO,KAAK,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAExG,MAAM,MAAM,YAAY,GAAG,wBAAwB,GAAG,sBAAsB,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0EE;AACF,MAAM,WAAW,gBAAgB;IAC/B,CAAC,IAAI,EAAE,oBAAoB,EAAE,MA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AK,OAAO,CAAC"}
@@ -1,6 +1,6 @@
1
1
  declare module '@ember-data/store/-types/q/record-data-json-api' {
2
2
  import type { Value } from '@warp-drive/core-types/json/raw';
3
- import type { CollectionResourceRelationship, Link, Links, Meta, SingleResourceRelationship } from '@warp-drive/core-types/spec/raw';
3
+ import type { CollectionResourceRelationship, Link, Links, Meta, SingleResourceRelationship } from '@warp-drive/core-types/spec/json-api-raw';
4
4
  /**
5
5
  @module @ember-data/store
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"record-data-json-api.d.ts","sourceRoot":"","sources":["../../../src/-types/q/record-data-json-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,KAAK,EACV,8BAA8B,EAC9B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,0BAA0B,EAC3B,MAAM,iCAAiC,CAAC;AAEzC;;EAEE;AAEF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,0BAA0B,GAAG,8BAA8B,CAAC,CAAC;IAC5F,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,IAAI,CAAC;QACb,IAAI,CAAC,EAAE,IAAI,CAAC;KACb,CAAC;IAC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AAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,GAAG,8BAA8B,CAAC"}
@@ -2,14 +2,13 @@ declare module '@ember-data/store/-types/q/schema-service' {
2
2
  /**
3
3
  @module @ember-data/store
4
4
  */
5
+ import type { StableRecordIdentifier } from '@warp-drive/core-types';
5
6
  import type { RecordIdentifier } from '@warp-drive/core-types/identifier';
6
- import type { AttributesSchema, RelationshipsSchema } from '@warp-drive/core-types/schema';
7
- export interface FieldSchema {
8
- type: string | null;
9
- name: string;
10
- kind: 'attribute' | 'hasMany' | 'belongsTo' | 'field' | 'resource' | 'collection' | 'derived' | 'object' | 'schema-object' | 'array' | 'schema-array' | '@id' | '@local';
11
- options?: Record<string, unknown>;
12
- }
7
+ import type { ObjectValue } from '@warp-drive/core-types/json/raw';
8
+ import type { Derivation, HashFn, Transformation } from '@warp-drive/core-types/schema/concepts';
9
+ import type { FieldSchema, LegacyAttributeField, LegacyBelongsToField, LegacyHasManyField, ResourceSchema } from '@warp-drive/core-types/schema/fields';
10
+ export type AttributesSchema = Record<string, LegacyAttributeField>;
11
+ export type RelationshipsSchema = Record<string, LegacyBelongsToField | LegacyHasManyField>;
13
12
  /**
14
13
  * The SchemaService provides the ability to query for information about the structure
15
14
  * of any resource type.
@@ -29,18 +28,16 @@ declare module '@ember-data/store/-types/q/schema-service' {
29
28
  * resulting in no need to bundle and ship potentially large and expensive JSON
30
29
  * or large Javascript based Models to pull information from.
31
30
  *
32
- * To register a custom schema implementation, extend the store service or
33
- * lookup and register the schema service first thing on app-boot. Example below
34
- * shows extending the service.
31
+ * To register a custom schema implementation, implement the store's `createSchemaService`
32
+ * hook to return an instance of your service.
35
33
  *
36
34
  * ```ts
37
35
  * import Store from '@ember-data/store';
38
36
  * import CustomSchemas from './custom-schemas';
39
37
  *
40
38
  * export default class extends Store {
41
- * constructor(...args) {
42
- * super(...args);
43
- * this.registerSchema(new CustomSchemas());
39
+ * createSchemaService() {
40
+ * return new CustomSchemas();
44
41
  * }
45
42
  * }
46
43
  * ```
@@ -52,39 +49,173 @@ declare module '@ember-data/store/-types/q/schema-service' {
52
49
  * export default class extends Component {
53
50
  * @service store;
54
51
  *
55
- * get attributes() {
52
+ * get fields() {
56
53
  * return this.store
57
54
  * .schema
58
- * .attributesDefinitionFor(this.args.dataType);
55
+ * .fields(this.args.dataType);
59
56
  * }
60
57
  * }
61
58
  * ```
62
59
  *
63
- * Note: there can only be one schema service registered at a time.
64
- * If you register a new schema service, the old one will be replaced.
65
- *
66
- * If you would like to inherit from another schema service, you can do so by
67
- * using typical class inheritance patterns OR by accessing the existing
68
- * schema service at runtime before replacing it with your own, and then
69
- * having your own delegate to it when needed.
70
- *
71
60
  * @class <Interface> SchemaService
72
61
  * @public
73
62
  */
74
63
  export interface SchemaService {
75
64
  /**
76
- * Queries whether the schema-definition-service recognizes `type` as a resource type
65
+ * DEPRECATED - use `hasResource` instead
66
+ *
67
+ * Queries whether the SchemaService recognizes `type` as a resource type
77
68
  *
78
69
  * @method doesTypeExist
79
70
  * @public
71
+ * @deprecated
72
+ * @param {string} type
73
+ * @return {boolean}
74
+ */
75
+ doesTypeExist?(type: string): boolean;
76
+ /**
77
+ * Queries whether the SchemaService recognizes `type` as a resource type
78
+ *
79
+ * @method hasResource
80
+ * @public
81
+ * @param {StableRecordIdentifier|{ type: string }} resource
82
+ * @return {boolean}
83
+ */
84
+ hasResource(resource: {
85
+ type: string;
86
+ } | StableRecordIdentifier): boolean;
87
+ /**
88
+ * Queries whether the SchemaService recognizes `type` as a resource trait
89
+ *
90
+ * @method hasTrait
91
+ * @public
80
92
  * @param {string} type
81
93
  * @return {boolean}
82
94
  */
83
- doesTypeExist(type: string): boolean;
84
- fields({ type }: {
95
+ hasTrait(type: string): boolean;
96
+ /**
97
+ * Queries whether the given resource has the given trait
98
+ *
99
+ * @method resourceHasTrait
100
+ * @public
101
+ * @param {StableRecordIdentifier|{ type: string }} resource
102
+ * @param {string} trait
103
+ * @return {boolean}
104
+ */
105
+ resourceHasTrait(resource: {
106
+ type: string;
107
+ } | StableRecordIdentifier, trait: string): boolean;
108
+ /**
109
+ * Queries for the fields of a given resource type or resource identity.
110
+ *
111
+ * Should error if the resource type is not recognized.
112
+ *
113
+ * @method fields
114
+ * @public
115
+ * @param {StableRecordIdentifier|{ type: string }} resource
116
+ * @return {Map<string, FieldSchema>}
117
+ */
118
+ fields(resource: {
85
119
  type: string;
86
- }): Map<string, FieldSchema>;
120
+ } | StableRecordIdentifier): Map<string, FieldSchema>;
87
121
  /**
122
+ * Returns the transformation registered with the provided name.
123
+ *
124
+ * @method transformation
125
+ * @public
126
+ * @param name
127
+ * @returns {Transformation}
128
+ */
129
+ transformation(name: string): Transformation;
130
+ /**
131
+ * Returns the hash function registered with the provided name.
132
+ *
133
+ * @method hashFn
134
+ * @public
135
+ * @param name
136
+ * @returns {HashFn}
137
+ */
138
+ hashFn(name: string): HashFn;
139
+ /**
140
+ * Returns the derivation registered with the provided name.
141
+ *
142
+ * @method derivation
143
+ * @public
144
+ * @param name
145
+ * @returns {Derivation}
146
+ */
147
+ derivation(name: string): Derivation;
148
+ /**
149
+ * Returns the schema for the provided resource type.
150
+ *
151
+ * @method resource
152
+ * @public
153
+ * @param {StableRecordIdentifier|{ type: string }} resource
154
+ * @return {ResourceSchema}
155
+ */
156
+ resource(resource: {
157
+ type: string;
158
+ } | StableRecordIdentifier): ResourceSchema;
159
+ /**
160
+ * Enables registration of multiple ResourceSchemas at once.
161
+ *
162
+ * This can be useful for either pre-loading schema information
163
+ * or for registering schema information delivered by API calls
164
+ * or other sources just-in-time.
165
+ *
166
+ * @method registerResources
167
+ * @public
168
+ * @param schemas
169
+ */
170
+ registerResources(schemas: ResourceSchema[]): void;
171
+ /**
172
+ * Enables registration of a single ResourceSchema.
173
+ *
174
+ * This can be useful for either pre-loading schema information
175
+ * or for registering schema information delivered by API calls
176
+ * or other sources just-in-time.
177
+ *
178
+ * @method registerResource
179
+ * @public
180
+ * @param {ResourceSchema} schema
181
+ */
182
+ registerResource(schema: ResourceSchema): void;
183
+ /**
184
+ * Enables registration of a transformation.
185
+ *
186
+ * The transformation can later be retrieved by the name
187
+ * attached to it's `[Type]` property.
188
+ *
189
+ * @method registerTransformations
190
+ * @public
191
+ * @param {Transformation} transform
192
+ */
193
+ registerTransformation(transform: Transformation): void;
194
+ /**
195
+ * Enables registration of a derivation.
196
+ *
197
+ * The derivation can later be retrieved by the name
198
+ * attached to it's `[Type]` property.
199
+ *
200
+ * @method registerDerivations
201
+ * @public
202
+ * @param {Derivation} derivation
203
+ */
204
+ registerDerivation<R, T, FM extends ObjectValue | null>(derivation: Derivation<R, T, FM>): void;
205
+ /**
206
+ * Enables registration of a hashing function
207
+ *
208
+ * The hashing function can later be retrieved by the name
209
+ * attached to it's `[Type]` property.
210
+ *
211
+ * @method registerHashFn
212
+ * @public
213
+ * @param {HashFn} hashfn
214
+ */
215
+ registerHashFn(hashFn: HashFn): void;
216
+ /**
217
+ * DEPRECATED - use `fields` instead
218
+ *
88
219
  * Returns definitions for all properties of the specified resource
89
220
  * that are considered "attributes". Generally these are properties
90
221
  * that are not related to book-keeping state on the client and do
@@ -122,13 +253,16 @@ declare module '@ember-data/store/-types/q/schema-service' {
122
253
  *
123
254
  * @method attributesDefinitionFor
124
255
  * @public
256
+ * @deprecated
125
257
  * @param {RecordIdentifier|{ type: string }} identifier
126
258
  * @return {AttributesSchema}
127
259
  */
128
- attributesDefinitionFor(identifier: RecordIdentifier | {
260
+ attributesDefinitionFor?(identifier: RecordIdentifier | {
129
261
  type: string;
130
262
  }): AttributesSchema;
131
263
  /**
264
+ * DEPRECATED - use `fields` instead
265
+ *
132
266
  * Returns definitions for all properties of the specified resource
133
267
  * that are considered "relationships". Generally these are properties
134
268
  * that represent a linkage to another resource.
@@ -203,10 +337,11 @@ declare module '@ember-data/store/-types/q/schema-service' {
203
337
  *
204
338
  * @method relationshipsDefinitionFor
205
339
  * @public
340
+ * @deprecated
206
341
  * @param {RecordIdentifier|{ type: string }} identifier
207
342
  * @return {RelationshipsSchema}
208
343
  */
209
- relationshipsDefinitionFor(identifier: RecordIdentifier | {
344
+ relationshipsDefinitionFor?(identifier: RecordIdentifier | {
210
345
  type: string;
211
346
  }): RelationshipsSchema;
212
347
  }
@@ -1 +1 @@
1
- {"version":3,"file":"schema-service.d.ts","sourceRoot":"","sources":["../../../src/-types/q/schema-service.ts"],"names":[],"mappings":"AAAA;;EAEE;AAEF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAE3F,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EACA,WAAW,GACX,SAAS,GACT,WAAW,GACX,OAAO,GACP,UAAU,GACV,YAAY,GACZ,SAAS,GACT,QAAQ,GACR,eAAe,GACf,OAAO,GACP,cAAc,GACd,KAAK,GACL,QAAQ,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAErC,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,GAAG,CAAC,MA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;IAEhG;;;;;;;;;OASG;IACH,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAErC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,uBAAuB,CAAC,CAAC,UAAU,EAAE,gBAAgB,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,gBAAgB,CAAC;IAE5F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgFG;IACH,0BAA0B,CAAC,CAAC,UAAU,EAAE,gBAAgB,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG,mBAAmB,CAAC;CACnG"}
@@ -1,37 +1,36 @@
1
1
  /// <reference path="./-private.d.ts" />
2
+ /// <reference path="./types.d.ts" />
3
+ /// <reference path="./-types/overview.d.ts" />
4
+ /// <reference path="./-types/q/identifier.d.ts" />
5
+ /// <reference path="./-types/q/cache-capabilities-manager.d.ts" />
6
+ /// <reference path="./-types/q/store.d.ts" />
7
+ /// <reference path="./-types/q/record-instance.d.ts" />
8
+ /// <reference path="./-types/q/record-data-json-api.d.ts" />
9
+ /// <reference path="./-types/q/promise-proxies.d.ts" />
10
+ /// <reference path="./-types/q/schema-service.d.ts" />
11
+ /// <reference path="./-types/q/ds-model.d.ts" />
12
+ /// <reference path="./-private/store-service.type-test.d.ts" />
2
13
  /// <reference path="./-private/document.d.ts" />
3
- /// <reference path="./-private/cache-handler.d.ts" />
4
14
  /// <reference path="./-private/store-service.d.ts" />
5
- /// <reference path="./-private/store-service.type-test.d.ts" />
15
+ /// <reference path="./-private/cache-handler.d.ts" />
16
+ /// <reference path="./-private/caches/resource-utils.d.ts" />
17
+ /// <reference path="./-private/caches/instance-cache.d.ts" />
18
+ /// <reference path="./-private/caches/identifier-cache.d.ts" />
19
+ /// <reference path="./-private/caches/cache-utils.d.ts" />
20
+ /// <reference path="./-private/network/request-cache.d.ts" />
21
+ /// <reference path="./-private/managers/record-array-manager.d.ts" />
6
22
  /// <reference path="./-private/managers/cache-capabilities-manager.d.ts" />
7
23
  /// <reference path="./-private/managers/cache-manager.d.ts" />
8
- /// <reference path="./-private/managers/record-array-manager.d.ts" />
9
24
  /// <reference path="./-private/managers/notification-manager.d.ts" />
10
- /// <reference path="./-private/utils/uuid-polyfill.d.ts" />
11
- /// <reference path="./-private/utils/normalize-model-name.d.ts" />
12
- /// <reference path="./-private/utils/construct-resource.d.ts" />
13
- /// <reference path="./-private/utils/is-non-empty-string.d.ts" />
14
- /// <reference path="./-private/utils/identifier-debug-consts.d.ts" />
15
- /// <reference path="./-private/utils/coerce-id.d.ts" />
16
- /// <reference path="./-private/caches/cache-utils.d.ts" />
17
- /// <reference path="./-private/caches/identifier-cache.d.ts" />
18
- /// <reference path="./-private/caches/instance-cache.d.ts" />
19
- /// <reference path="./-private/caches/resource-utils.d.ts" />
20
25
  /// <reference path="./-private/record-arrays/native-proxy-type-fix.d.ts" />
21
26
  /// <reference path="./-private/record-arrays/identifier-array.d.ts" />
22
- /// <reference path="./-private/network/request-cache.d.ts" />
23
- /// <reference path="./-private/legacy-model-support/record-reference.d.ts" />
27
+ /// <reference path="./-private/utils/coerce-id.d.ts" />
28
+ /// <reference path="./-private/utils/uuid-polyfill.d.ts" />
29
+ /// <reference path="./-private/utils/is-non-empty-string.d.ts" />
30
+ /// <reference path="./-private/utils/construct-resource.d.ts" />
31
+ /// <reference path="./-private/utils/normalize-model-name.d.ts" />
24
32
  /// <reference path="./-private/legacy-model-support/shim-model-class.d.ts" />
25
- /// <reference path="./-types/overview.d.ts" />
26
- /// <reference path="./-types/q/cache.d.ts" />
27
- /// <reference path="./-types/q/identifier.d.ts" />
28
- /// <reference path="./-types/q/store.d.ts" />
29
- /// <reference path="./-types/q/record-data-json-api.d.ts" />
30
- /// <reference path="./-types/q/schema-service.d.ts" />
31
- /// <reference path="./-types/q/cache-store-wrapper.d.ts" />
32
- /// <reference path="./-types/q/ds-model.d.ts" />
33
- /// <reference path="./-types/q/promise-proxies.d.ts" />
34
- /// <reference path="./-types/q/record-instance.d.ts" />
33
+ /// <reference path="./-private/legacy-model-support/record-reference.d.ts" />
35
34
  declare module '@ember-data/store' {
36
35
  /**
37
36
  * <p align="center">
@@ -216,8 +215,8 @@ declare module '@ember-data/store' {
216
215
  * @module @ember-data/store
217
216
  * @main @ember-data/store
218
217
  */
219
- export { Store as default, CacheHandler, type LifetimesService, type StoreRequestInput, recordIdentifierFor, storeFor, } from '@ember-data/store/-private';
220
- export type { NotificationType } from '@ember-data/store/-private/managers/notification-manager';
218
+ export { Store as default, type StoreRequestContext, CacheHandler, type Document, type CachePolicy, type StoreRequestInput, recordIdentifierFor, storeFor, } from '@ember-data/store/-private';
219
+ export type { CacheOperation, NotificationType } from '@ember-data/store/-private/managers/notification-manager';
221
220
  export { setIdentifierGenerationMethod, setIdentifierUpdateMethod, setIdentifierForgetMethod, setIdentifierResetMethod, setKeyInfoForResource, } from '@ember-data/store/-private/caches/identifier-cache';
222
221
  }
223
222
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsLG;AAEH,OAAO,EACL,KAAK,IAAI,OAAO,EAChB,YAAY,EACZ,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,QAAQ,GACT,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAEjF,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsLG;AAEH,OAAO,EACL,KAAK,IAAI,OAAO,EAChB,KAAK,mBAAmB,EACxB,YAAY,EACZ,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,QAAQ,GACT,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAEjG,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,oCAAoC,CAAC"}
@@ -0,0 +1,7 @@
1
+ declare module '@ember-data/store/types' {
2
+ export type { CacheCapabilitiesManager } from '@ember-data/store/-types/q/cache-capabilities-manager';
3
+ export type { ModelSchema } from '@ember-data/store/-types/q/ds-model';
4
+ export type { SchemaService } from '@ember-data/store/-types/q/schema-service';
5
+ export type { BaseFinderOptions, FindRecordOptions, QueryOptions, FindAllOptions } from '@ember-data/store/-types/q/store';
6
+ }
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,7 +0,0 @@
1
- declare module '@ember-data/store/-private/utils/identifier-debug-consts' {
2
- export const DEBUG_CLIENT_ORIGINATED: unique symbol;
3
- export const DEBUG_IDENTIFIER_BUCKET: unique symbol;
4
- export const DEBUG_STALE_CACHE_OWNER: unique symbol;
5
- export const CACHE_OWNER: unique symbol;
6
- }
7
- //# sourceMappingURL=identifier-debug-consts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"identifier-debug-consts.d.ts","sourceRoot":"","sources":["../../../src/-private/utils/identifier-debug-consts.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,uBAAuB,EAAE,OAAO,MAA8C,CAAC;AAC5F,eAAO,MAAM,uBAAuB,EAAE,OAAO,MAAoC,CAAC;AAClF,eAAO,MAAM,uBAAuB,EAAE,OAAO,MAAsC,CAAC;AAGpF,eAAO,MAAM,WAAW,EAAE,OAAO,MAAiC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"cache-store-wrapper.d.ts","sourceRoot":"","sources":["../../../src/-types/q/cache-store-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE1G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;EAEE;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;;;;;;;OASG;IACH,eAAe,EAAE,eAAe,CAAC;IAEjC;;;;;;;;;OASG;IACH,0BAA0B,IAAI,aAAa,CAAC;IAE5C;;;;;;;;;OASG;IACH,MAAM,EAAE,aAAa,CAAC;IAEtB;;;;;;;;OAQG;IACH,WAAW,CAAC,UAAU,EAAE,sBAAsB,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAElE;;;;;;;;;OASG;IACH,gBAAgB,CAAC,UAAU,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAE3D;;;;;;;;OAQG;IACH,SAAS,CAAC,UAAU,EAAE,sBAAsB,GAAG,OAAO,CAAC;IAEvD;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,UAAU,EAAE,sBAAsB,EAAE,SAAS,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC;IACvF,YAAY,CAAC,UAAU,EAAE,wBAAwB,EAAE,SAAS,EAAE,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,IAAI,CAAC;IACrG,YAAY,CAAC,UAAU,EAAE,sBAAsB,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClG,YAAY,CACV,UAAU,EAAE,sBAAsB,GAAG,wBAAwB,EAC7D,SAAS,EAAE,gBAAgB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,EAC7D,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CAAC;CACT"}
@@ -1,47 +0,0 @@
1
- declare module '@ember-data/store/-types/q/cache' {
2
- import type { Cache, ChangedAttributesHash } from '@warp-drive/core-types/cache';
3
- import type { RecordIdentifier, StableRecordIdentifier } from '@warp-drive/core-types/identifier';
4
- import type { ApiError } from '@warp-drive/core-types/spec/error';
5
- import type { CollectionResourceRelationship, SingleResourceRelationship } from '@warp-drive/core-types/spec/raw';
6
- import type { JsonApiResource } from '@ember-data/store/-types/q/record-data-json-api';
7
- /**
8
- @module @ember-data/store
9
- */
10
- export interface MergeOperation {
11
- op: 'mergeIdentifiers';
12
- record: StableRecordIdentifier;
13
- value: StableRecordIdentifier;
14
- }
15
- export interface CacheV1 {
16
- version?: '1';
17
- getResourceIdentifier(): RecordIdentifier | undefined;
18
- pushData(data: JsonApiResource, calculateChange: true): string[];
19
- pushData(data: JsonApiResource, calculateChange?: false): void;
20
- pushData(data: JsonApiResource, calculateChange?: boolean): string[] | void;
21
- clientDidCreate(): void;
22
- _initRecordCreateOptions(options?: Record<string, unknown>): Record<string, unknown>;
23
- willCommit(): void;
24
- didCommit(data: JsonApiResource | null): void;
25
- commitWasRejected(recordIdentifier?: RecordIdentifier, errors?: ApiError[]): void;
26
- unloadRecord(): void;
27
- getAttr(key: string): unknown;
28
- setDirtyAttribute(key: string, value: unknown): void;
29
- changedAttributes(): ChangedAttributesHash;
30
- hasChangedAttributes(): boolean;
31
- rollbackAttributes(): string[];
32
- getBelongsTo(key: string): SingleResourceRelationship;
33
- getHasMany(key: string): CollectionResourceRelationship;
34
- setDirtyBelongsTo(name: string, recordData: Cache | null): void;
35
- setDirtyHasMany(key: string, recordDatas: Cache[]): void;
36
- addToHasMany(key: string, recordDatas: Cache[], idx?: number): void;
37
- removeFromHasMany(key: string, recordDatas: Cache[]): void;
38
- setIsDeleted(isDeleted: boolean): void;
39
- getErrors(identifier: StableRecordIdentifier): ApiError[];
40
- isEmpty?(identifier: StableRecordIdentifier): boolean;
41
- isNew(identifier: StableRecordIdentifier): boolean;
42
- isDeleted(identifier: StableRecordIdentifier): boolean;
43
- isDeletionCommitted(identifier: StableRecordIdentifier): boolean;
44
- }
45
- export type { Cache };
46
- }
47
- //# sourceMappingURL=cache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../src/-types/q/cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAClG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,KAAK,EAAE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