@ember-data/store 5.6.0-alpha.5 → 5.6.0-beta.1

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/addon-main.cjs +1 -1
  2. package/dist/-private.js +1 -2
  3. package/dist/configure.js +1 -1
  4. package/dist/index.js +208 -5
  5. package/dist/types.js +1 -0
  6. package/package.json +11 -15
  7. package/unstable-preview-types/-private.d.ts +3 -29
  8. package/unstable-preview-types/configure.d.ts +14 -14
  9. package/unstable-preview-types/index.d.ts +4 -225
  10. package/unstable-preview-types/types.d.ts +3 -6
  11. package/dist/-private.js.map +0 -1
  12. package/dist/configure-BCr2QDik.js +0 -160
  13. package/dist/configure-BCr2QDik.js.map +0 -1
  14. package/dist/configure.js.map +0 -1
  15. package/dist/index.js.map +0 -1
  16. package/dist/request-state-BEsHKec0.js +0 -7573
  17. package/dist/request-state-BEsHKec0.js.map +0 -1
  18. package/dist/types.js.map +0 -1
  19. package/unstable-preview-types/-private/cache-handler/handler.d.ts +0 -59
  20. package/unstable-preview-types/-private/cache-handler/handler.d.ts.map +0 -1
  21. package/unstable-preview-types/-private/cache-handler/types.d.ts +0 -101
  22. package/unstable-preview-types/-private/cache-handler/types.d.ts.map +0 -1
  23. package/unstable-preview-types/-private/cache-handler/utils.d.ts +0 -34
  24. package/unstable-preview-types/-private/cache-handler/utils.d.ts.map +0 -1
  25. package/unstable-preview-types/-private/caches/cache-utils.d.ts +0 -11
  26. package/unstable-preview-types/-private/caches/cache-utils.d.ts.map +0 -1
  27. package/unstable-preview-types/-private/caches/identifier-cache.d.ts +0 -171
  28. package/unstable-preview-types/-private/caches/identifier-cache.d.ts.map +0 -1
  29. package/unstable-preview-types/-private/caches/instance-cache.d.ts +0 -63
  30. package/unstable-preview-types/-private/caches/instance-cache.d.ts.map +0 -1
  31. package/unstable-preview-types/-private/caches/resource-utils.d.ts +0 -12
  32. package/unstable-preview-types/-private/caches/resource-utils.d.ts.map +0 -1
  33. package/unstable-preview-types/-private/debug/utils.d.ts +0 -9
  34. package/unstable-preview-types/-private/debug/utils.d.ts.map +0 -1
  35. package/unstable-preview-types/-private/document.d.ts +0 -149
  36. package/unstable-preview-types/-private/document.d.ts.map +0 -1
  37. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts +0 -166
  38. package/unstable-preview-types/-private/legacy-model-support/record-reference.d.ts.map +0 -1
  39. package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts +0 -19
  40. package/unstable-preview-types/-private/legacy-model-support/shim-model-class.d.ts.map +0 -1
  41. package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts +0 -28
  42. package/unstable-preview-types/-private/managers/cache-capabilities-manager.d.ts.map +0 -1
  43. package/unstable-preview-types/-private/managers/cache-manager.d.ts +0 -430
  44. package/unstable-preview-types/-private/managers/cache-manager.d.ts.map +0 -1
  45. package/unstable-preview-types/-private/managers/notification-manager.d.ts +0 -95
  46. package/unstable-preview-types/-private/managers/notification-manager.d.ts.map +0 -1
  47. package/unstable-preview-types/-private/managers/record-array-manager.d.ts +0 -100
  48. package/unstable-preview-types/-private/managers/record-array-manager.d.ts.map +0 -1
  49. package/unstable-preview-types/-private/network/request-cache.d.ts +0 -106
  50. package/unstable-preview-types/-private/network/request-cache.d.ts.map +0 -1
  51. package/unstable-preview-types/-private/new-core-tmp/promise-state.d.ts +0 -257
  52. package/unstable-preview-types/-private/new-core-tmp/promise-state.d.ts.map +0 -1
  53. package/unstable-preview-types/-private/new-core-tmp/reactivity/configure.d.ts +0 -91
  54. package/unstable-preview-types/-private/new-core-tmp/reactivity/configure.d.ts.map +0 -1
  55. package/unstable-preview-types/-private/new-core-tmp/reactivity/internal.d.ts +0 -172
  56. package/unstable-preview-types/-private/new-core-tmp/reactivity/internal.d.ts.map +0 -1
  57. package/unstable-preview-types/-private/new-core-tmp/reactivity/signal.d.ts +0 -32
  58. package/unstable-preview-types/-private/new-core-tmp/reactivity/signal.d.ts.map +0 -1
  59. package/unstable-preview-types/-private/new-core-tmp/request-state.d.ts +0 -256
  60. package/unstable-preview-types/-private/new-core-tmp/request-state.d.ts.map +0 -1
  61. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts +0 -143
  62. package/unstable-preview-types/-private/record-arrays/identifier-array.d.ts.map +0 -1
  63. package/unstable-preview-types/-private/record-arrays/many-array.d.ts +0 -202
  64. package/unstable-preview-types/-private/record-arrays/many-array.d.ts.map +0 -1
  65. package/unstable-preview-types/-private/record-arrays/native-proxy-type-fix.d.ts +0 -118
  66. package/unstable-preview-types/-private/record-arrays/native-proxy-type-fix.d.ts.map +0 -1
  67. package/unstable-preview-types/-private/store-service.d.ts +0 -1597
  68. package/unstable-preview-types/-private/store-service.d.ts.map +0 -1
  69. package/unstable-preview-types/-private/store-service.type-test.d.ts +0 -4
  70. package/unstable-preview-types/-private/store-service.type-test.d.ts.map +0 -1
  71. package/unstable-preview-types/-private/utils/coerce-id.d.ts +0 -7
  72. package/unstable-preview-types/-private/utils/coerce-id.d.ts.map +0 -1
  73. package/unstable-preview-types/-private/utils/construct-resource.d.ts +0 -9
  74. package/unstable-preview-types/-private/utils/construct-resource.d.ts.map +0 -1
  75. package/unstable-preview-types/-private/utils/is-non-empty-string.d.ts +0 -4
  76. package/unstable-preview-types/-private/utils/is-non-empty-string.d.ts.map +0 -1
  77. package/unstable-preview-types/-private/utils/normalize-model-name.d.ts +0 -4
  78. package/unstable-preview-types/-private/utils/normalize-model-name.d.ts.map +0 -1
  79. package/unstable-preview-types/-private/utils/uuid-polyfill.d.ts +0 -4
  80. package/unstable-preview-types/-private/utils/uuid-polyfill.d.ts.map +0 -1
  81. package/unstable-preview-types/-private.d.ts.map +0 -1
  82. package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts +0 -102
  83. package/unstable-preview-types/-types/q/cache-capabilities-manager.d.ts.map +0 -1
  84. package/unstable-preview-types/-types/q/ds-model.d.ts +0 -24
  85. package/unstable-preview-types/-types/q/ds-model.d.ts.map +0 -1
  86. package/unstable-preview-types/-types/q/identifier.d.ts +0 -175
  87. package/unstable-preview-types/-types/q/identifier.d.ts.map +0 -1
  88. package/unstable-preview-types/-types/q/promise-proxies.d.ts +0 -4
  89. package/unstable-preview-types/-types/q/promise-proxies.d.ts.map +0 -1
  90. package/unstable-preview-types/-types/q/record-data-json-api.d.ts +0 -33
  91. package/unstable-preview-types/-types/q/record-data-json-api.d.ts.map +0 -1
  92. package/unstable-preview-types/-types/q/record-instance.d.ts +0 -24
  93. package/unstable-preview-types/-types/q/record-instance.d.ts.map +0 -1
  94. package/unstable-preview-types/-types/q/schema-service.d.ts +0 -334
  95. package/unstable-preview-types/-types/q/schema-service.d.ts.map +0 -1
  96. package/unstable-preview-types/-types/q/store.d.ts +0 -37
  97. package/unstable-preview-types/-types/q/store.d.ts.map +0 -1
  98. package/unstable-preview-types/configure.d.ts.map +0 -1
  99. package/unstable-preview-types/index.d.ts.map +0 -1
  100. package/unstable-preview-types/types.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;IAExD;;;;;;OAMG;IACH,GAAG,CAA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