nats.js icon indicating copy to clipboard operation
nats.js copied to clipboard

Export StorageType from `@nats-io/obj`

Open nounder opened this issue 6 months ago • 2 comments

Proposed change

Export StorageType found in @nats-io/jetstream in @nats-io/obj

Use case

Creating a bucket with custom storage uses (objm.create("myobj", { storage: StorageType.File })) enum from jetstream requiring user to individually add both obj and jetstream packages to pkg manager.

Contribution

With pleasure. Is this a change core contributors would be interested in reviwing?

nounder avatar Aug 20 '24 23:08 nounder