@ember-data/store 5.6.0-alpha.1 → 5.6.0-alpha.11

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 (100) hide show
  1. package/README.md +5 -5
  2. package/addon-main.cjs +1 -1
  3. package/dist/-private.js +1 -2
  4. package/dist/-private.js.map +1 -1
  5. package/dist/configure.js +1 -1
  6. package/dist/index.js +208 -5
  7. package/dist/index.js.map +1 -1
  8. package/package.json +8 -19
  9. package/unstable-preview-types/-private.d.ts +1 -30
  10. package/unstable-preview-types/-private.d.ts.map +1 -1
  11. package/unstable-preview-types/configure.d.ts +2 -6
  12. package/unstable-preview-types/configure.d.ts.map +1 -1
  13. package/unstable-preview-types/index.d.ts +2 -224
  14. package/unstable-preview-types/index.d.ts.map +1 -1
  15. package/unstable-preview-types/types.d.ts +1 -4
  16. package/unstable-preview-types/types.d.ts.map +1 -1
  17. package/dist/configure-BfLLW6GY.js +0 -161
  18. package/dist/configure-BfLLW6GY.js.map +0 -1
  19. package/dist/request-state-uRtpn0Lc.js +0 -7709
  20. package/dist/request-state-uRtpn0Lc.js.map +0 -1
  21. package/unstable-preview-types/-private/cache-handler/handler.d.ts +0 -62
  22. package/unstable-preview-types/-private/cache-handler/handler.d.ts.map +0 -1
  23. package/unstable-preview-types/-private/cache-handler/types.d.ts +0 -107
  24. package/unstable-preview-types/-private/cache-handler/types.d.ts.map +0 -1
  25. package/unstable-preview-types/-private/cache-handler/utils.d.ts +0 -34
  26. package/unstable-preview-types/-private/cache-handler/utils.d.ts.map +0 -1
  27. package/unstable-preview-types/-private/caches/cache-utils.d.ts +0 -11
  28. package/unstable-preview-types/-private/caches/cache-utils.d.ts.map +0 -1
  29. package/unstable-preview-types/-private/caches/identifier-cache.d.ts +0 -180
  30. package/unstable-preview-types/-private/caches/identifier-cache.d.ts.map +0 -1
  31. package/unstable-preview-types/-private/caches/instance-cache.d.ts +0 -64
  32. package/unstable-preview-types/-private/caches/instance-cache.d.ts.map +0 -1
  33. package/unstable-preview-types/-private/caches/resource-utils.d.ts +0 -12
  34. package/unstable-preview-types/-private/caches/resource-utils.d.ts.map +0 -1
  35. package/unstable-preview-types/-private/debug/utils.d.ts +0 -9
  36. package/unstable-preview-types/-private/debug/utils.d.ts.map +0 -1
  37. package/unstable-preview-types/-private/document.d.ts +0 -155
  38. package/unstable-preview-types/-private/document.d.ts.map +0 -1
  39. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts +0 -179
  40. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts.map +0 -1
  41. package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts +0 -19
  42. package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts.map +0 -1
  43. package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts +0 -31
  44. package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts.map +0 -1
  45. package/unstable-preview-types/-private/managers/cache-manager.d.ts +0 -463
  46. package/unstable-preview-types/-private/managers/cache-manager.d.ts.map +0 -1
  47. package/unstable-preview-types/-private/managers/notification-manager.d.ts +0 -101
  48. package/unstable-preview-types/-private/managers/notification-manager.d.ts.map +0 -1
  49. package/unstable-preview-types/-private/managers/record-array-manager.d.ts +0 -101
  50. package/unstable-preview-types/-private/managers/record-array-manager.d.ts.map +0 -1
  51. package/unstable-preview-types/-private/network/request-cache.d.ts +0 -109
  52. package/unstable-preview-types/-private/network/request-cache.d.ts.map +0 -1
  53. package/unstable-preview-types/-private/new-core-tmp/promise-state.d.ts +0 -289
  54. package/unstable-preview-types/-private/new-core-tmp/promise-state.d.ts.map +0 -1
  55. package/unstable-preview-types/-private/new-core-tmp/reactivity/configure.d.ts +0 -92
  56. package/unstable-preview-types/-private/new-core-tmp/reactivity/configure.d.ts.map +0 -1
  57. package/unstable-preview-types/-private/new-core-tmp/reactivity/internal.d.ts +0 -172
  58. package/unstable-preview-types/-private/new-core-tmp/reactivity/internal.d.ts.map +0 -1
  59. package/unstable-preview-types/-private/new-core-tmp/reactivity/signal.d.ts +0 -32
  60. package/unstable-preview-types/-private/new-core-tmp/reactivity/signal.d.ts.map +0 -1
  61. package/unstable-preview-types/-private/new-core-tmp/request-state.d.ts +0 -276
  62. package/unstable-preview-types/-private/new-core-tmp/request-state.d.ts.map +0 -1
  63. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts +0 -145
  64. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts.map +0 -1
  65. package/unstable-preview-types/-private/record-arrays/many-array.d.ts +0 -203
  66. package/unstable-preview-types/-private/record-arrays/many-array.d.ts.map +0 -1
  67. package/unstable-preview-types/-private/record-arrays/native-proxy-type-fix.d.ts +0 -118
  68. package/unstable-preview-types/-private/record-arrays/native-proxy-type-fix.d.ts.map +0 -1
  69. package/unstable-preview-types/-private/store-service.d.ts +0 -1601
  70. package/unstable-preview-types/-private/store-service.d.ts.map +0 -1
  71. package/unstable-preview-types/-private/store-service.type-test.d.ts +0 -4
  72. package/unstable-preview-types/-private/store-service.type-test.d.ts.map +0 -1
  73. package/unstable-preview-types/-private/utils/coerce-id.d.ts +0 -10
  74. package/unstable-preview-types/-private/utils/coerce-id.d.ts.map +0 -1
  75. package/unstable-preview-types/-private/utils/construct-resource.d.ts +0 -9
  76. package/unstable-preview-types/-private/utils/construct-resource.d.ts.map +0 -1
  77. package/unstable-preview-types/-private/utils/is-non-empty-string.d.ts +0 -4
  78. package/unstable-preview-types/-private/utils/is-non-empty-string.d.ts.map +0 -1
  79. package/unstable-preview-types/-private/utils/normalize-model-name.d.ts +0 -4
  80. package/unstable-preview-types/-private/utils/normalize-model-name.d.ts.map +0 -1
  81. package/unstable-preview-types/-private/utils/uuid-polyfill.d.ts +0 -4
  82. package/unstable-preview-types/-private/utils/uuid-polyfill.d.ts.map +0 -1
  83. package/unstable-preview-types/-types/overview.d.ts +0 -21
  84. package/unstable-preview-types/-types/overview.d.ts.map +0 -1
  85. package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts +0 -110
  86. package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts.map +0 -1
  87. package/unstable-preview-types/-types/q/ds-model.d.ts +0 -25
  88. package/unstable-preview-types/-types/q/ds-model.d.ts.map +0 -1
  89. package/unstable-preview-types/-types/q/identifier.d.ts +0 -193
  90. package/unstable-preview-types/-types/q/identifier.d.ts.map +0 -1
  91. package/unstable-preview-types/-types/q/promise-proxies.d.ts +0 -4
  92. package/unstable-preview-types/-types/q/promise-proxies.d.ts.map +0 -1
  93. package/unstable-preview-types/-types/q/record-data-json-api.d.ts +0 -36
  94. package/unstable-preview-types/-types/q/record-data-json-api.d.ts.map +0 -1
  95. package/unstable-preview-types/-types/q/record-instance.d.ts +0 -29
  96. package/unstable-preview-types/-types/q/record-instance.d.ts.map +0 -1
  97. package/unstable-preview-types/-types/q/schema-service.d.ts +0 -354
  98. package/unstable-preview-types/-types/q/schema-service.d.ts.map +0 -1
  99. package/unstable-preview-types/-types/q/store.d.ts +0 -38
  100. package/unstable-preview-types/-types/q/store.d.ts.map +0 -1
