@warp-drive-mirror/experiments 5.10.0-alpha.13 → 5.10.0-alpha.14
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/data-worker.d.ts +5 -0
- package/dist/data-worker.d.ts.map +1 -1
- package/dist/document-storage.d.ts +5 -0
- package/dist/image-fetch.d.ts +7 -0
- package/dist/image-fetch.d.ts.map +1 -1
- package/dist/image-worker.d.ts +6 -0
- package/dist/image-worker.d.ts.map +1 -1
- package/dist/pagination.d.ts +16 -0
- package/dist/storage.d.ts +5 -0
- package/dist/storage.d.ts.map +1 -1
- package/dist/worker-fetch.d.ts +6 -0
- package/dist/worker-fetch.d.ts.map +1 -1
- package/logos/README.md +1 -1
- package/package.json +6 -6
package/dist/data-worker.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module
|
|
3
|
+
* @summary Experimental `DataWorker`, which runs a store inside a Worker or SharedWorker, and the `CacheHandler` it
|
|
4
|
+
* uses to serve requests from its in-memory or persisted cache.
|
|
5
|
+
*/
|
|
1
6
|
import { t as DocumentStorage } from "./document-storage-CxgHVe4i.js";
|
|
2
7
|
import { n as RequestEventData, t as AbortEventData } from "./types-CRs-Qww6.js";
|
|
3
8
|
import { CacheHandler as CacheHandler$1, Future } from "@warp-drive-mirror/core/request";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-worker.d.ts","names":["CacheHandlerType"],"sources":["../src/data-worker/worker.ts","../src/data-worker/cache-handler.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-worker.d.ts","names":["CacheHandlerType"],"sources":["../src/data-worker/worker.ts","../src/data-worker/cache-handler.ts"],"mappings":";;;;;;;;;;qBASa;EACX,OAAe;EACf,SAAiB,YAAY;EAC7B,SAAiB,YAAY,YAAY;EACzC;EACA;IAAmB;IAAoB;;EACvC,SAAiB;EAEjB,YAAY,kBAAkB,OAAO;IAAY;IAAoB;;EAarE;EAkCA,YAAY,gBAAgB,MAAM;EAqBlC,aAAa,OAAO;EAUpB,QAAc,OAAO,mBAAmB;;;;;;;;;;;qBCjE7B,cAAcA"}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module
|
|
3
|
+
* @summary Experimental `DocumentStorage`, a persistent store for request documents and their resources backed by the
|
|
4
|
+
* Origin Private File System and synced across tabs.
|
|
5
|
+
*/
|
|
1
6
|
import { t as DocumentStorage } from "./document-storage-CxgHVe4i.js";
|
|
2
7
|
export { DocumentStorage };
|
package/dist/image-fetch.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* {@include ./image-worker.md}
|
|
3
|
+
*
|
|
4
|
+
* @summary Experimental main-thread client for loading images through an `ImageWorker` running in a SharedWorker.
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
1
7
|
import { Deferred } from "@warp-drive-mirror/core/request";
|
|
2
8
|
//#region src/image-worker/types.d.ts
|
|
3
9
|
/** Sent by {@link ImageFetch} to request that an image url be loaded. */
|
|
@@ -58,4 +64,5 @@ export declare class ImageFetch {
|
|
|
58
64
|
load(url: string): Promise<string>;
|
|
59
65
|
}
|
|
60
66
|
//#endregion
|
|
67
|
+
export {};
|
|
61
68
|
//# sourceMappingURL=image-fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-fetch.d.ts","names":[],"sources":["../src/image-worker/types.ts","../src/image-worker/fetch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"image-fetch.d.ts","names":[],"sources":["../src/image-worker/types.ts","../src/image-worker/fetch.ts"],"mappings":";;;;;;;;;KA8BY;EACV;EACA;EACA;;;;;;;;;;;;;;;;;;;qBCAW;EACX,QAAgB,SAAS;EACzB;EACA,SAAiB,YAAY;EAC7B,SAAiB;EACjB,OAAe;;;;;;EAOf,YAAY,QAAQ,SAAS;EA0C7B,eAAe,cAAc;EAO7B,MAAM,OAAO;;;;;;;;;;;;;;;;;;;EAuBb,KAAK,cAAc"}
|
package/dist/image-worker.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* {@include ./image-worker.md}
|
|
3
|
+
*
|
|
4
|
+
* @summary Experimental worker-side image loader that fetches and caches images for main-thread `ImageFetch` clients.
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
1
7
|
//#region src/image-worker/worker.d.ts
|
|
2
8
|
/**
|
|
3
9
|
* Runs inside a `Worker` or `SharedWorker` to fetch images on behalf of
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-worker.d.ts","names":[],"sources":["../src/image-worker/worker.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"image-worker.d.ts","names":[],"sources":["../src/image-worker/worker.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAiCa;UACK;UACA;UACA;UACA;UACA;;;;EAKhB,YAAY;IAAY;;UAahB;UAsBA;UA4BA;UAiBM"}
|
package/dist/pagination.d.ts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Experimental reactive pagination primitives.
|
|
3
|
+
*
|
|
4
|
+
* The implementation lives in `@warp-drive-mirror/core` alongside the other
|
|
5
|
+
* signal-based subscriptions, but the API is still experimental and is
|
|
6
|
+
* only published from this package. The Ember components that build on
|
|
7
|
+
* it, `<Paginate />` and `<EachLink />`, are published from
|
|
8
|
+
* `@warp-drive-mirror/ember/experiments`.
|
|
9
|
+
*
|
|
10
|
+
* See the [Pagination guide](/guides/the-manual/experiments/pagination) for
|
|
11
|
+
* an introduction.
|
|
12
|
+
*
|
|
13
|
+
* @summary Experimental reactive pagination primitives for tracking page state, links, and caches across paginated
|
|
14
|
+
* requests.
|
|
15
|
+
* @module
|
|
16
|
+
*/
|
|
1
17
|
import { InfinitePaginationContentFeatures, InfinitePaginationState, PageCache, PageHints, PagedPaginationContentFeatures, PagedPaginationState, PaginateArgs, PaginateMode, PaginationCache, PaginationContentFeatures, PaginationContentFeaturesFor, PaginationLink, PaginationLinks, PaginationLinksSubscription, PaginationState, PaginationStateFor, PaginationSubscription, PlaceholderPaginationLink, RealPaginationLink, RelationalPaginationLink, SharedPaginationContentFeatures, SharedPaginationState, clearPaginationCache, createPaginationLinksSubscription, createPaginationSubscription, defaultPageHints, getPaginationCache, getPaginationLinks, getPaginationState } from "@warp-drive-mirror/core/signals/-leaked";
|
|
2
18
|
export { type InfinitePaginationContentFeatures, type InfinitePaginationState, type PageCache, type PageHints, type PagedPaginationContentFeatures, type PagedPaginationState, type PaginateArgs, type PaginateMode, type PaginationCache, type PaginationContentFeatures, type PaginationContentFeaturesFor, type PaginationLink, type PaginationLinks, type PaginationLinksSubscription, type PaginationState, type PaginationStateFor, type PaginationSubscription, type PlaceholderPaginationLink, type RealPaginationLink, type RelationalPaginationLink, type SharedPaginationContentFeatures, type SharedPaginationState, clearPaginationCache, createPaginationLinksSubscription, createPaginationSubscription, defaultPageHints, getPaginationCache, getPaginationLinks, getPaginationState };
|
package/dist/storage.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module
|
|
3
|
+
* @summary Experimental reactive wrappers over localStorage, sessionStorage and the Cache API, with decorators such as
|
|
4
|
+
* `LocalResource` and `param` that bind class fields to storage or query params.
|
|
5
|
+
*/
|
|
1
6
|
//#region src/storage/cache.d.ts
|
|
2
7
|
export declare const DEFAULT_CACHE_ID = "reactive-cache";
|
|
3
8
|
export interface InternalCacheStorageEvent {
|
package/dist/storage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","names":[],"sources":["../src/storage/cache.ts","../src/storage/storage.ts","../src/storage/query-params.ts","../src/storage/-private/storage-infra.ts","../src/storage/storage-resource.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"storage.d.ts","names":[],"sources":["../src/storage/cache.ts","../src/storage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;EACA,eAAe;EACf,QAAQ,qBAAqB,QAAQ;EACrC,cAAc;EACd,cAAc,YAAY;EAC1B;EACA,WAAW,gBAAgB;;;;;;;;;;;;;;KAgBjB,SAAS;;;;;;;iBAaL,SAAS,iBAAiB;iBAsG1B,iBAAiB,kBAAkB;;;;;;;;;;;;;;;;;;;iBAgNnC,kBAAkB,kBAAkB,kBAAkB;;;;;;;;;;;;;;;;;;;;wBCjVtD,cAAc,aAAa,QAAQ;;;;;;;;;;;;;;;;;;wBAqBnC,gBAAgB,aAAa,QAAQ;;;;;;;;;;;;;;;;;;;;;;;wBA0BrC,cAAc,aAAa,OAAO,4BAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAqCpE,MAAM,sCAAsC;wBAC5C,MAAM,gBAAgB,aAAa,aAAa;wBAgBhD,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuF7C,OAAO,KAAK,GAAG,QAAQ,gBAAgB,aAAa,6BAA6B"}
|
package/dist/worker-fetch.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module
|
|
3
|
+
* @summary Experimental `WorkerFetch` request handler that sends requests from the main thread to a `DataWorker` and
|
|
4
|
+
* settles them with its responses.
|
|
5
|
+
*/
|
|
1
6
|
import { n as RequestEventData, t as AbortEventData } from "./types-CRs-Qww6.js";
|
|
2
7
|
import { Context, Deferred, Future, NextFn } from "@warp-drive-mirror/core/request";
|
|
3
8
|
//#region src/data-worker/fetch.d.ts
|
|
@@ -19,4 +24,5 @@ export declare class WorkerFetch {
|
|
|
19
24
|
request<T>(context: Context, next: NextFn<T>): Promise<T> | Future<T>;
|
|
20
25
|
}
|
|
21
26
|
//#endregion
|
|
27
|
+
export {};
|
|
22
28
|
//# sourceMappingURL=worker-fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-fetch.d.ts","names":[],"sources":["../src/data-worker/fetch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"worker-fetch.d.ts","names":[],"sources":["../src/data-worker/fetch.ts"],"mappings":";;;;;;;;UAwCU;EACR,SAAS;EACT,QAAQ;EACR;EACA,UAAU;EACV;;qBAGW;EACX,QAAgB,SAAS;EACzB;EACA,SAAiB,YAAY;EAC7B,SAAiB;EAEjB,YAAY,QAAQ,SAAS;EAoD7B,eAAe,aAAa;EAW5B,KAAK,OAAO,mBAAmB;EAK/B,QAAQ,GAAG,SAAS,SAAS,MAAM,OAAO,KAAK,QAAQ,KAAK,OAAO"}
|
package/logos/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive-mirror/experiments",
|
|
3
3
|
"description": "Experimental WarpDrive features not yet through an RFC, one entry point each, including the SharedWorker-based `DataWorker` and `ImageWorker`, browser storage and reactive pagination.",
|
|
4
|
-
"version": "5.10.0-alpha.
|
|
4
|
+
"version": "5.10.0-alpha.14",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Chris Thoburn <runspired@users.noreply.github.com>",
|
|
7
7
|
"repository": {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"unpkg-dev": "./dist/unpkg/dev/pagination.js",
|
|
66
66
|
"unpkg-deprecated": "./dist/unpkg/prod-deprecated/pagination.js",
|
|
67
67
|
"unpkg": "./dist/unpkg/prod/pagination.js",
|
|
68
|
-
"types": "./
|
|
68
|
+
"types": "./dist/pagination.d.ts",
|
|
69
69
|
"default": "./dist/pagination.js"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
],
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"@sqlite.org/sqlite-wasm": "3.46.0-build2",
|
|
82
|
-
"@warp-drive-mirror/core": "5.10.0-alpha.
|
|
82
|
+
"@warp-drive-mirror/core": "5.10.0-alpha.14"
|
|
83
83
|
},
|
|
84
84
|
"peerDependenciesMeta": {
|
|
85
85
|
"@sqlite.org/sqlite-wasm": {
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
"@babel/preset-env": "^7.29.7",
|
|
96
96
|
"@babel/preset-typescript": "^7.29.7",
|
|
97
97
|
"@sqlite.org/sqlite-wasm": "3.46.0-build2",
|
|
98
|
-
"@warp-drive-mirror/core": "5.10.0-alpha.
|
|
99
|
-
"@warp-drive/internal-config": "5.10.0-alpha.
|
|
98
|
+
"@warp-drive-mirror/core": "5.10.0-alpha.14",
|
|
99
|
+
"@warp-drive/internal-config": "5.10.0-alpha.14",
|
|
100
100
|
"tsdown": "^0.23.0",
|
|
101
|
-
"typescript-7": "npm:typescript@7.1.0-dev.
|
|
101
|
+
"typescript-7": "npm:typescript@7.1.0-dev.20260929.1"
|
|
102
102
|
},
|
|
103
103
|
"keywords": [
|
|
104
104
|
"ember-addon"
|