Types

@system-inc/base-foundation · 515c140 · 6 symbols

CfContainerHandle: unknown

Members

  • binding: string

  • container: DurableObjectStub<Container<ContainerEnv>>

  • rpc: RpcClient<RpcInterface>

View source ↗

CfDurableObjectHandle: unknown

Members

  • binding: string

  • rpc: RpcClient<RpcInterface>

  • stub: DurableObjectStub<T>

View source ↗

The input for creating a durable object. It can be either an id or a name, but not both.

When id is specified this is assumed to be the actual 64 character id of the durable object, and will be converted to a DurableObjectId using the namespace's idFromString method.

When name is specified, the namespace's idFromName method will be used to generate the DurableObjectId.

CfDurableObjectInput: RequireOnlyOne<{ id: string; name: string }, "id" | "name">

View source ↗

KeyValueListResult: { cacheStatus: string | null; cursor: string; hasMore: true; keys: KeyType[] } | { cacheStatus: string | null; hasMore: false; keys: KeyType[] }

View source ↗

A bucket configuration. Public buckets require a domain map; private buckets must not have one.

ObjectStoreBucket: PublicObjectStoreBucket | PrivateObjectStoreBucket

View source ↗

StorageValueSupportedTypes: string | object

View source ↗