@@ -1,118 +0,0 @@
1
- declare module '@ember-data/store/-private/record-arrays/native-proxy-type-fix' {
2
- interface ProxyHandler<T extends object> {
3
- /**
4
- * A trap method for a function call.
5
- * @param target The original callable object which is being proxied.
6
- * @internal
7
- */
8
- apply?(target: T, thisArg: any, argArray: any[]): any;
9
- /**
10
- * A trap for the `new` operator.
11
- * @param target The original object which is being proxied.
12
- * @param newTarget The constructor that was originally called.
13
- * @internal
14
- */
15
- construct?(target: T, argArray: any[], newTarget: Function): object;
16
- /**
17
- * A trap for `Object.defineProperty()`.
18
- * @param target The original object which is being proxied.
19
- * @return A `Boolean` indicating whether or not the property has been defined.
20
- * @internal
21
- */
22
- defineProperty?(target: T, property: string | symbol, attributes: PropertyDescriptor): boolean;
23
- /**
24
- * A trap for the `delete` operator.
25
- * @param target The original object which is being proxied.
26
- * @param p The name or `Symbol` of the property to delete.
27
- * @return A `Boolean` indicating whether or not the property was deleted.
28
- * @internal
29
- */
30
- deleteProperty?(target: T, p: string | symbol): boolean;
31
- /**
32
- * A trap for getting a property value.
33
- * @param target The original object which is being proxied.
34
- * @param p The name or `Symbol` of the property to get.
35
- * @param receiver The proxy or an object that inherits from the proxy.
36
- * @internal
37
- */
38
- get?(target: T, p: string | symbol, receiver: any): any;
39
- /**
40
- * A trap for `Object.getOwnPropertyDescriptor()`.
41
- * @param target The original object which is being proxied.
42
- * @param p The name of the property whose description should be retrieved.
43
- * @internal
44
- */
45
- getOwnPropertyDescriptor?(target: T, p: string | symbol): PropertyDescriptor | undefined;
46
- /**
47
- * A trap for the `[[GetPrototypeOf]]` internal method.
48
- * @param target The original object which is being proxied.
49
- * @internal
50
- */
51
- getPrototypeOf?(target: T): object | null;
52
- /**
53
- * A trap for the `in` operator.
54
- * @param target The original object which is being proxied.
55
- * @param p The name or `Symbol` of the property to check for existence.
56
- * @internal
57
- */
58
- has?(target: T, p: string | symbol): boolean;
59
- /**
60
- * A trap for `Object.isExtensible()`.
61
- * @param target The original object which is being proxied.
62
- * @internal
63
- */
64
- isExtensible?(target: T): boolean;
65
- /**
66
- * A trap for `Reflect.ownKeys()`.
67
- * @param target The original object which is being proxied.
68
- * @internal
69
- */
70
- ownKeys?(target: T): ArrayLike<string | symbol>;
71
- /**
72
- * A trap for `Object.preventExtensions()`.
73
- * @param target The original object which is being proxied.
74
- * @internal
75
- */
76
- preventExtensions?(target: T): boolean;
77
- /**
78
- * A trap for setting a property value.
79
- * @param target The original object which is being proxied.
80
- * @param p The name or `Symbol` of the property to set.
81
- * @param receiver The object to which the assignment was originally directed.
82
- * @return A `Boolean` indicating whether or not the property was set.
83
- * @internal
84
- */
85
- set?(target: T, p: string | symbol, newValue: any, receiver: any): boolean;
86
- /**
87
- * A trap for `Object.setPrototypeOf()`.
88
- * @param target The original object which is being proxied.
89
- * @param newPrototype The object's new prototype or `null`.
90
- * @internal
91
- */
92
- setPrototypeOf?(target: T, v: object | null): boolean;
93
- }
94
- interface ProxyConstructor {
95
- /**
96
- * Creates a revocable Proxy object.
97
- * @param target A target object to wrap with Proxy.
98
- * @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.
99
- * @internal
100
- */
101
- revocable<T extends object>(target: T, handler: ProxyHandler<T>): {
102
- proxy: T;
103
- revoke: () => void;
104
- };
105
- /**
106
- * Creates a Proxy object. The Proxy object allows you to create an object that can be used in place of the
107
- * original object, but which may redefine fundamental Object operations like getting, setting, and defining
108
- * properties. Proxy objects are commonly used to log property accesses, validate, format, or sanitize inputs.
109
- * @param target A target object to wrap with Proxy.
110
- * @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.
111
- * @internal
112
- */
113
- new <TSource extends object, TTarget extends object>(target: TSource, handler: ProxyHandler<TSource>): TTarget;
114
- }
115
- export const NativeProxy: ProxyConstructor;
116
- export {};
117
- }
118
- //# sourceMappingURL=native-proxy-type-fix.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"native-proxy-type-fix.d.ts","sourceRoot":"","sources":["../../../src/-private/record-arrays/native-proxy-type-fix.ts"],"names":[],"mappings":"AAOA,UAAU,YAAY,CAAC,CAAC,SAAS,MAAM;IACrC;;;;OAIG;IACH,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC;IAEtD;;;;;OAKG;IAEH,SAAS,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC;IAEpE;;;;;OAKG;IACH,cAAc,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,UAAU,EAAE,kBAAkB,GAAG,OAAO,CAAC;IAE/F;;;;;;OAMG;IACH,cAAc,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;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