@warp-drive/ember 5.7.0-alpha.16 → 5.7.0-alpha.18

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.
@@ -25,7 +25,6 @@ type AutorefreshBehaviorCombos = boolean | AutorefreshBehaviorType | `${Autorefr
25
25
  }
26
26
  interface RequestSignature<
27
27
  RT,
28
- T,
29
28
  E
30
29
  > {
31
30
  Args: {
@@ -39,7 +38,7 @@ interface RequestSignature<
39
38
  * passed to `store.request`. Use this in place of `@request` if you would
40
39
  * like the component to also initiate the request.
41
40
  *
42
- */ query?: StoreRequestInput<RT, T>;
41
+ */ query?: StoreRequestInput<RT>;
43
42
  /**
44
43
  * The store instance to use for making requests. If contexts are available,
45
44
  * the component will default to using the `store` on the context.
@@ -108,7 +107,7 @@ interface RequestSignature<
108
107
  * The block to render when the request succeeded.
109
108
  *
110
109
  */ content: [value: RT, features: ContentFeatures<RT>];
111
- always: [state: RequestState<RT, T, StructuredErrorDocument<E>>];
110
+ always: [state: RequestState<RT, StructuredErrorDocument<E>>];
112
111
  };
113
112
  }
114
113
  /**
@@ -329,9 +328,8 @@ interface RequestSignature<
329
328
  * @public
330
329
  */ export declare class Request<
331
330
  RT,
332
- T,
333
331
  E
334
- > extends Component<RequestSignature<RT, T, E>> {
332
+ > extends Component<RequestSignature<RT, E>> {
335
333
  /**
336
334
  * The store instance to use for making requests. If contexts are available, this
337
335
  * will be the `store` on the context, else it will be the store service.
@@ -339,8 +337,8 @@ interface RequestSignature<
339
337
  * @internal
340
338
  */ _store: Store;
341
339
  get store(): Store;
342
- _state: RequestSubscription<RT, T, E> | null;
343
- get state(): RequestSubscription<RT, T, E>;
340
+ _state: RequestSubscription<RT, E> | null;
341
+ get state(): RequestSubscription<RT, E>;
344
342
  willDestroy(): void;
345
343
  }
346
344
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@warp-drive/ember",
3
3
  "description": "Data bindings and utilities for Ember applications using WarpDrive",
4
- "version": "5.7.0-alpha.16",
4
+ "version": "5.7.0-alpha.18",
5
5
  "license": "MIT",
6
6
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
7
7
  "repository": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@embroider/macros": "^1.16.12",
41
- "@warp-drive/core": "5.7.0-alpha.16"
41
+ "@warp-drive/core": "5.7.0-alpha.18"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "ember-provide-consume-context": {
@@ -60,8 +60,8 @@
60
60
  "@embroider/addon-dev": "^7.1.3",
61
61
  "@ember/test-helpers": "5.2.0",
62
62
  "@ember/test-waiters": "^4.1.0",
63
- "@warp-drive/internal-config": "5.7.0-alpha.16",
64
- "@warp-drive/core": "5.7.0-alpha.16",
63
+ "@warp-drive/internal-config": "5.7.0-alpha.18",
64
+ "@warp-drive/core": "5.7.0-alpha.18",
65
65
  "babel-plugin-ember-template-compilation": "^2.4.1",
66
66
  "ember-template-imports": "^4.3.0",
67
67
  "ember-source": "~6.3.0",