GregBrimble/cf-workers-dashboard

View on GitHub
packages/server/src/datastores/CloudflareDatastore.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { CloudflareWorkersKVDatastore } from "@kv-orm/cf-workers";

export const CloudflareDatastore = new CloudflareWorkersKVDatastore(
  CLOUDFLARE,
  {
    // optionsGenerator: (key, value) => {
    //   return {
    //     expirationTtl: 120,
    //   };
    // },
  }
);