cf-nix-cache 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -1,15 +1,16 @@
1
1
  # `cf-nix-cache`
2
2
 
3
- This package contains the compiled Worker runtime used by the public
4
- `cf-nix-cache-template`. It is intentionally separate from the development
5
- monorepo: customers upgrade this package, while their Wrangler configuration,
6
- resource names, scaling, placement, routes, and observability settings remain
7
- owned by their deployment repository.
3
+ This package is the cf-nix-cache Worker. Its source lives here; the published
4
+ package contains only the compiled bundle used by the public
5
+ `cf-nix-cache-template`. Customers upgrade this package, while their Wrangler
6
+ configuration, resource names, scaling, placement, routes, and observability
7
+ settings remain owned by their deployment repository.
8
8
 
9
9
  Every published version includes `release-manifest.json`. The manifest pins
10
10
  the matching processor to an immutable `linux/amd64` image digest so a package
11
11
  upgrade cannot accidentally deploy a different container.
12
12
 
13
13
  `releaseReady` is set to `false` by the Changesets version step and becomes
14
- `true` only in the reviewed digest-pinning PR. Publication workflows must
14
+ `true` once the Release PR job has published the processor image and pinned
15
+ its digest. Publication workflows must
15
16
  reject manifests that have not been finalized.
package/dist/index.d.ts CHANGED
@@ -1,2 +1,14 @@
1
- export { default } from './index.js';
2
- export * from './index.js';
1
+ declare const worker: {
2
+ fetch(request: Request, env: unknown, ctx: unknown): Promise<Response>;
3
+ };
4
+ export default worker;
5
+ export declare class AuditLog {}
6
+ export declare class CacheCoordinator {}
7
+ export declare class CacheIndexShard {}
8
+ export declare class ContainerProxy {}
9
+ export declare class DeleteCacheWorkflow {}
10
+ export declare class ProcessorContainer {}
11
+ export declare class ProcessUploadWorkflow {}
12
+ export declare class SystemControl {}
13
+ export declare class TokenCatalog {}
14
+ export declare class UploadJob {}