@ember-data-mirror/request 5.6.0-alpha.3 → 5.6.0-alpha.5
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.
- package/dist/fetch.js +1 -184
- package/dist/fetch.js.map +1 -1
- package/dist/index.js +2 -689
- package/dist/index.js.map +1 -1
- package/package.json +4 -8
- package/unstable-preview-types/fetch.d.ts +2 -19
- package/unstable-preview-types/fetch.d.ts.map +1 -1
- package/unstable-preview-types/index.d.ts +430 -13
- package/unstable-preview-types/index.d.ts.map +1 -1
- package/dist/debug-CyVgT8K4.js +0 -636
- package/dist/debug-CyVgT8K4.js.map +0 -1
- package/unstable-preview-types/-private/context.d.ts +0 -44
- package/unstable-preview-types/-private/context.d.ts.map +0 -1
- package/unstable-preview-types/-private/debug.d.ts +0 -7
- package/unstable-preview-types/-private/debug.d.ts.map +0 -1
- package/unstable-preview-types/-private/future.d.ts +0 -10
- package/unstable-preview-types/-private/future.d.ts.map +0 -1
- package/unstable-preview-types/-private/manager.d.ts +0 -140
- package/unstable-preview-types/-private/manager.d.ts.map +0 -1
- package/unstable-preview-types/-private/promise-cache.d.ts +0 -22
- package/unstable-preview-types/-private/promise-cache.d.ts.map +0 -1
- package/unstable-preview-types/-private/types.d.ts +0 -246
- package/unstable-preview-types/-private/types.d.ts.map +0 -1
- package/unstable-preview-types/-private/utils.d.ts +0 -18
- package/unstable-preview-types/-private/utils.d.ts.map +0 -1
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare module '@ember-data-mirror/request/-private/utils' {
|
|
2
|
-
import type { RequestInfo, StructuredDataDocument } from '@warp-drive-mirror/core-types/request';
|
|
3
|
-
import { ContextOwner } from '@ember-data-mirror/request/-private/context';
|
|
4
|
-
import type { DeferredFuture, Future, GodContext, Handler } from '@ember-data-mirror/request/-private/types';
|
|
5
|
-
export const IS_CACHE_HANDLER: "___(unique) Symbol(IS_CACHE_HANDLER)";
|
|
6
|
-
export function curryFuture<T>(owner: ContextOwner, inbound: Future<T>, outbound: DeferredFuture<T>): Future<T>;
|
|
7
|
-
export interface HttpErrorProps extends DOMException {
|
|
8
|
-
code: number;
|
|
9
|
-
name: string;
|
|
10
|
-
status: number;
|
|
11
|
-
statusText: string;
|
|
12
|
-
isRequestError: boolean;
|
|
13
|
-
}
|
|
14
|
-
export function enhanceReason(reason?: string): DOMException;
|
|
15
|
-
export function handleOutcome<T>(owner: ContextOwner, inbound: Promise<T | StructuredDataDocument<T>>, outbound: DeferredFuture<T>): Future<T>;
|
|
16
|
-
export function executeNextHandler<T>(wares: Readonly<Handler[]>, request: RequestInfo, i: number, god: GodContext): Future<T>;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/-private/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,sBAAsB,EAGvB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAW,YAAY,EAAE,MAAM,WAAW,CAAC;AAIlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAE3E,eAAO,MAAM,gBAAgB,wCAAiE,CAAC;AAC/F,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAuC9G;AA4BD,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM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